2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-22 09:57:41 +00:00

[#2969] replace sphinx tabs with list-table

This commit is contained in:
Andrei Pavel 2023-11-03 13:10:34 +02:00
parent ff6822a8c1
commit edabef7303
No known key found for this signature in database
GPG Key ID: D4E804481939CB21
5 changed files with 51 additions and 52 deletions

View File

@ -190,10 +190,9 @@ the system:
texlive with its extensions, and Doxygen, if using the
``--enable-generate-docs`` configuration option to create the documentation.
Specifically, with Fedora, ``python3-sphinx``, ``python3-sphinx_rtd_theme``,
``python3-sphinx-tabs``, ``texlive``, and ``texlive-collection-latexextra``
are necessary.
``texlive``, and ``texlive-collection-latexextra`` are necessary.
With Ubuntu, ``python3-sphinx``, ``python3-sphinx-rtd-theme``,
``python3-sphinx-tabs``, ``texlive``, and ``texlive-latex-extra`` are needed.
``texlive``, and ``texlive-latex-extra`` are needed.
If LaTeX packages are missing, Kea skips PDF generation and produces only
HTML documents.

View File

@ -76,11 +76,13 @@ easier to install Kea using native packages.
Cloudsmith repository page under ``Packages``, or it can be retrieved
using ``apk``/``apt``/``dnf``.
.. tabs::
.. list-table::
:stub-columns: 1
:widths: 10 90
.. tab:: Debian/Ubuntu
* - Debian/Ubuntu
.. code-block:: console
- .. code-block:: console
$ apt search isc-kea
@ -89,83 +91,89 @@ easier to install Kea using native packages.
transitional packages. The working server packages are
``isc-kea-dhcp4`` and ``isc-kea-dhcp6``.
.. tab:: Fedora/RedHat
* - Fedora/RedHat
.. code-block:: console
- .. code-block:: console
$ dnf search 'isc-kea*'
.. tab:: Alpine
* - Alpine
.. code-block:: console
- .. code-block:: console
$ apk search isc-kea
6. Install the metapackage containing all the tools, libraries, servers,
documentation, and open source hooks:
.. tabs::
.. list-table::
:stub-columns: 1
:widths: 10 90
.. tab:: Debian/Ubuntu
* - Debian/Ubuntu
.. code-block:: console
- .. code-block:: console
$ sudo apt install isc-kea
.. tab:: Fedora/RedHat
* - Fedora/RedHat
.. code-block:: console
- .. code-block:: console
$ sudo dnf install isc-kea
.. tab:: Alpine
* - Alpine
.. code-block:: console
- .. code-block:: console
# apk add isc-kea
or specific packages:
.. tabs::
.. list-table::
:stub-columns: 1
:widths: 10 90
.. tab:: Debian/Ubuntu
* - Debian/Ubuntu
.. code-block:: console
- .. code-block:: console
$ sudo apt install isc-kea-dhcp6
.. tab:: Fedora/RedHat
* - Fedora/RedHat
.. code-block:: console
- .. code-block:: console
$ sudo dnf install isc-kea-dhcp6
.. tab:: Alpine
* - Alpine
.. code-block:: console
- .. code-block:: console
$ apk add isc-kea-dhcp6
or every single Kea-related package, including development headers, debug
symbols, and premium hooks (if available):
.. tabs::
.. list-table::
:stub-columns: 1
:widths: 10 90
.. tab:: Debian/Ubuntu
* - Debian/Ubuntu
.. code-block:: console
- .. code-block:: console
$ sudo apt install 'isc-kea*'
.. tab:: Fedora/RedHat
* - Fedora/RedHat
.. code-block:: console
- .. code-block:: console
$ sudo dnf install 'isc-kea*'
.. tab:: Alpine
* - Alpine
Installing packages via globbing (``*``) is not available for Alpine,
- Installing packages via globbing (``*``) is not available for Alpine,
but it can be simulated with the following command:
.. code-block:: console
@ -174,25 +182,25 @@ symbols, and premium hooks (if available):
or all packages with a specified version number:
.. tabs::
.. list-table::
:stub-columns: 1
:widths: 10 90
.. tab:: Debian/Ubuntu
* - Debian/Ubuntu
.. code-block:: console
- .. code-block:: console
$ sudo apt install 'isc-kea*=2.4.0-isc20230921141113'
.. tab:: Fedora/RedHat
* - Fedora/RedHat
.. code-block:: console
- .. code-block:: console
$ sudo dnf install 'isc-kea*2.4.0-isc20230921141113*'
.. tab:: Alpine
* - Alpine
.. code-block:: console
Installing packages via globbing (``*``) is not available for Alpine,
- Installing packages via globbing (``*``) is not available for Alpine,
but it can be simulated with the following command:
.. code-block:: console

View File

@ -59,7 +59,6 @@ dashed_version_series='-'.join(version.split('.')[0:2])
extensions = [
'sphinx.ext.todo',
'sphinx.ext.mathjax',
'sphinx_tabs.tabs',
]
# The suffix(es) of source filenames.

View File

@ -1,3 +1,2 @@
sphinx
sphinx-rtd-theme
sphinx-tabs

View File

@ -6,17 +6,16 @@
#
alabaster==0.7.13
# via sphinx
babel==2.13.0
babel==2.13.1
# via sphinx
certifi==2023.7.22
# via requests
charset-normalizer==3.3.0
charset-normalizer==3.3.2
# via requests
docutils==0.18.1
# via
# sphinx
# sphinx-rtd-theme
# sphinx-tabs
idna==3.4
# via requests
imagesize==1.4.1
@ -28,9 +27,7 @@ markupsafe==2.1.3
packaging==23.2
# via sphinx
pygments==2.16.1
# via
# sphinx
# sphinx-tabs
# via sphinx
requests==2.31.0
# via sphinx
snowballstemmer==2.2.0
@ -39,7 +36,6 @@ sphinx==7.2.6
# via
# -r ./src/requirements.in
# sphinx-rtd-theme
# sphinx-tabs
# sphinxcontrib-applehelp
# sphinxcontrib-devhelp
# sphinxcontrib-htmlhelp
@ -48,8 +44,6 @@ sphinx==7.2.6
# sphinxcontrib-serializinghtml
sphinx-rtd-theme==1.3.0
# via -r ./src/requirements.in
sphinx-tabs==3.4.1
# via -r ./src/requirements.in
sphinxcontrib-applehelp==1.0.7
# via sphinx
sphinxcontrib-devhelp==1.0.5
@ -64,5 +58,5 @@ sphinxcontrib-qthelp==1.0.6
# via sphinx
sphinxcontrib-serializinghtml==1.1.9
# via sphinx
urllib3==2.0.6
urllib3==2.0.7
# via requests