[Cogl] [PATCH 05/53] doc: Re-organise the first few sections

Damien Lespiau damien.lespiau at gmail.com
Tue Jan 1 06:30:41 PST 2013


From: Damien Lespiau <damien.lespiau at intel.com>

2 Things seems to mixed at the top level here. General APIs that work
throughout the library and the context object. Let's split the sections
in two then.
---
 doc/reference/cogl2/cogl2-docs.xml.in |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/doc/reference/cogl2/cogl2-docs.xml.in b/doc/reference/cogl2/cogl2-docs.xml.in
index 8ba6f2b..4568771 100644
--- a/doc/reference/cogl2/cogl2-docs.xml.in
+++ b/doc/reference/cogl2/cogl2-docs.xml.in
@@ -61,9 +61,16 @@
 
     </section>
 
-    <xi:include href="xml/cogl-object.xml"/>
-    <xi:include href="xml/cogl-error.xml"/>
-    <xi:include href="xml/cogl-context.xml"/>
+    <section id="cogl-general-apis">
+      <title>General API concepts</title>
+      <xi:include href="xml/cogl-object.xml"/>
+      <xi:include href="xml/cogl-error.xml"/>
+    </section>
+
+    <section id="cogl-context-apis">
+      <title>Setting Up A Drawing Context</title>
+      <xi:include href="xml/cogl-context.xml"/>
+    </section>
 
     <section id="cogl-pipeline-apis">
       <title>Setting Up A GPU Pipeline</title>
-- 
1.7.7.5



More information about the Cogl mailing list