Compile to HTML: Important Changes
Learn how to make HTML pages from .rst files
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, ../..
, to indicate that it should look to the parent directory of the parent directory rather than in the current directory.
Get hands-on with 1400+ tech skills courses.