From 9197e7ece6a951447e2d84b4b2764cf508f2b493 Mon Sep 17 00:00:00 2001 From: Philippe Proulx Date: Tue, 22 May 2018 11:47:07 -0400 Subject: [PATCH] doc/man: include build version in GitHub links 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 Signed-off-by: Mathieu Desnoyers --- doc/man/common-copyrights.txt | 2 +- doc/man/lttng-gen-tp.1.txt | 2 +- doc/man/lttng-ust.3.txt | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/man/common-copyrights.txt b/doc/man/common-copyrights.txt index 734639ac..0203fb86 100644 --- a/doc/man/common-copyrights.txt +++ b/doc/man/common-copyrights.txt @@ -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. diff --git a/doc/man/lttng-gen-tp.1.txt b/doc/man/lttng-gen-tp.1.txt index 49467921..2fa73c87 100644 --- a/doc/man/lttng-gen-tp.1.txt +++ b/doc/man/lttng-gen-tp.1.txt @@ -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. diff --git a/doc/man/lttng-ust.3.txt b/doc/man/lttng-ust.3.txt index 595a426a..d2a7594b 100644 --- a/doc/man/lttng-ust.3.txt +++ b/doc/man/lttng-ust.3.txt @@ -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 -- 2.34.1