Compile to HTML: Important Changes
Explore how to document Python projects with Sphinx by setting up the conf.py file to locate source code and organizing documentation in index.rst. Learn to use directives like automodule to include class and function docs, and structure your documentation effectively.
We'll cover the following...
We'll cover the following...
Changes in conf.py
The index.rst is the main file, the top-level file in the hierarchy. We will add to it shortly. First, we need to point Sphinx to the actual source code directory. In source/conf.py, uncomment the three lines in the Path setup section and change the single-dot to two consecutive double-dots, that is, ...