As the OP is writing Python, they are probably using a tool called Sphinx, that formats a codebase's docstrings (inline comments for functions, classes and methods) into reST, html, and many others. A total life changer.
Yup. It's a bunch of docstrings and ReST docs and Jenkins fires off the Sphinx build to make beautiful HTML and PDF documentation every time anyone updates it.