Aber scheinbar verstehe ich an dem sphinx-Konzept selbst etwas falsch.
In meinem Ergebnis (html) sehe ich zwar die Klassen bzw. Module, jedoch diese ohne Inhalt. Keine Methoden, keine Member, nix. Hab hier auch mal eine Testklasse "foo" mit eingebaut, aus der offiziellen sphinx-docu.
Code: Alles auswählen
class Foo:
"""Docstring for class Foo."""
#: Doc comment for class attribute Foo.bar.
#: It can have multiple lines.
bar = 1
flox = 1.5 #: Doc comment for Foo.flox. One line only.
baz = 2
"""Docstring for class attribute Foo.baz."""
def __init__(self):
#: Doc comment for instance attribute qux.
self.qux = 3
self.spam = 4
"""Docstring for instance attribute spam."""Code: Alles auswählen
#!/bin/bash
rm -r ./doc
sphinx-apidoc -F -o doc/src .
sphinx-build -b html doc/src doc
/usr/bin/x-www-browser doc/index.html &Code: Alles auswählen
user@MONSTER:~/share/work/Project$ cat doc/src/conf.py | grep ext.autodoc
'sphinx.ext.autodoc',