Hi, I recently tried Sphinx out and decided to use it to document my projects... when I tested Sphinx, I did it under cygwin with a native win32 python install. Everything worked fine (i.e. methods and docstrings are imported without issue) using rst like this...
<ch_03.rst> :mod:`ciscoconfparse` -- Parse Cisco IOS configurations ======================================================== .. automodule:: ciscoconfparse .. autoclass:: CiscoConfParse :members: find_all_children, find_blocks, find_children, find_lines, find_parents_w_child, find_parents_wo_child, req_cfgspec_all_diff, req_cfgspec_excl_diff .. autoclass:: CiscoPassword :members: </ch_03.rst> I started out by copying the text from cygwin into a text file in the sphinx dir... that bombed (see errors below)... then I scp the file from cygwin onto my debian machine with my svn repo... then issue "sphinx-build . doc" (same command used under cygwin) and I get the same errors... <errors> [mpenn...@tsunami sphinx-doc]$ sphinx-build . doc Running Sphinx v0.6.3 No builder selected, using default: html loading pickled environment... done building [html]: targets for 1 source files that are out of date updating environment: 0 added, 1 changed, 1 removed reading sources... [100%] ch_03 /home/mpenning/svnlocal/sphinx-doc/ch_03.rst:4: (ERROR/3) Unknown directive type "automodule". .. automodule:: ciscoconfparse /home/mpenning/svnlocal/sphinx-doc/ch_03.rst:6: (ERROR/3) Unknown directive type "autoclass". .. autoclass:: CiscoConfParse :members: find_all_children, find_blocks, find_children, find_lines, find_parents_w_child, find_parents_wo_child, req_cfgspec_all_diff, req_cfgspec_excl_diff /home/mpenning/svnlocal/sphinx-doc/ch_03.rst:9: (ERROR/3) Unknown directive type "autoclass". .. autoclass:: CiscoPassword :members: looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done writing output... [100%] index writing additional files... genindex search copying static files... done dumping search index... done dumping object inventory... done build succeeded, 3 warnings. [mpenn...@tsunami sphinx-doc]$ </errors> Does anyone have an idea of what could be going wrong? Thoughts? \m --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en -~----------~----~----~----~------~----~------~--~---
