diff options
| author | Anderson Bravalheri <andersonbravalheri@gmail.com> | 2022-06-12 12:32:31 +0100 |
|---|---|---|
| committer | Anderson Bravalheri <andersonbravalheri@gmail.com> | 2022-06-12 12:59:01 +0100 |
| commit | 8e72d24832c9c94108e404d368ee09685630cbe8 (patch) | |
| tree | 68be98ebf0c081da188f88fb9ff586ec6147c7ea /docs/conf.py | |
| parent | 471fd706d0a20d24ff8a2fd146eb0bb647044933 (diff) | |
| download | python-setuptools-git-8e72d24832c9c94108e404d368ee09685630cbe8.tar.gz | |
Improve docs by avoiding confusion with distutils
The existing docs seem to assume that the user is familiar with the
history of packaging in the Python ecosystem (or at least know what is
`distutils`).
Since that is not always the case and that `distutils` is in the process
of being adopted by `setuptools`, the documentation should be changed
to minimize mentions to `distutils` and avoid expecting too much
knowledge from the users.
The benefit of this approach is that it can make the docs more
accessible and easier to understand.
Changes:
- Modify landing page to clarify what `setuptools` does (making it more
clear to understand for beginners).
- Remove mentions to `distutils`, `transition to PEP 517` from
`userguide/index`.
- Instead the text is changed to have a more "introductory" tone.
- Remove mentions to `distutils` from the Quickstart.
- Remove `python2` from the intersphinx mapping - it was causing trouble
redirecting glossary terms to Python2 docs, instead of Python3.
- Modify documentation about development mode to be more aligned with
current practices (i.e. using `pip install -e .`)
- In this process all documentation about running `setuptools` commands
in `distutils` projects was moved to a new file in `docs/deprecated/running_commands.rst`
Diffstat (limited to 'docs/conf.py')
| -rw-r--r-- | docs/conf.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/docs/conf.py b/docs/conf.py index 90286916..39fffceb 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -178,7 +178,6 @@ nitpick_ignore = [ # Allow linking objects on other Sphinx sites seamlessly: intersphinx_mapping.update( - python2=('https://docs.python.org/2', None), python=('https://docs.python.org/3', None), ) |
