How does find modules to document?

My understanding of Sphinx and is that in order for Sphinx to find modules to document, the locations of those modules must be on sys.path, but when I run, Sphinx finds my modules even when the directory containing them is not on sys.path.

How is doing this? Do I still need to extend sys.path to include the module source directories if I want my to be portable (e.g., to run outside of PyCharm using sphinx-build)?

Please sign in to leave a comment.