diff --git a/.readthedocs.yaml b/.readthedocs.yaml new file mode 100644 index 0000000000..18446ba48b --- /dev/null +++ b/.readthedocs.yaml @@ -0,0 +1,12 @@ +# Read the Docs configuration file +# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details + +version: 2 + +sphinx: + configuration: source/conf.py + +python: + version: 3.8 + install: + - requirements: requirements.txt diff --git a/requirements.txt b/requirements.txt index 5975218a20..b06c277922 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ sphinx==3.2.0 sphinx-autobuild==0.7.1 -sphinx-inline-tabs==2021.3.19b5 +sphinx-inline-tabs==2021.4.11b9 git+https://github.com/python/python-docs-theme.git#egg=python-docs-theme git+https://github.com/pypa/pypa-docs-theme.git#egg=pypa-docs-theme diff --git a/source/tutorials/packaging-projects.rst b/source/tutorials/packaging-projects.rst index 42787472a0..9408b4e91c 100644 --- a/source/tutorials/packaging-projects.rst +++ b/source/tutorials/packaging-projects.rst @@ -111,7 +111,7 @@ Static metadata should be preferred and dynamic metadata should be used only as an escape hatch when absolutely necessary. -.. tab:: setup.cfg (static) +.. tab:: :file:`setup.cfg` (static) :file:`setup.cfg` is the configuration file for :ref:`setuptools`. It tells setuptools about your package (such as the name and version) as well as which @@ -228,7 +228,7 @@ an escape hatch when absolutely necessary. having this file also is required if you want to use editable installs with pip. -.. tab:: setup.py (dynamic) +.. tab:: :file:`setup.py` (dynamic) :file:`setup.py` is the build script for :ref:`setuptools`. It tells setuptools about your package (such as the name and version) as well as which code files