Documentation in Python with Sphinx
pip install -U Sphinx
Follow the steps of giving information as the installation proceeds when prompted for.
.rst file as yes
autodoc as yes
doctest as no or yes as you prefer
Once this process completes, the following structure shows up. Don’t worry if few more/less branching is seen by you. It depends on the info you have given when prompted at installation time.
Structure of generated files
index.rst.txt --> _static
You can start off by modifying index.rst.txt file
First one for heading and second one for subheading
You can go through official Sphinx documentation for further details