svn commit: r50687 - in head/en_US.ISO8859-1: articles/pgpkeys books/handbook

Warren Block wblock at FreeBSD.org
Fri Aug 18 17:58:18 UTC 2017


Author: wblock
Date: Fri Aug 18 17:58:17 2017
New Revision: 50687
URL: https://svnweb.freebsd.org/changeset/doc/50687

Log:
  Add ITS rules to prevent translation of PGP keys.
  
  Sponsored by:	iXsystems

Modified:
  head/en_US.ISO8859-1/articles/pgpkeys/article.xml
  head/en_US.ISO8859-1/books/handbook/book.xml

Modified: head/en_US.ISO8859-1/articles/pgpkeys/article.xml
==============================================================================
--- head/en_US.ISO8859-1/articles/pgpkeys/article.xml	Fri Aug 18 17:19:53 2017	(r50686)
+++ head/en_US.ISO8859-1/articles/pgpkeys/article.xml	Fri Aug 18 17:58:17 2017	(r50687)
@@ -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>

Modified: head/en_US.ISO8859-1/books/handbook/book.xml
==============================================================================
--- head/en_US.ISO8859-1/books/handbook/book.xml	Fri Aug 18 17:19:53 2017	(r50686)
+++ head/en_US.ISO8859-1/books/handbook/book.xml	Fri Aug 18 17:58:17 2017	(r50687)
@@ -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>
 


More information about the svn-doc-all mailing list