[brasero/wip/hadess/add-ci] docs: Use XML gtk-doc mode rather than SGML mode



commit d6e58f579cffa2283456baad463853463aeacc13
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Sep 9 18:39:33 2021 +0200

    docs: Use XML gtk-doc mode rather than SGML mode
    
    The SGML mode is obsolete.

 docs/reference/libbrasero-burn/Makefile.am                            | 4 ++--
 .../{libbrasero-burn-docs.sgml => libbrasero-burn-docs.xml}           | 0
 docs/reference/libbrasero-media/Makefile.am                           | 4 ++--
 .../{libbrasero-media-docs.sgml => libbrasero-media-docs.xml}         | 0
 4 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/docs/reference/libbrasero-burn/Makefile.am b/docs/reference/libbrasero-burn/Makefile.am
index 2636c4b2..fc99ddab 100644
--- a/docs/reference/libbrasero-burn/Makefile.am
+++ b/docs/reference/libbrasero-burn/Makefile.am
@@ -12,7 +12,7 @@ AUTOMAKE_OPTIONS = 1.6
 DOC_MODULE=libbrasero-burn
 
 # The top-level SGML file. You can change this if you want to.
-DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.sgml
+DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.xml
 
 # The directory containing the source code. Relative to $(srcdir).
 # gtk-doc will search all .c & .h files beneath here for inline comments
@@ -29,7 +29,7 @@ SCAN_OPTIONS=
 
 # Extra options to supply to gtkdoc-mkdb.
 # e.g. MKDB_OPTIONS=--sgml-mode --output-format=xml
-MKDB_OPTIONS=--sgml-mode --output-format=xml
+MKDB_OPTIONS=--xml-mode --output-format=xml
 
 # Extra options to supply to gtkdoc-mktmpl
 # e.g. MKTMPL_OPTIONS=--only-section-tmpl
diff --git a/docs/reference/libbrasero-burn/libbrasero-burn-docs.sgml 
b/docs/reference/libbrasero-burn/libbrasero-burn-docs.xml
similarity index 100%
rename from docs/reference/libbrasero-burn/libbrasero-burn-docs.sgml
rename to docs/reference/libbrasero-burn/libbrasero-burn-docs.xml
diff --git a/docs/reference/libbrasero-media/Makefile.am b/docs/reference/libbrasero-media/Makefile.am
index 6c25dbbf..c6e69b63 100644
--- a/docs/reference/libbrasero-media/Makefile.am
+++ b/docs/reference/libbrasero-media/Makefile.am
@@ -12,7 +12,7 @@ AUTOMAKE_OPTIONS = 1.6
 DOC_MODULE=libbrasero-media
 
 # The top-level SGML file. You can change this if you want to.
-DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.sgml
+DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.xml
 
 # The directory containing the source code. Relative to $(srcdir).
 # gtk-doc will search all .c & .h files beneath here for inline comments
@@ -29,7 +29,7 @@ SCAN_OPTIONS=
 
 # Extra options to supply to gtkdoc-mkdb.
 # e.g. MKDB_OPTIONS=--sgml-mode --output-format=xml
-MKDB_OPTIONS=--sgml-mode --output-format=xml
+MKDB_OPTIONS=--xml-mode --output-format=xml
 
 # Extra options to supply to gtkdoc-mktmpl
 # e.g. MKTMPL_OPTIONS=--only-section-tmpl
diff --git a/docs/reference/libbrasero-media/libbrasero-media-docs.sgml 
b/docs/reference/libbrasero-media/libbrasero-media-docs.xml
similarity index 100%
rename from docs/reference/libbrasero-media/libbrasero-media-docs.sgml
rename to docs/reference/libbrasero-media/libbrasero-media-docs.xml


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