From a4338eeb5489ac9c093d01d9cda95361ff0dd84e Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Mon, 20 Jun 2011 15:32:38 +0200 Subject: [PATCH] docs: modernize docs Get rid of entities and use xi:includes instead. This makes the docs build faster and makes it easier to conditionally include stuff. --- docs/Makefile.am | 7 ++-- docs/pango-docs.sgml | 101 +++++++++++++++++++-------------------------------- 2 files changed, 40 insertions(+), 68 deletions(-) diff --git a/docs/Makefile.am b/docs/Makefile.am index 129f2cb..3f5cea8 100644 --- a/docs/Makefile.am +++ b/docs/Makefile.am @@ -9,6 +9,9 @@ DOC_MAIN_SGML_FILE=pango-docs.sgml # Extra options to supply to gtkdoc-scan SCAN_OPTIONS=--deprecated-guards="PANGO_DISABLE_DEPRECATED" --rebuild-types +# Extra options to supply to gtkdoc-mkdb. +MKDB_OPTIONS=--sgml-mode --output-format=xml + # The directory containing the source code. Relative to $(srcdir) DOC_SOURCE_DIR=../pango @@ -95,10 +98,6 @@ endif GTKDOC_LIBS += $(GLIB_LIBS) -# Extra options to supply to gtkdoc-mkdb -MKDB_OPTIONS=--sgml-mode --output-format=xml - - # Non-autogenerated SGML files to be included in $(DOC_MAIN_SGML_FILE) content_files = \ pango_markup.sgml \ diff --git a/docs/pango-docs.sgml b/docs/pango-docs.sgml index a94cb2b..42c4935 100644 --- a/docs/pango-docs.sgml +++ b/docs/pango-docs.sgml @@ -1,39 +1,11 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - ]> - + Pango Reference Manual for Pango &version; @@ -41,55 +13,56 @@ Basic Pango Interfaces - &pango-Text-Processing; - &pango-Glyph-Storage; - &pango-Fonts; - &pango-Text-Attributes; - &pango-Tab-Stops; - &markup-format; - &pango-Layout-Objects; - &pango-Scripts; - &pango-Bidi-Text; - &pango-Vertical-Text; + + + + + + + + + + Rendering with Pango - &pango-Win32-Fonts-and-Rendering; - &pango-FreeType-Fonts-and-Rendering; - &pango-Xft-Fonts-and-Rendering; - &pangocairo; - &pango-ATSUI-Fonts; - &pango-X-Fonts-and-Rendering; + + + + + + Low Level Functionality - &PangoRenderer; - &PangoFcFontMap; - &PangoFcFont; - &PangoFcDecoder; - &pango-OpenType-Font-Handling; - &pango-Coverage-Maps; - &pango-Engines; - &PangoEngineLang; - &PangoEngineShape; - &pango-Modules; - &pango-Misc-Utils; - &pango-Version; + + + + + + + + + + + + Pango Tools - - &pango-querymodules; + Object Hierarchy - &pango-tree-index; + + + Index -- 2.7.4