1
0
mirror of https://github.com/searxng/searxng.git synced 2024-10-01 17:10:13 +02:00

[docs] fix some warnings from Sphinx-doc update 4.3.2 to 4.4.0

With Sphinx-doc update 4.4.0 we get some warnings about links that can be
replaced by already defined 'sphinx.ext.extlinks':

    admin/engines/sql-engines.rst:144: WARNING: hardcoded link 'https://pypi.org/project/mysql-connector-python' could be replaced by an extlink (try using ':pypi:`mysql-connector-python`' instead)
    docs/admin/installation-switch2ng.rst:10: WARNING: hardcoded link 'https://github.com/searxng/searxng/pull/446#issuecomment-954730358' could be replaced by an extlink (try using ':pull:`446#issuecomment-954730358`' instead)

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
Markus Heiser 2022-01-21 09:30:09 +01:00
parent 0dd5f5a830
commit bd4cdde70d
2 changed files with 2 additions and 4 deletions

View File

@ -136,12 +136,10 @@ find an example configuration below:
MySQL MySQL
----- -----
.. _mysql-connector-python: https://pypi.org/project/mysql-connector-python
.. sidebar:: info .. sidebar:: info
- :origin:`mysql_server.py <searx/engines/mysql_server.py>` - :origin:`mysql_server.py <searx/engines/mysql_server.py>`
- ``pip install`` mysql-connector-python_ - ``pip install`` :pypi:`mysql-connector-python <mysql-connector-python>`
MySQL is said to be the most popular open source database. Before enabling MySQL MySQL is said to be the most popular open source database. Before enabling MySQL
engine, you must install the package ``mysql-connector-python``. engine, you must install the package ``mysql-connector-python``.

View File

@ -7,7 +7,7 @@ Switch from searx to SearXNG
.. sidebar:: info .. sidebar:: info
- :pull:`456` - :pull:`456`
- `A comment about rolling release <https://github.com/searxng/searxng/pull/446#issuecomment-954730358>`_ - :pull:`A comment about rolling release <446#issuecomment-954730358>`
.. contents:: Contents .. contents:: Contents
:depth: 2 :depth: 2