[pango/gi-docs: 4/30] docs: Make context section ids match




commit fd3ffdea5e01cb88d69feb483fec7dc4cd4b1f2d
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Feb 4 14:30:11 2021 -0500

    docs: Make context section ids match
    
    Doing this makes g-ir-scanner pick up the long description,
    which is more useful than the struct docs.

 docs/pango-docs.sgml    | 8 ++++----
 docs/pango-sections.txt | 8 ++++----
 pango/fonts.c           | 2 +-
 pango/pango-context.c   | 2 +-
 pango/pango-coverage.c  | 2 +-
 pango/pango-engine.c    | 2 +-
 6 files changed, 12 insertions(+), 12 deletions(-)
---
diff --git a/docs/pango-docs.sgml b/docs/pango-docs.sgml
index dc196a63..705b00f6 100644
--- a/docs/pango-docs.sgml
+++ b/docs/pango-docs.sgml
@@ -18,7 +18,7 @@
   <chapter id="pango">
     <title>Basic Pango Interfaces</title>
     <xi:include href="xml/main.xml"/>
-    <xi:include href="xml/fonts.xml"/>
+    <xi:include href="xml/pangofont.xml"/>
     <xi:include href="xml/glyphs.xml"/>
     <xi:include href="xml/text-attributes.xml"/>
     <xi:include href="xml/markup.xml"/>
@@ -39,9 +39,9 @@
 
   <chapter id="lowlevel">
     <title>Low Level Functionality</title>
-    <xi:include href="xml/context.xml"/>
+    <xi:include href="xml/pangocontext.xml"/>
     <xi:include href="xml/tab-stops.xml"/>
-    <xi:include href="xml/coverage-maps.xml"/>
+    <xi:include href="xml/pangocoverage.xml"/>
     <xi:include href="xml/pango-renderer.xml"/>
     <xi:include href="xml/pangofc-fontmap.xml"/>
     <xi:include href="xml/pangofc-font.xml"/>
@@ -53,7 +53,7 @@
   <chapter id="deprecated">
     <title>Deprecated APIs</title>
     <xi:include href="xml/opentype.xml"/>
-    <xi:include href="xml/engines.xml"/>
+    <xi:include href="xml/pangoengine.xml"/>
     <xi:include href="xml/pango-engine-lang.xml"/>
     <xi:include href="xml/pango-engine-shape.xml"/>
     <xi:include href="xml/modules.xml"/>
diff --git a/docs/pango-sections.txt b/docs/pango-sections.txt
index 9d6a80ba..b5df6db7 100644
--- a/docs/pango-sections.txt
+++ b/docs/pango-sections.txt
@@ -42,7 +42,7 @@ pango_item_get_type
 
 <SECTION>
 <TITLE>Contexts</TITLE>
-<FILE>context</FILE>
+<FILE>pangocontext</FILE>
 PangoContext
 pango_context_new
 pango_context_changed
@@ -161,7 +161,7 @@ pango_matrix_get_type
 
 <SECTION>
 <TITLE>Coverage Maps</TITLE>
-<FILE>coverage-maps</FILE>
+<FILE>pangocoverage</FILE>
 PangoCoverageLevel
 PANGO_TYPE_COVERAGE_LEVEL
 PangoCoverage
@@ -191,7 +191,7 @@ PangoCoveragePrivate
 
 <SECTION>
 <TITLE>Fonts</TITLE>
-<FILE>fonts</FILE>
+<FILE>pangofont</FILE>
 PangoFontDescription
 PangoStyle
 PangoWeight
@@ -656,7 +656,7 @@ pango_language_get_type
 
 <SECTION>
 <TITLE>Engines</TITLE>
-<FILE>engines</FILE>
+<FILE>pangoengine</FILE>
 PangoEngineInfo
 PangoEngineScriptInfo
 PangoEngine
diff --git a/pango/fonts.c b/pango/fonts.c
index 0b76d9dd..9f3e9af8 100644
--- a/pango/fonts.c
+++ b/pango/fonts.c
@@ -20,7 +20,7 @@
  */
 
 /**
- * SECTION:fonts
+ * SECTION:pangofont
  * @short_description:Structures representing abstract fonts
  * @title: Fonts
  *
diff --git a/pango/pango-context.c b/pango/pango-context.c
index ec1014fa..fbeb4894 100644
--- a/pango/pango-context.c
+++ b/pango/pango-context.c
@@ -45,7 +45,7 @@
 #include "pango-emoji-private.h"
 
 /**
- * SECTION:context
+ * SECTION:pangocontext
  * @title:Contexts
  * @short_description: Global context object
  *
diff --git a/pango/pango-coverage.c b/pango/pango-coverage.c
index 5358e4e7..84bf2235 100644
--- a/pango/pango-coverage.c
+++ b/pango/pango-coverage.c
@@ -20,7 +20,7 @@
  */
 
 /**
- * SECTION:coverage-maps
+ * SECTION:pangocoverage
  * @short_description:Unicode character range coverage storage
  * @title:Coverage Maps
  *
diff --git a/pango/pango-engine.c b/pango/pango-engine.c
index 34d09641..9c7bf3b3 100644
--- a/pango/pango-engine.c
+++ b/pango/pango-engine.c
@@ -20,7 +20,7 @@
  */
 
 /**
- * SECTION:engines
+ * SECTION:pangoengine
  * @short_description:Language-specific and rendering-system-specific processing
  * @title:Engines
  *


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