PyCharm 2019.3 Help

Python External Documentation

File | Settings | Tools | Python External Documentation for Windows and Linux
PyCharm | Preferences | Tools | Python External Documentation for macOS
Ctrl+Alt+S the Settings/Preferences icon


Python External Documentation

To view external documentation, you need to configure the documentation URL first. PyCharm comes with the URLs for pandas, wx, kivy, PySide, PyQt5, PyQt4, matplotlib, pyramid, flask, and gtk. You can modify the predefined set of URLs or add a new one in the project Settings/Preferences.

Configuring Python external documentation

Refer to Configure External Documentation for more details.

Item

Description

Module Names

This column shows the names of the modules, whose documentation you want to have visible in browser on invoking View | External Documentation, or pressing Shift+F1, for example, pandas.

URL Pattern

This column shows existing patterns of the URLs to the external documentation, or its local address, for example, https://pandas.pydata.org/pandas-docs/stable/generated/{element.qname}.html

If external documentation resides locally, specify the local path to it .

the Add button

Click this button to add to the list a new module and its URL pattern or local address.

the Edit button

Click this button to change the name or URL pattern of the selected module.
Double-clicking an entry in the table produces same result.

the Remove button

Delete the selected module from the list.

Add/Edit Documentation URL

Item

Description

Module name

Type module name in the text field.

URL pattern

In this text field, create the desired pattern, using plain text and macros from the Available Macros field.

Modifying the URL for the matplotlib documentation

Note that each documentation module has its specific structure, so be careful when adding macros.

Insert

Click this button to add the selected macro to the pattern.

Last modified: 5 December 2019