[tepl] docs: add page IDs



commit 44bd4ef0ead56aca22196c4963765d0912c0d031
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Wed Jun 14 10:30:30 2017 +0200

    docs: add page IDs
    
    To have more future-proof links, instead of "pt01.html", "pt02.html"
    etc.

 docs/reference/api-breaks.xml   |    4 ++--
 docs/reference/intro.xml.in     |    2 +-
 docs/reference/tepl-docs.xml.in |   16 ++++++++--------
 3 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/docs/reference/api-breaks.xml b/docs/reference/api-breaks.xml
index 6d52cd0..a099c8e 100644
--- a/docs/reference/api-breaks.xml
+++ b/docs/reference/api-breaks.xml
@@ -7,10 +7,10 @@
  %gtkdocentities;
 ]>
 
-<part>
+<part id="api-breaks">
   <title>API Breaks</title>
 
-  <chapter>
+  <chapter id="api-breaks-1-to-2">
     <title>Gtef 1 -> Gtef 2</title>
 
     <itemizedlist>
diff --git a/docs/reference/intro.xml.in b/docs/reference/intro.xml.in
index c4d6b44..5a325e5 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/tepl-docs.xml.in b/docs/reference/tepl-docs.xml.in
index 4413c9c..f20452c 100644
--- a/docs/reference/tepl-docs.xml.in
+++ b/docs/reference/tepl-docs.xml.in
@@ -14,11 +14,11 @@
 
   <xi:include href="intro.xml"/>
 
-  <part>
+  <part id="api-reference">
     <title>API Reference</title>
 
-    <chapter>
-      <title>Main Classes</title>
+    <chapter id="framework">
+      <title>Framework</title>
       <xi:include href="xml/application.xml"/>
       <xi:include href="xml/application-window.xml"/>
       <xi:include href="xml/tab.xml"/>
@@ -26,7 +26,7 @@
       <xi:include href="xml/buffer.xml"/>
     </chapter>
 
-    <chapter>
+    <chapter id="actions">
       <title>Actions and Menus</title>
       <xi:include href="xml/action-info.xml"/>
       <xi:include href="xml/action-info-store.xml"/>
@@ -36,7 +36,7 @@
       <xi:include href="xml/menu-shell.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"/>
@@ -46,13 +46,13 @@
       <xi:include href="xml/metadata-manager.xml"/>
     </chapter>
 
-    <chapter>
+    <chapter id="code-folding">
       <title>Code Folding</title>
       <xi:include href="xml/fold-region.xml"/>
       <xi:include href="xml/gutter-renderer-folds.xml"/>
     </chapter>
 
-    <chapter>
+    <chapter id="misc">
       <title>Misc</title>
       <xi:include href="xml/info-bar.xml"/>
       <xi:include href="xml/iter.xml"/>
@@ -62,7 +62,7 @@
 
   <xi:include href="api-breaks.xml"/>
 
-  <part>
+  <part id="annexes">
     <title>Annexes</title>
 
     <chapter id="object-tree">


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