mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
[doc] switch from sphinx-tabs extension to sphinx-design
A sphinx extension for designing beautiful, view size responsive web components [2]. Supports fure theme [3]. [1] https://github.com/djungelorm/sphinx-tabs [2] https://github.com/executablebooks/sphinx-design [3] https://sphinx-design.readthedocs.io/en/furo-theme/ Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
139554989c
commit
870bf312d8
13 changed files with 152 additions and 159 deletions
|
|
@ -1,8 +1,8 @@
|
|||
.. START create user
|
||||
|
||||
.. tabs::
|
||||
.. tab-set::
|
||||
|
||||
.. group-tab:: bash
|
||||
.. tab-item:: bash
|
||||
|
||||
.. code-block:: sh
|
||||
|
||||
|
|
@ -17,9 +17,9 @@
|
|||
|
||||
.. START install go
|
||||
|
||||
.. tabs::
|
||||
.. tab-set::
|
||||
|
||||
.. group-tab:: os: linux / arch: amd64
|
||||
.. tab-item:: os: linux / arch: amd64
|
||||
|
||||
|
||||
.. code-block:: bash
|
||||
|
|
@ -41,9 +41,9 @@
|
|||
|
||||
.. START install filtron
|
||||
|
||||
.. tabs::
|
||||
.. tab-set::
|
||||
|
||||
.. group-tab:: bash
|
||||
.. tab-item:: bash
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
.. START create user
|
||||
|
||||
.. tabs::
|
||||
.. tab-set::
|
||||
|
||||
.. group-tab:: bash
|
||||
.. tab-item:: bash
|
||||
|
||||
.. code-block:: sh
|
||||
|
||||
|
|
@ -17,9 +17,9 @@
|
|||
|
||||
.. START install go
|
||||
|
||||
.. tabs::
|
||||
.. tab-set::
|
||||
|
||||
.. group-tab:: os: linux / arch: amd64
|
||||
.. tab-item:: os: linux / arch: amd64
|
||||
|
||||
|
||||
.. code-block:: bash
|
||||
|
|
@ -41,9 +41,9 @@
|
|||
|
||||
.. START install morty
|
||||
|
||||
.. tabs::
|
||||
.. tab-set::
|
||||
|
||||
.. group-tab:: bash
|
||||
.. tab-item:: bash
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
|
|
|
|||
|
|
@ -3,23 +3,23 @@
|
|||
|
||||
.. START distro-packages
|
||||
|
||||
.. tabs::
|
||||
.. tab-set::
|
||||
|
||||
.. group-tab:: Ubuntu / debian
|
||||
.. tab-item:: Ubuntu / debian
|
||||
|
||||
.. code-block:: sh
|
||||
|
||||
$ sudo -H apt-get install -y \\
|
||||
${debian}
|
||||
|
||||
.. group-tab:: Arch Linux
|
||||
.. tab-item:: Arch Linux
|
||||
|
||||
.. code-block:: sh
|
||||
|
||||
$ sudo -H pacman -S --noconfirm \\
|
||||
${arch}
|
||||
|
||||
.. group-tab:: Fedora / RHEL
|
||||
.. tab-item:: Fedora / RHEL
|
||||
|
||||
.. code-block:: sh
|
||||
|
||||
|
|
@ -30,23 +30,23 @@ ${fedora}
|
|||
|
||||
.. START build-packages
|
||||
|
||||
.. tabs::
|
||||
.. tab-set::
|
||||
|
||||
.. group-tab:: Ubuntu / debian
|
||||
.. tab-item:: Ubuntu / debian
|
||||
|
||||
.. code-block:: sh
|
||||
|
||||
$ sudo -H apt-get install -y \\
|
||||
${debian_build}
|
||||
|
||||
.. group-tab:: Arch Linux
|
||||
.. tab-item:: Arch Linux
|
||||
|
||||
.. code-block:: sh
|
||||
|
||||
$ sudo -H pacman -S --noconfirm \\
|
||||
${arch_build}
|
||||
|
||||
.. group-tab:: Fedora / RHEL
|
||||
.. tab-item:: Fedora / RHEL
|
||||
|
||||
.. code-block:: sh
|
||||
|
||||
|
|
@ -57,9 +57,9 @@ ${fedora_build}
|
|||
|
||||
.. START create user
|
||||
|
||||
.. tabs::
|
||||
.. tab-set::
|
||||
|
||||
.. group-tab:: bash
|
||||
.. tab-item:: bash
|
||||
|
||||
.. code-block:: sh
|
||||
|
||||
|
|
@ -74,9 +74,9 @@ ${fedora_build}
|
|||
|
||||
.. START clone searxng
|
||||
|
||||
.. tabs::
|
||||
.. tab-set::
|
||||
|
||||
.. group-tab:: bash
|
||||
.. tab-item:: bash
|
||||
|
||||
.. code-block:: sh
|
||||
|
||||
|
|
@ -87,9 +87,9 @@ ${fedora_build}
|
|||
|
||||
.. START create virtualenv
|
||||
|
||||
.. tabs::
|
||||
.. tab-set::
|
||||
|
||||
.. group-tab:: bash
|
||||
.. tab-item:: bash
|
||||
|
||||
.. code-block:: sh
|
||||
|
||||
|
|
@ -100,9 +100,9 @@ ${fedora_build}
|
|||
|
||||
.. START manage.sh update_packages
|
||||
|
||||
.. tabs::
|
||||
.. tab-set::
|
||||
|
||||
.. group-tab:: bash
|
||||
.. tab-item:: bash
|
||||
|
||||
.. code-block:: sh
|
||||
|
||||
|
|
@ -127,9 +127,9 @@ ${fedora_build}
|
|||
|
||||
.. START searxng config
|
||||
|
||||
.. tabs::
|
||||
.. tab-set::
|
||||
|
||||
.. group-tab:: Use default settings
|
||||
.. tab-item:: Use default settings
|
||||
|
||||
.. code-block:: sh
|
||||
|
||||
|
|
@ -137,7 +137,7 @@ ${fedora_build}
|
|||
$ sudo -H cp \"$SEARX_SRC/utils/templates/etc/searxng/settings.yml\" \\
|
||||
\"${SEARXNG_SETTINGS_PATH}\"
|
||||
|
||||
.. group-tab:: searx/settings.yml
|
||||
.. tab-item:: searx/settings.yml
|
||||
|
||||
.. code-block:: sh
|
||||
|
||||
|
|
@ -145,9 +145,9 @@ ${fedora_build}
|
|||
$ sudo -H cp \"$SEARX_SRC/searx/settings.yml\" \\
|
||||
\"${SEARXNG_SETTINGS_PATH}\"
|
||||
|
||||
.. tabs::
|
||||
.. tab-set::
|
||||
|
||||
.. group-tab:: minimal setup
|
||||
.. tab-item:: minimal setup
|
||||
|
||||
.. code-block:: sh
|
||||
|
||||
|
|
@ -157,9 +157,9 @@ ${fedora_build}
|
|||
|
||||
.. START check searxng installation
|
||||
|
||||
.. tabs::
|
||||
.. tab-set::
|
||||
|
||||
.. group-tab:: bash
|
||||
.. tab-item:: bash
|
||||
|
||||
.. code-block:: sh
|
||||
|
||||
|
|
@ -178,15 +178,15 @@ ${fedora_build}
|
|||
Open WEB browser and visit http://$SEARX_INTERNAL_HTTP . If you are inside a
|
||||
container or in a script, test with curl:
|
||||
|
||||
.. tabs::
|
||||
.. tab-set::
|
||||
|
||||
.. group-tab:: WEB browser
|
||||
.. tab-item:: WEB browser
|
||||
|
||||
.. code-block:: sh
|
||||
|
||||
$ xdg-open http://$SEARX_INTERNAL_HTTP
|
||||
|
||||
.. group-tab:: curl
|
||||
.. tab-item:: curl
|
||||
|
||||
.. code-block:: none
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue