Hi,
I'm trying to use autodoc with sphinx-build. It seems to work but I'm
getting a warning in the build output and I'm not sure if it's just
something that I should just ignore or not.
I have one file called api.rst that contains the following:
"""
API
===
.. automodule:: eventphys.solvers
:members:
"""
There are no other autodoc statements anywhere else but every time the
api.rst file is rebuilt I get the following:
$ make html
cd doc && make html
make[1]: Entering directory `q:/current/balls/doc'
sphinx-build -b html -d build/doctrees source build/html
Running Sphinx v1.1.3
loading pickled environment... done
building [html]: targets for 1 source files that are out of date
updating environment: 0 added, 1 changed, 0 removed
reading sources... [100%] api
q:\current\balls\doc\source\api.rst:2: SEVERE: Duplicate ID:
"module-eventphys.solvers".
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
writing output... [ 50%] api
writing output... [100%] index
writing additional files... (1 module code pages) _modules/index
genindex py-modindex search
copying static files... done
dumping search index... done
dumping object inventory... done
build succeeded, 1 warning.
Build finished. The HTML pages are in build/html.
make[1]: Leaving directory `q:/current/balls/doc'
Is the SEVERE warning something that I can just ignore?
I've tried make clean and it's the same. I've also tried using :noindex:
which stopped the warning but also stopped the links to the API items from
working.
Thanks,
Oscar.
--
You received this message because you are subscribed to the Google Groups
"sphinx-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
Visit this group at http://groups.google.com/group/sphinx-users?hl=en.