[gtksourceview] docs: add page IDs



commit 1143d995c394f998a8f10e42ff6816968d6655a1
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Fri Jun 16 12:43:45 2017 +0200

    docs: add page IDs
    
    To have more future-proof links, instead of "pt01.html", "pt02.html"
    etc.
    
    Rename also Other section -> Misc. I think Misc is a better name, and is
    consistent with Tepl.

 docs/reference/gtksourceview-docs.xml.in |   26 +++++++++++++-------------
 docs/reference/intro.xml.in              |    2 +-
 docs/reference/porting-guide.xml         |    2 +-
 3 files changed, 15 insertions(+), 15 deletions(-)
---
diff --git a/docs/reference/gtksourceview-docs.xml.in b/docs/reference/gtksourceview-docs.xml.in
index 5cc9ce9..c87486a 100644
--- a/docs/reference/gtksourceview-docs.xml.in
+++ b/docs/reference/gtksourceview-docs.xml.in
@@ -14,22 +14,22 @@
 
   <xi:include href="intro.xml"/>
 
-  <part>
+  <part id="api-reference">
     <title>API reference</title>
 
-    <chapter>
+    <chapter id="main-classes">
       <title>Main Classes</title>
       <xi:include href="xml/buffer.xml"/>
       <xi:include href="xml/view.xml"/>
     </chapter>
 
-    <chapter>
+    <chapter id="syntax-highlighting">
       <title>Syntax Highlighting</title>
       <xi:include href="xml/language.xml"/>
       <xi:include href="xml/languagemanager.xml"/>
     </chapter>
 
-    <chapter>
+    <chapter id="styling">
       <title>Styling</title>
       <xi:include href="xml/style.xml"/>
       <xi:include href="xml/stylescheme.xml"/>
@@ -39,7 +39,7 @@
       <xi:include href="xml/styleschemechooserwidget.xml"/>
     </chapter>
 
-    <chapter>
+    <chapter id="completion">
       <title>Completion</title>
       <xi:include href="xml/completion.xml"/>
       <xi:include href="xml/completioncontext.xml"/>
@@ -50,7 +50,7 @@
       <xi:include href="xml/completionwords.xml"/>
     </chapter>
 
-    <chapter>
+    <chapter id="file-loading-and-saving">
       <title>File Loading and Saving</title>
       <xi:include href="xml/encoding.xml"/>
       <xi:include href="xml/file.xml"/>
@@ -58,7 +58,7 @@
       <xi:include href="xml/filesaver.xml"/>
     </chapter>
 
-    <chapter>
+    <chapter id="gutter">
       <title>Gutter and Marks</title>
       <xi:include href="xml/gutter.xml"/>
       <xi:include href="xml/gutterrenderer.xml"/>
@@ -68,19 +68,19 @@
       <xi:include href="xml/markattributes.xml"/>
     </chapter>
 
-    <chapter>
+    <chapter id="printing">
       <title>Printing</title>
       <xi:include href="xml/printcompositor.xml"/>
     </chapter>
 
-    <chapter>
+    <chapter id="search-and-replace">
       <title>Search and Replace</title>
       <xi:include href="xml/searchcontext.xml"/>
       <xi:include href="xml/searchsettings.xml"/>
     </chapter>
 
-    <chapter>
-      <title>Other</title>
+    <chapter id="misc">
+      <title>Misc</title>
       <xi:include href="xml/map.xml"/>
       <xi:include href="xml/region.xml"/>
       <xi:include href="xml/spacedrawer.xml"/>
@@ -91,7 +91,7 @@
     </chapter>
   </part>
 
-  <part>
+  <part id="syntax-highlighting-reference">
     <title>Syntax highlighting reference</title>
     <xi:include href="lang-tutorial.xml"/>
     <xi:include href="lang-reference.xml"/>
@@ -100,7 +100,7 @@
 
   <xi:include href="porting-guide.xml"/>
 
-  <part>
+  <part id="annexes">
     <title>Annexes</title>
 
     <chapter id="object-tree">
diff --git a/docs/reference/intro.xml.in b/docs/reference/intro.xml.in
index e2c0e14..830fe99 100644
--- a/docs/reference/intro.xml.in
+++ b/docs/reference/intro.xml.in
@@ -7,7 +7,7 @@
  %gtkdocentities;
 ]>
 
-<part>
+<part id="intro">
   <title>Introduction</title>
 
   <para>
diff --git a/docs/reference/porting-guide.xml b/docs/reference/porting-guide.xml
index c7d11ce..fe63a26 100644
--- a/docs/reference/porting-guide.xml
+++ b/docs/reference/porting-guide.xml
@@ -7,7 +7,7 @@
  %gtkdocentities;
 ]>
 
-<part>
+<part id="porting-guide">
   <title>GtkSourceView 3 -> 4 Porting Guide</title>
 
   <refsect1>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]