From: Philippe Proulx Date: Tue, 22 May 2018 15:47:07 +0000 (-0400) Subject: doc/man: include build version in GitHub links X-Git-Tag: v2.11.0-rc5~7 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=cbd04414ccdd5340b6d323fb57ed50bfa44f62c2;p=lttng-ust.git 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 --- 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 5c9c9f5d..2a3003a7 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 @@ -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