Add ITS rules to prevent translation of PGP keys.

Sponsored by:	iXsystems
This commit is contained in:
Warren Block 2017-08-18 17:58:17 +00:00
parent b90abbc81c
commit a258681767
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=50687
2 changed files with 34 additions and 6 deletions

View file

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook XML V5.0-Based Extension//EN"
"http://www.FreeBSD.org/XML/share/xml/freebsd50.dtd" [
<!ENTITY % pgpkeys SYSTEM "../../../share/pgpkeys/pgpkeys.ent"> %pgpkeys;
<!ENTITY % pgpkeys SYSTEM "../../../share/pgpkeys/pgpkeys.ent"> <?no-translate start?>%pgpkeys;<?no-translate end?>
]>
<!--
@ -22,7 +22,21 @@
<article xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0"
xml:id="pgpkeys">
<info>
<its:rules xmlns:its="http://www.w3.org/2005/11/its"
version="1.0" xmlns:db="http://docbook.org/ns/docbook">
<its:translateRule translate="no"
selector="//db:programlisting[@role='pgpfingerprint']"/>
<its:translateRule translate="no"
selector="//db:programlisting[@role='pgpkey']"/>
<its:translateRule translate="no"
selector="//db:sect2[starts-with(@xml:id,'pgpkey-')]"/>
</its:rules>
<title>Open<acronym>PGP</acronym> Keys</title>
<pubdate>$FreeBSD$</pubdate>
@ -38,24 +52,24 @@
<sect1 xml:id="pgpkeys-officers">
<title>Officers</title>
&section.pgpkeys-officers;
<?no-translate start?>&section.pgpkeys-officers;<?no-translate end?>
</sect1>
<sect1 xml:id="pgpkeys-core">
<title>Core Team Members</title>
&section.pgpkeys-core;
<?no-translate start?>&section.pgpkeys-core;<?no-translate end?>
</sect1>
<sect1 xml:id="pgpkeys-developers">
<title>Developers</title>
&section.pgpkeys-developers;
<?no-translate start?>&section.pgpkeys-developers;<?no-translate end?>
</sect1>
<sect1 xml:id="pgpkeys-other">
<title>Other Cluster Account Holders</title>
&section.pgpkeys-other;
<?no-translate start?>&section.pgpkeys-other;<?no-translate end?>
</sect1>
</article>

View file

@ -18,13 +18,27 @@
xml:lang="en">
<info>
<its:rules xmlns:its="http://www.w3.org/2005/11/its"
version="1.0" xmlns:db="http://docbook.org/ns/docbook">
<its:translateRule translate="no"
selector="//db:programlisting[@role='pgpfingerprint']"/>
<its:translateRule translate="no"
selector="//db:programlisting[@role='pgpkey']"/>
<its:translateRule translate="no"
selector="//db:sect2[starts-with(@xml:id,'pgpkey-')]"/>
</its:rules>
<title>&os; Handbook</title>
<author>
<orgname>The FreeBSD Documentation Project</orgname>
</author>
<pubdate>$FreeBSD$</pubdate>
<!-- <pubdate>$FreeBSD$</pubdate> -->
<pubdate />
<releaseinfo>$FreeBSD$</releaseinfo>