Skip to content

Commit f8e40a4

Browse files
committed
refactor: use sphinx-inline-tabs instead of sphinx-tabs
1 parent 28910e1 commit f8e40a4

3 files changed

Lines changed: 4 additions & 5 deletions

File tree

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-tabs==2.0.0
3+
sphinx-inline-tabs==2020.10.19b4
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/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
'sphinx.ext.extlinks',
3535
'sphinx.ext.intersphinx',
3636
'sphinx.ext.todo',
37-
'sphinx_tabs.tabs',
37+
'sphinx_inline_tabs',
3838
]
3939

4040
# Add any paths that contain templates here, relative to this directory.

source/tutorials/packaging-projects.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,8 @@ There are two types of metadata: static and dynamic.
109109
Static metadata should be preferred and dynamic metadata should be used only as
110110
an escape hatch when absolutely necessary.
111111

112-
.. tabs::
113112

114-
.. tab:: setup.cfg (static)
113+
.. tab:: setup.cfg (static)
115114

116115
:file:`setup.cfg` is the configuration file for :ref:`setuptools`. It tells
117116
setuptools about your package (such as the name and version) as well as which
@@ -201,7 +200,7 @@ an escape hatch when absolutely necessary.
201200
202201
setuptools.setup()
203202
204-
.. tab:: setup.py (dynamic)
203+
.. tab:: setup.py (dynamic)
205204

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

0 commit comments

Comments
 (0)