diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2016-04-04 19:22:45 +0200 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2016-04-05 14:37:51 +0200 |
commit | 60582bf44372eda37676e9e8209fbb5591851e4c (patch) | |
tree | e4731f5d64c0f3db017f16441b83c94c780a8db7 /man/nmcli-examples.xml | |
parent | 8035b5b03bb25d7b458d4e05b83239d7cfa4fcc7 (diff) | |
download | NetworkManager-60582bf44372eda37676e9e8209fbb5591851e4c.tar.gz |
man: include version from a XML entity
This way it's consistently used across all manual page without a need
for XSL templating.
Also, the entities file could in future possibly be used to template the
build-time configurables such as filesystem paths or bug tracker URL.
Diffstat (limited to 'man/nmcli-examples.xml')
-rw-r--r-- | man/nmcli-examples.xml | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/man/nmcli-examples.xml b/man/nmcli-examples.xml index 84eb2b0eb0..94a13c8dde 100644 --- a/man/nmcli-examples.xml +++ b/man/nmcli-examples.xml @@ -1,6 +1,10 @@ -<?xml version='1.0'?> <!--*-nxml-*--> -<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" -"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"> +<?xml version='1.0'?> +<?xml-stylesheet type="text/xsl" href="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"?> +<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" +"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [ +<!ENTITY % entities SYSTEM "common.ent" > +%entities; +]> <!-- Copyright 2013 - 2014 Red Hat, Inc. @@ -17,7 +21,7 @@ Copyright 2013 - 2014 Red Hat, Inc. <manvolnum>5</manvolnum> <refmiscinfo class="source">NetworkManager</refmiscinfo> <refmiscinfo class="manual">Examples</refmiscinfo> - <refmiscinfo class="version">1.2</refmiscinfo> + <refmiscinfo class="version">&NM_VERSION;</refmiscinfo> </refmeta> <refnamediv> |