Skip to content

"circular toctree references detected" warning raised with 1.6.0 #792

@ansbmartin

Description

@ansbmartin

🔍 Before submitting the issue

  • I have searched among the existing issues
  • I am using a Python virtual environment

🐞 Description of the bug

When running sphinx-build on a simple project (a master RST file with a toctree directive referencing another RST file), the following warning is raised:

WARNING: circular toctree references detected, ignoring: index <- index [toc.circular]

📝 Steps to reproduce

Note: the issue does occurs with ansys-sphinx-theme 1.6.0 but not with 1.5.3.

💻 Which operating system are you using?

Windows

📀 Which ANSYS version are you using?

ansys-sphinx-theme==1.6.0

🐍 Which Python version are you using?

3.13

📦 Installed packages

accessible-pygments==0.0.5
alabaster==1.0.0
ansys-sphinx-theme==1.6.0
babel==2.17.0
beautifulsoup4==4.13.4
certifi==2025.6.15
charset-normalizer==3.4.2
colorama==0.4.6
docutils==0.21.2
idna==3.10
imagesize==1.4.1
importlib_metadata==8.7.0
Jinja2==3.1.6
MarkupSafe==3.0.2
packaging==25.0
pdf2image==1.17.0
pillow==11.2.1
pydata-sphinx-theme==0.15.4
Pygments==2.19.2
PyYAML==6.0.2
requests==2.32.4
roman-numerals-py==3.1.0
snowballstemmer==3.0.1
soupsieve==2.7
Sphinx==8.2.3
sphinxcontrib-applehelp==2.0.0
sphinxcontrib-devhelp==2.0.0
sphinxcontrib-htmlhelp==2.1.0
sphinxcontrib-jsmath==1.0.1
sphinxcontrib-qthelp==2.0.0
sphinxcontrib-serializinghtml==2.0.0
typing_extensions==4.14.0
urllib3==2.5.0
zipp==3.23.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugDefects or glitches reported by users or developers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions