]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
doc: fix broken links 63592
authorLukáš Ježek <lukas.jezek@nic.cz>
Wed, 6 May 2020 06:55:49 +0000 (08:55 +0200)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Mon, 18 May 2020 08:05:58 +0000 (10:05 +0200)
doc/build.rst
modules/http/prometheus.rst
modules/policy/README.rst

index 3537eed752541061983a7937f5365b2cfcbbd9d4..8a45eaed724d707cf4005a720027d0efd39ce956 100644 (file)
@@ -284,7 +284,7 @@ For development, it's possible to build the container directly from your git tre
 .. _Docker images: https://hub.docker.com/r/cznic/knot-resolver
 .. _libuv: https://github.com/libuv/libuv
 .. _LuaJIT: http://luajit.org/luajit.html
-.. _Doxygen: https://www.stack.nl/~dimitri/doxygen/manual/index.html
+.. _Doxygen: https://www.doxygen.nl/manual/index.html
 .. _breathe: https://github.com/michaeljones/breathe
 .. _Sphinx: http://sphinx-doc.org/
 .. _sphinx_rtd_theme: https://pypi.python.org/pypi/sphinx_rtd_theme
index 233f0a6dc55c02ef40b0501257391d36146a8e79..acd8a82133cbd03b9b66ffe081529bbfcc6efecc 100644 (file)
@@ -5,7 +5,7 @@
 Prometheus metrics endpoint
 ---------------------------
 
-The `HTTP module <mod-http>`_ exposes ``/metrics`` endpoint that serves metrics
+The :ref:`HTTP module <mod-http>` exposes ``/metrics`` endpoint that serves metrics
 from :ref:`mod-stats` in Prometheus_ text format.
 You can use it as soon as HTTP module is configured:
 
index 43fa4b465e81d8d18494e016d89417d3a6141cfb..f0ff3540709bd3bb0341473e1bee8c878254f2e8 100644 (file)
@@ -61,7 +61,7 @@ It is also possible to define custom filter function with any name.
 
    :param state: Request processing state :c:type:`kr_layer_state`, typically not used by filter function.
    :param query: Incoming DNS query as :c:type:`kr_query` structure.
-   :return: An `action <actions>`_ function or ``nil`` if filter did not match.
+   :return: An `action <#actions>`_ function or ``nil`` if filter did not match.
 
    Typically filter function is generated by another function, which allows easy parametrization - this technique is called `closure <https://www.lua.org/pil/6.1.html>`_. An practical example of such filter generator is:
 
@@ -233,7 +233,7 @@ Custom actions
 
    :param state: Request processing state :c:type:`kr_layer_state`.
    :param request: Current DNS request as :c:type:`kr_request` structure.
-   :return: Returning a new :c:type:`kr_layer_state` prevents evaluating other policy rules. Returning ``nil`` creates a `chain action <Chain actions>`_ and allows to continue evaluating other rules.
+   :return: Returning a new :c:type:`kr_layer_state` prevents evaluating other policy rules. Returning ``nil`` creates a `chain action <#actions>`_ and allows to continue evaluating other rules.
 
    This is real example of an action function: