Structuring a repo for docs#
Root level of the repo#
docsdirectory : All source files for documentation go here.readthedocs.yml: configuration file for readthedocs to build using conda

Inside the docs directory#
sourcedirectory : contains all content source files in.rst,.md, or.ipynbmakefile: used by Sphinx to build the docsenvironment.yml: conda build instructions

Sphinx#
conf.py: Sphinx configuration fileindex.rstofcontents.rst: Sphinx master table of contents file_staticdirectory : contains images, drawings, icons_templatesdirectory: overrides theme templates and layoutsbuilddirectory : html files generated by Sphinx (do not check this directory into GitHub)