summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/conf.py13
-rw-r--r--docs/deprecated/commands.rst2
-rw-r--r--docs/userguide/quickstart.rst6
3 files changed, 17 insertions, 4 deletions
diff --git a/docs/conf.py b/docs/conf.py
index 3fedbbc4..9a4e33b7 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -102,6 +102,19 @@ intersphinx_mapping.update({
),
})
+# Support tooltips on references
+extensions += ['hoverxref.extension']
+hoverxref_auto_ref = True
+hoverxref_intersphinx = [
+ 'python',
+ 'pip',
+ 'build',
+ 'PyPUG',
+ 'packaging',
+ 'twine',
+ 'importlib-resources',
+]
+
# Add support for linking usernames
github_url = 'https://github.com'
github_repo_org = 'pypa'
diff --git a/docs/deprecated/commands.rst b/docs/deprecated/commands.rst
index ebd0687a..d9d97a9e 100644
--- a/docs/deprecated/commands.rst
+++ b/docs/deprecated/commands.rst
@@ -15,7 +15,7 @@ You could also run commands in other circumstances:
* ``setuptools`` projects without ``setup.py`` (e.g., ``setup.cfg``-only)::
- python -c "import setuptools; setup()" --help
+ python -c "from setuptools import setup; setup()" --help
* ``distutils`` projects (with a ``setup.py`` importing ``distutils``)::
diff --git a/docs/userguide/quickstart.rst b/docs/userguide/quickstart.rst
index 6c39c352..060288d8 100644
--- a/docs/userguide/quickstart.rst
+++ b/docs/userguide/quickstart.rst
@@ -118,7 +118,7 @@ distributing into something that looks like the following
mypackage
├── pyproject.toml
- | # setup.cfg or setup.py (depending on the confuguration method)
+ | # setup.cfg or setup.py (depending on the configuration method)
| # README.rst or README.md (a nice description of your package)
| # LICENCE (properly chosen license information, e.g. MIT, BSD-3, GPL-3, MPL-2, etc...)
└── mypackage
@@ -186,9 +186,9 @@ found, as shown in the example below:
.. code-block:: ini
[options]
- packages = find: # OR `find_namespaces:` if you want to use namespaces
+ packages = find: # OR `find_namespace:` if you want to use namespaces
- [options.packages.find] # (always `find` even if `find_namespaces:` was used before)
+ [options.packages.find] # (always `find` even if `find_namespace:` was used before)
# This section is optional
# Each entry in this section is optional, and if not specified, the default values are:
# `where=.`, `include=*` and `exclude=` (empty).