Sphinx Error Unknow directive type "automodule" or "autoclass"
- by user1130381
I need document my python project using Sphinx. But I can't use autodoc.
When I config my project I select the option "extension autodoc", but now if I use .. autoclass:: Class, I have a ERROR:
ERROR: Unknown directive type "autoclass"
I configure the PYTHONPATH, and now it's good. But I already have this problem.
My index file is:
.. ATOM documentation master file, created by
sphinx-quickstart on Thu Nov 22 15:24:42 2012.
You can adapt this file completely to your liking, but it should at least
contain the root toctree directive.
Welcome to ATOM's documentation!
Contents:
.. toctree::
:maxdepth: 2
.. automodule:: atom
Indices and tables
:ref:genindex
:ref:modindex
:ref:search
Thank you, I need that someone say me how I find the problem, or how i can fix this!
Sorry for my English, I start now to learn English.