Skip to content

Warning, treated as error: node class 'meta' is already registered, its visitors will be overridden #9841

Closed

Description

@nomathx

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

  • :ref:genindex
  • :ref:modindex
  • :ref:search

Activity

  1. tk0miya commented on Nov 11, 2021

    @tk0miya
    Member

    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.
    Thanks,

  2. eviljeff commented on Nov 17, 2021

    @eviljeff

    Could you check the version of docutils, please? If you're using docutils-0.18, please upgrade your Sphinx ...

    @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

  3. tk0miya commented on Nov 17, 2021

    @tk0miya
    Member

    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.

  4. added a commit that references this issue on Dec 9, 2021
  5. locked as resolved and limited conversation to collaborators on Jan 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions