This is the usual way to use coverage.
1. include sphinx.ext.coverage in extensions in conf.py
2. adjust your path in conf.py so that your module is in the system
path. If your documentation lives in yourmodule/doc try this:
sys.path.insert(0, os.path.abspath('..'))
3. in your rst-file start the documentation of a module with the module
directive.
.. module:: mymodule
4. Call sphinx-build:
$ sphinx-build -b coverage sourcedir builddir
sourcedir is the root dir of your documentation. So if you call
sphinx-build from your root directory you can call it like this:
$ sphinx-build -b coverage . _build/coverage
HTH
juh
--
Software-Dokumentation mit Sphinx
http://www.amazon.de/dp/1497448689/
Paperback: 224 Seiten
--
You received this message because you are subscribed to the Google Groups
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/d/optout.