Previous topic

setupv2

Next topic

utils

This Page

phoenix_title sphinxΒΆ

Sphinx autodoc requires direct import of pubsub.pubsub1.pub. But in that case, the pub module no longer has access to sibbling modules from pubsub package. By adding ”..” to sys.path, “import something” in pubsub1/pub.py find the module in pubsub and sphinx autodoc works as expected.

This module should be used from sphinx’s conf.py.