Skip to content

Commit

Permalink
Move userguide/keywords to deprecated/changed_keyworkds
Browse files Browse the repository at this point in the history
  • Loading branch information
abravalheri committed May 6, 2022
1 parent 3a6b7be commit 094809b
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 2 deletions.
6 changes: 6 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,12 @@
},
}

# Redirect old docs so links and references in the ecosystem don't break
extensions += ['sphinx_reredirects']
redirects = {
"userguide/keywords": "/deprecated/changed_keywords.html",
}

# Add support for inline tabs
extensions += ['sphinx_inline_tabs']

Expand Down
File renamed without changes.
1 change: 1 addition & 0 deletions docs/deprecated/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ objectives.
.. toctree::
:maxdepth: 1

changed_keywords
python_eggs
easy_install
distutils/index
Expand Down
1 change: 0 additions & 1 deletion docs/userguide/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ quickstart provides an overview of the new workflow.
extension
declarative_config
pyproject_config
keywords
commands
functionalities_rewrite
miscellaneous
2 changes: 1 addition & 1 deletion docs/userguide/package_discovery.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Package Discovery and Namespace Package

.. note::
a full specification for the keyword supplied to ``setup.cfg`` or
``setup.py`` can be found at :doc:`keywords reference <keywords>`
``setup.py`` can be found at :doc:`keywords reference </references/keywords>`

.. note::
the examples provided here are only to demonstrate the functionality
Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ docs =
pygments-github-lexers==0.0.5
sphinx-favicon
sphinx-inline-tabs
sphinx-reredirects
sphinxcontrib-towncrier
furo

Expand Down

0 comments on commit 094809b

Please sign in to comment.