install mkdocs https://www.mkdocs.org/
pip install mkdocs # or use pip3 install if pip does not exist
pip install mkdocs-rtd-dropdown # install the rtd-dropdown theme
pip install mkdocs-jupyter # install the mkdocs-jupyter plugin
mkdocs serve # start the local server
Follow https://www.mkdocs.org/user-guide/writing-your-docs/ to write documentation