]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#2969] replace sphinx tabs with list-table
authorAndrei Pavel <andrei@isc.org>
Fri, 3 Nov 2023 11:10:34 +0000 (13:10 +0200)
committerAndrei Pavel <andrei@isc.org>
Mon, 6 Nov 2023 10:10:51 +0000 (12:10 +0200)
doc/sphinx/arm/install.rst
doc/sphinx/arm/quickstart.rst
doc/sphinx/conf.py
doc/sphinx/src/requirements.in
doc/sphinx/src/requirements.txt

index c43cc56b9e3ec014ee1771dcc3172b8d6a44978a..48b08baed6d8adf7d38e378cd70983b8bea89905 100644 (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.
 
index 24ce86841a99fd3eddb186ab98177de7f68478b9..81cc316d51fe6e0e49ec5cecb6d802e4a1fb36a7 100644 (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
-
-        .. code-block:: console
+    * - 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
index af64d08be1bef71ed07fddb757f5f387a1a4c96f..117d125cf3e0675c5299179840e5306d077aa4d1 100644 (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.
index fc5c91382ccbc515a5415140ca19ac3c5e06edfe..cbf1e3658e6aa8a22988927b510080a973450f52 100644 (file)
@@ -1,3 +1,2 @@
 sphinx
 sphinx-rtd-theme
-sphinx-tabs
index 214d62d1ceb41531b3ec90e7aabe936223feb10c..bc74c955be7242852e25d3852ae764b9c24ecaff 100644 (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