Documentation in Python with Sphinx

pip install -U Sphinx

Follow the steps of giving information as the installation proceeds when prompted for.

project name 
author name
project version
.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.

__pycache__ 
utils.cpython-36.pyc
_build
----> doctrees
environment.pickle
index.doctree
----> html
--> _sources
index.rst.txt
--> _static
genindex.html
index.html
objects.inv
search.html
searchindex.js
_static
_templates

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

Consultant