Skip to content

Commit 7f8ea16

Browse files
authored
Merge pull request #875 from henryiii/henryiii/docs/tabcode
style: use file format in tab (newly supported)
2 parents 9a5762f + ea104d8 commit 7f8ea16

3 files changed

Lines changed: 15 additions & 3 deletions

File tree

.readthedocs.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Read the Docs configuration file
2+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
3+
4+
version: 2
5+
6+
sphinx:
7+
configuration: source/conf.py
8+
9+
python:
10+
version: 3.8
11+
install:
12+
- requirements: requirements.txt

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
sphinx==3.2.0
22
sphinx-autobuild==0.7.1
3-
sphinx-inline-tabs==2021.3.19b5
3+
sphinx-inline-tabs==2021.4.11b9
44
git+https://github.com/python/python-docs-theme.git#egg=python-docs-theme
55
git+https://github.com/pypa/pypa-docs-theme.git#egg=pypa-docs-theme

source/tutorials/packaging-projects.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ Static metadata should be preferred and dynamic metadata should be used only as
111111
an escape hatch when absolutely necessary.
112112

113113

114-
.. tab:: setup.cfg (static)
114+
.. tab:: :file:`setup.cfg` (static)
115115

116116
:file:`setup.cfg` is the configuration file for :ref:`setuptools`. It tells
117117
setuptools about your package (such as the name and version) as well as which
@@ -228,7 +228,7 @@ an escape hatch when absolutely necessary.
228228
having this file also is required if you want to use editable installs with pip.
229229

230230

231-
.. tab:: setup.py (dynamic)
231+
.. tab:: :file:`setup.py` (dynamic)
232232

233233
:file:`setup.py` is the build script for :ref:`setuptools`. It tells setuptools
234234
about your package (such as the name and version) as well as which code files

0 commit comments

Comments
 (0)