doc/man: include build version in GitHub links
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Tue, 22 May 2018 15:47:07 +0000 (11:47 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sun, 8 Sep 2019 17:23:55 +0000 (18:23 +0100)
Linking to master branch files on GitHub is not safe because files could
be renamed, whereas the layout stays the same for a given version tag.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
doc/man/common-copyrights.txt
doc/man/lttng-gen-tp.1.txt
doc/man/lttng-ust.3.txt

index 734639ac0a9d6942ed50349429cfcbfab9b49cb4..0203fb8661be3e2c11967152fe5cf6f9d957cb55 100644 (file)
@@ -5,7 +5,7 @@ This {object-type} is part of the LTTng-UST project.
 This {object-type} is distributed under the
 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html[GNU Lesser
 General Public License, version 2.1]. See the
-https://github.com/lttng/lttng-ust/blob/master/COPYING[`COPYING`] file
+https://github.com/lttng/lttng-ust/blob/v{lttng_version}/COPYING[`COPYING`] file
 for more details.
 
 
index 494679210c80262976f7e80211a168281f3bb6dd..2fa73c8722616e0f8bd6d4078a9bb68df1529343 100644 (file)
@@ -118,7 +118,7 @@ COPYRIGHTS
 `lttng-gen-tp` is distributed under the
 http://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html[GNU General
 Public License, version 2]. See the
-https://github.com/lttng/lttng-ust/blob/master/COPYING[`COPYING`] file
+https://github.com/lttng/lttng-ust/blob/v{lttng_version}/COPYING[`COPYING`] file
 for more details.
 
 
index 595a426ad2fac729ceda712e64e254335b81d770..d2a7594b6d4cd0d027b3c30738d2da8a2f26c11b 100644 (file)
@@ -1022,7 +1022,7 @@ if (lttng_ust_loaded) {
 EXAMPLE
 -------
 NOTE: A few examples are available in the
-https://github.com/lttng/lttng-ust/tree/master/doc/examples[`doc/examples`]
+https://github.com/lttng/lttng-ust/tree/v{lttng_version}/doc/examples[`doc/examples`]
 directory of LTTng-UST's source tree.
 
 This example shows all the features documented in the previous
@@ -1296,7 +1296,7 @@ are located in a specific directory under `$LTTNG_HOME` (or `$HOME` if
     Path to the shared object which acts as the clock override plugin.
     An example of such a plugin can be found in the LTTng-UST
     documentation under
-    https://github.com/lttng/lttng-ust/tree/master/doc/examples/clock-override[`examples/clock-override`].
+    https://github.com/lttng/lttng-ust/tree/v{lttng_version}/doc/examples/clock-override[`examples/clock-override`].
 
 `LTTNG_UST_DEBUG`::
     If set, enable `liblttng-ust`'s debug and error output.
@@ -1305,7 +1305,7 @@ are located in a specific directory under `$LTTNG_HOME` (or `$HOME` if
     Path to the shared object which acts as the `getcpu()` override
     plugin. An example of such a plugin can be found in the LTTng-UST
     documentation under
-    https://github.com/lttng/lttng-ust/tree/master/doc/examples/getcpu-override[`examples/getcpu-override`].
+    https://github.com/lttng/lttng-ust/tree/v{lttng_version}/doc/examples/getcpu-override[`examples/getcpu-override`].
 
 `LTTNG_UST_REGISTER_TIMEOUT`::
     Waiting time for the _registration done_ session daemon command
This page took 0.026592 seconds and 4 git commands to generate.