-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Warning, treated as error: node class 'meta' is already registered, its visitors will be overridden #9841
Comments
Could you check the version of docutils, please? If you're using docutils-0.18, please upgrade your Sphinx or downgrade docutils to 0.17. |
@tk0miya I'm reading this as there is a more recent version of Sphinx that is compatible with docutils-0.18, but setup.py still specifies <0.18 |
Sorry for lack of my words. Yes, all of Sphinx does not support the latest docutils. So you need to downgrade it via 1) installing the latest Sphinx (it will downgrade docutils through its dependency), 2) downgrade docutils by your hand. |
Shpinx incorrectly claims it wants docutils >=0.18 but that is an error and older versions fail with that, as mentioned here: sphinx-doc/sphinx#9841 Additionally, the repo URL for OpenSUSE 15.3 python has changed. Change-Id: I9bee6cf3ad7aaba80a44f2bd2f917b16c776c0d7
Describe the bug
sphinx-build -W -b html -d /tmp/doctrees docs docs/html
Warning, treated as error:
node class 'meta' is already registered, its visitors will be overridden
How to Reproduce
build documentation
Expected behavior
No warning
Your project
source is not available
Screenshots
No response
OS
Centos7
Python version
Python 3.8
Sphinx version
sphinx==2.3.1
Sphinx extensions
Extra tools
No response
Additional context
index.rst:
Welcome to project's documentation!
.. toctree::
:maxdepth: 2
:caption: Contents:
syntax_introduction
Indices and tables
genindex
modindex
search
The text was updated successfully, but these errors were encountered: