Generating Reference Documentation Using DocUtils
- Select DocUtil task run/debug configuration, and change it as required: specify the configuration name, input and output directories, and optional keys.
- Launch this run/debug configuration, as described in the section Running Applications.
Generating Reference Documentation Using Sphinx
- On the main menu, choose .
- If the Sphinx working directory is not specified in the Python Integrated Tools page,
the Set working directory dialog box opens, suggesting you to specify the path to the documentation.

Note
If the Sphinx working directory is specified in your project, this dialog will not appear.
- In the console that opens in PyCharm, answer the questions provided by the sphinx-quickstart
utility.
In particular, specify the source directory, where the generated conf.py file will be stored.
If, answering this question, you just press EnterEnter, PyCharm will use either
the path you've specified in the previous step, or the path specified in the Sphinx working directory field of the Python Integrated Tools page.
- Select Sphinx task run/debug configuration, and change it as required: specify the configuration name, input and output directories.
- Launch this run/debug configuration, as described in the section Running Applications.
