summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/services/dynamic-dns.rst3
-rw-r--r--docs/services/index.rst2
-rw-r--r--docs/services/lldp.rst6
-rw-r--r--docs/services/references.rst13
-rw-r--r--docs/services/snmp.rst5
-rw-r--r--docs/services/ssh.rst2
-rw-r--r--docs/services/tftp.rst2
-rw-r--r--docs/services/webproxy.rst4
8 files changed, 20 insertions, 17 deletions
diff --git a/docs/services/dynamic-dns.rst b/docs/services/dynamic-dns.rst
index dcb9c155..67de6471 100644
--- a/docs/services/dynamic-dns.rst
+++ b/docs/services/dynamic-dns.rst
@@ -149,5 +149,4 @@ address for the response. ddclient_ will skip any address located before the
string set in `[skip]`.
-.. _ddclient: http://sourceforge.net/p/ddclient/wiki/Home/
-.. _RFC2136: https://www.ietf.org/rfc/rfc2136.txt
+.. include:: references.rst
diff --git a/docs/services/index.rst b/docs/services/index.rst
index a138c961..80405ef7 100644
--- a/docs/services/index.rst
+++ b/docs/services/index.rst
@@ -1,5 +1,7 @@
.. _services:
+.. include:: references.rst
+
Services
========
diff --git a/docs/services/lldp.rst b/docs/services/lldp.rst
index 88df9b20..6a3bee7b 100644
--- a/docs/services/lldp.rst
+++ b/docs/services/lldp.rst
@@ -94,8 +94,4 @@ Troubleshooting
Use operationnal command ``show log lldp`` to display logs.
-
-.. _`Cisco Discovery Protocol`: https://en.wikipedia.org/wiki/Cisco_Discovery_Protocol
-.. _`Foundry Discovery Protocol`: https://en.wikipedia.org/wiki/Foundry_Discovery_Protocol
-.. _MIB: https://en.wikipedia.org/wiki/Management_information_base
-.. _SNMP: https://en.wikipedia.org/wiki/Simple_Network_Management_Protocol
+.. include:: references.rst
diff --git a/docs/services/references.rst b/docs/services/references.rst
new file mode 100644
index 00000000..6e6e9595
--- /dev/null
+++ b/docs/services/references.rst
@@ -0,0 +1,13 @@
+.. _`Cisco Discovery Protocol`: https://en.wikipedia.org/wiki/Cisco_Discovery_Protocol
+.. _ddclient: http://sourceforge.net/p/ddclient/wiki/Home/
+.. _`Foundry Discovery Protocol`: https://en.wikipedia.org/wiki/Foundry_Discovery_Protocol
+.. _MIB: https://en.wikipedia.org/wiki/Management_information_base
+.. _RFC2136: https://www.ietf.org/rfc/rfc2136.txt
+.. _SNMP: https://en.wikipedia.org/wiki/Simple_Network_Management_Protocol
+.. _SNMPv2: https://en.wikipedia.org/wiki/Simple_Network_Management_Protocol#Version_2
+.. _SNMPv3: https://en.wikipedia.org/wiki/Simple_Network_Management_Protocol#Version_3
+.. _SSH: https://en.wikipedia.org/wiki/Secure_Shell
+.. _Squid3: http://www.squid-cache.org/
+.. _Squidguard: http://www.squidguard.org/
+.. _TFTP: https://en.wikipedia.org/wiki/Trivial_File_Transfer_Protocol
+
diff --git a/docs/services/snmp.rst b/docs/services/snmp.rst
index ac79f700..e11e3969 100644
--- a/docs/services/snmp.rst
+++ b/docs/services/snmp.rst
@@ -177,7 +177,4 @@ After commit the resulting configuration will look like:
}
-.. _SNMP: https://en.wikipedia.org/wiki/Simple_Network_Management_Protocol
-.. _SNMPv2: https://en.wikipedia.org/wiki/Simple_Network_Management_Protocol#Version_2
-.. _SNMPv3: https://en.wikipedia.org/wiki/Simple_Network_Management_Protocol#Version_3
-.. _MIB: https://en.wikipedia.org/wiki/Management_information_base
+.. include:: references.rst
diff --git a/docs/services/ssh.rst b/docs/services/ssh.rst
index a8da9154..4d96f8de 100644
--- a/docs/services/ssh.rst
+++ b/docs/services/ssh.rst
@@ -147,4 +147,4 @@ as the ``vyos`` user using their own keys.
set system login user vyos authentication public-keys 'xrobau' type ssh-rsa
-.. _SSH: https://en.wikipedia.org/wiki/Secure_Shell
+
diff --git a/docs/services/tftp.rst b/docs/services/tftp.rst
index 524c8e5e..96b33a65 100644
--- a/docs/services/tftp.rst
+++ b/docs/services/tftp.rst
@@ -40,5 +40,3 @@ The resulting configuration will look like:
listen-address 10.10.1.1
}
-
-.. _TFTP: https://en.wikipedia.org/wiki/Trivial_File_Transfer_Protocol
diff --git a/docs/services/webproxy.rst b/docs/services/webproxy.rst
index b739e479..d1c2ca2e 100644
--- a/docs/services/webproxy.rst
+++ b/docs/services/webproxy.rst
@@ -118,6 +118,4 @@ So sometimes it is useful to bypass a transparent proxy:
(This can be useful when a called service has many and/or often changing
destination addresses - e.g. Netflix.)
-
-.. _Squid3: http://www.squid-cache.org/
-.. _Squidguard: http://www.squidguard.org/
+.. include:: references.rst