summaryrefslogtreecommitdiff
path: root/mate-user-guide/C/gosdconfkeys.sh
diff options
context:
space:
mode:
Diffstat (limited to 'mate-user-guide/C/gosdconfkeys.sh')
-rwxr-xr-xmate-user-guide/C/gosdconfkeys.sh12
1 files changed, 9 insertions, 3 deletions
diff --git a/mate-user-guide/C/gosdconfkeys.sh b/mate-user-guide/C/gosdconfkeys.sh
index 3197dde..f231812 100755
--- a/mate-user-guide/C/gosdconfkeys.sh
+++ b/mate-user-guide/C/gosdconfkeys.sh
@@ -18,14 +18,20 @@ if [ ! -d "mate-desktop" ]; then
git clone https://github.com/mate-desktop/mate-desktop.git
fi
cat << EOF > $OUTPUT
- <sect1 id="mate-dconf-list">
- <title>List of Dconf Keys of MATE Desktop</title>
+<?xml version="1.0" encoding="utf-8"?>
+<?db.chunk.max_depth 3?>
+<section xmlns="http://docbook.org/ns/docbook"
+ xmlns:db="http://docbook.org/ns/docbook"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:its="http://www.w3.org/2005/11/its"
+ version="5.0" its:version="2.0" xml:id="mate-dconf-list" xml:lang="en">
+ <info><title>List of Dconf Keys of MATE Desktop</title></info>
EOF
for file in mate-desktop/schemas/*.gschema.xml.in; do
xsltproc gosdconfkeys.xsl $file >> $OUTPUT
done
cat << EOF >> $OUTPUT
- </sect1>
+ </section>
EOF
xmllint -format $OUTPUT > $OUTPUT.aux
mv $OUTPUT.aux $OUTPUT