Move doc/changes to doc/changes/index

This commit is contained in:
Adam Turner 2024-07-30 18:49:50 +01:00
parent d77f637169
commit 0a5a96ca15
3 changed files with 3 additions and 2 deletions

View File

@ -17,4 +17,4 @@ Changelog
\makeatother \makeatother
.. include:: ../CHANGES.rst .. include:: ../../CHANGES.rst

View File

@ -300,6 +300,7 @@ def build_redirects(app: Sphinx, exception: Exception | None) -> None:
if exception is not None or app.builder.name != 'html': if exception is not None or app.builder.name != 'html':
return return
for page, rel_redirect in ( for page, rel_redirect in (
(('changes.html',), 'changes/index.html'),
(('development', 'overview.html'), 'index.html'), (('development', 'overview.html'), 'index.html'),
(('development', 'builders.html'), 'howtos/builders.html'), (('development', 'builders.html'), 'howtos/builders.html'),
(('development', 'theming.html'), 'html_themes/index.html'), (('development', 'theming.html'), 'html_themes/index.html'),

View File

@ -189,5 +189,5 @@ usecase-driven documentation, see :ref:`get-started` or :ref:`user-guides`.
usage/extensions/index usage/extensions/index
usage/restructuredtext/index usage/restructuredtext/index
glossary glossary
changes changes/index
examples examples