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:20 +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 5c9c9f5de2167addcb4427aaedf5a581c456b754..2a3003a72382a1efb6dcb8e75079db165957fa49 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
@@ -1314,7 +1314,7 @@ affect application timings.
     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.
@@ -1323,7 +1323,7 @@ affect application timings.
     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.026255 seconds and 4 git commands to generate.