From 775180af8bed59aebc883319637adbbfb902fef0 Mon Sep 17 00:00:00 2001 From: cytopia Date: Tue, 24 Jul 2018 08:56:57 +0200 Subject: [PATCH] Move links into separate file --- docs/_includes/all.rst | 1 + docs/_includes/links/dns.rst | 5 +++++ docs/howto/dns/add-custom-dns-server-on-linux.rst | 4 +++- 3 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 docs/_includes/links/dns.rst diff --git a/docs/_includes/all.rst b/docs/_includes/all.rst index dbb9be78..7d75b5ef 100644 --- a/docs/_includes/all.rst +++ b/docs/_includes/all.rst @@ -22,6 +22,7 @@ ============================================================ .. include:: /_includes/links/apps.rst +.. include:: /_includes/links/dns.rst .. include:: /_includes/links/docker.rst .. include:: /_includes/links/docker-compose.rst .. include:: /_includes/links/examples.rst diff --git a/docs/_includes/links/dns.rst b/docs/_includes/links/dns.rst new file mode 100644 index 00000000..f376cc89 --- /dev/null +++ b/docs/_includes/links/dns.rst @@ -0,0 +1,5 @@ +.. |ext_lnk_dns_archlinux_wiki_resolv_conf| raw:: html + + + Archlinux Wiki: resolv.conf + diff --git a/docs/howto/dns/add-custom-dns-server-on-linux.rst b/docs/howto/dns/add-custom-dns-server-on-linux.rst index 862428f8..61406cfb 100644 --- a/docs/howto/dns/add-custom-dns-server-on-linux.rst +++ b/docs/howto/dns/add-custom-dns-server-on-linux.rst @@ -1,5 +1,7 @@ :orphan: +.. include:: /_includes/all.rst + .. _howto_add_custom_dns_server_on_linux: ****************************** @@ -123,4 +125,4 @@ Once done, you can verify if the new DNS settings are effective: host> systemd-resolve --status -.. seealso:: `Archlinux Wiki: resolv.conf `_ +.. seealso:: |ext_lnk_dns_archlinux_wiki_resolv_conf|