Issue #542 resolved

Support relative module location in autodoc

Domen Kožar
created an issue

would be really useful to do something like

.. automodule:: ..fabfile

That would pick from 2 directories upper than Sphinx source.

Comments (6)

  1. tpowers

    Can't you do that by adding '../..' to sys.path in

      sys.path.insert(0, os.path.abspath('../..'))

    Then you can just say:

      ..automodule:: fabfile
  2. Log in to comment