[libstdc++,doc] Standardize references to Boost documentation

Gerald Pfeifer gerald@pfeifer.com
Sun Feb 12 14:47:00 GMT 2017


It appears we have been using various ways to refer to bits of Boost
documentation, and I suggest to standardize this a bit per the patch
below.

http://www.boost.org/libs/<whatever> seems to be the shortest and
simplest form doing to.

Thoughts?

Gerald

2017-02-10  Gerald Pfeifer  <gerald@pfeifer.com>

	* doc/xml/manual/policy_data_structures.xml: Simplify and
	standardize references to boost.org.
	* doc/xml/manual/policy_data_structures_biblio.xml: Ditto.
	* doc/xml/manual/shared_ptr.xml: Ditto.

Index: doc/xml/manual/policy_data_structures.xml
===================================================================
--- doc/xml/manual/policy_data_structures.xml	(revision 245374)
+++ doc/xml/manual/policy_data_structures.xml	(working copy)
@@ -5090,7 +5090,8 @@
 
     <para>
       Some test utilities borrow ideas from
-      <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.boost.org/doc/libs/release/libs/timer/index.html">boost::timer</link>.
+      <link xmlns:xlink="http://www.w3.org/1999/xlink"
+	    xlink:href="http://www.boost.org/libs/timer/">boost::timer</link>.
     </para>
 
     <para>
Index: doc/xml/manual/policy_data_structures_biblio.xml
===================================================================
--- doc/xml/manual/policy_data_structures_biblio.xml	(revision 245374)
+++ doc/xml/manual/policy_data_structures_biblio.xml	(working copy)
@@ -1,4 +1,3 @@
-
 <!-- Policy Based Data Structures: Biblio -->
 <bibliography xmlns="http://docbook.org/ns/docbook" version="5.0"
 	      xml:id="pbds.biblio" xreflabel="Bibliography">
@@ -181,7 +180,7 @@
     <biblioentry xml:id="biblio.dawestimer">
       <title>
 	<link xmlns:xlink="http://www.w3.org/1999/xlink"
-	      xlink:href="http://www.boost.org/doc/libs/release/libs/timer/">
+	      xlink:href="http://www.boost.org/libs/timer/">
 	  Boost Timer Library
 	</link>
       </title>
@@ -208,7 +207,7 @@
     <biblioentry xml:id="biblio.clearypool">
       <title>
 	<link xmlns:xlink="http://www.w3.org/1999/xlink"
-	      xlink:href="http://www.boost.org/doc/libs/release/libs/pool/">
+	      xlink:href="http://www.boost.org/libs/pool/">
 	  Boost Pool Library
 	</link>
       </title>
@@ -236,7 +235,7 @@
     <biblioentry xml:id="biblio.maddocktraits">
       <title>
 	<link xmlns:xlink="http://www.w3.org/1999/xlink"
-	      xlink:href="http://www.boost.org/doc/libs/release/libs/type_traits/">
+	      xlink:href="http://www.boost.org/libs/type_traits/">
 	  Boost Type Traits Library
 	</link>
       </title>
Index: doc/xml/manual/shared_ptr.xml
===================================================================
--- doc/xml/manual/shared_ptr.xml	(revision 245374)
+++ doc/xml/manual/shared_ptr.xml	(working copy)
@@ -461,7 +461,7 @@
   <biblioentry>
       <title>
 	<link xmlns:xlink="http://www.w3.org/1999/xlink"
-	      xlink:href="http://boost.org/libs/smart_ptr/shared_ptr.htm">
+	      xlink:href="http://www.boost.org/libs/smart_ptr/shared_ptr.htm">
       Boost C++ Libraries documentation, shared_ptr
 	</link>
       </title>



More information about the Libstdc++ mailing list