You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.. Test documentation master file, created by sphinx-quickstart on Fri Jan 29 15:53:41 2021. You can adapt this file completely to your liking, but it should at least contain the root `toctree` directive.
Welcome to Test's documentation!
================================
.. toctree::
:maxdepth:2:caption:Contents::glob::hidden:*/*
Todos
=====
.. todolist::
Indices and tables
==================
* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
source/folder1/file1.rst contains:
Title 1
=======
.. todo:: See :doc:`Title 2 </folder2/file2>`
source/folder2/file2.rst contains:
Title 2
=======
After a make html:
the todo in build/html/folder1/file1.html contains the (right) link .../build/html/folder2/file2.html,
the todo in build/html/index.html contains the (wrong) link ..../build/folder2/file2.html.
To Reproduce
See the joined minimal project.
Expected behavior
Todos in list of todos should contain right links to documents.
Describe the bug
Suppose the following minimal structure:
where:
source/conf.py
contains:source/index.rst
contains:source/folder1/file1.rst
contains:source/folder2/file2.rst
contains:Title 2 =======
After a
make html
:build/html/folder1/file1.html
contains the (right) link.../build/html/folder2/file2.html
,build/html/index.html
contains the (wrong) link..../build/folder2/file2.html
.To Reproduce
See the joined minimal project.
Expected behavior
Todos in list of todos should contain right links to documents.
Your project
test-3.4.3.tar.gz
Environment info
sphinx.ext.todo
The text was updated successfully, but these errors were encountered: