Search⌘ K
AI Features

Get More reST: Adding Files

Explore how to expand your Python project documentation using Sphinx by installing a Markdown parser and including additional files. Understand how to configure Sphinx extensions, manage source files within the docs directory, and effectively use symbolic links or file copying to integrate files like README.md, changelogs, and acknowledgments. This lesson helps you create comprehensive, navigable documentation that reflects your full project structure.

Installing Markdown parser

First, you will need to install the Markdown parser with the following command:

pipenv install --dev recommonmark

Note: It’s already installed here.

Then, modify the conf.py by adding recommonmark to the list of extensions. For example, you would change:

extensions =
...