[library-web] make it possible to force a gtk-doc module to use html files from tarball
- From: Frederic Peters <fpeters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [library-web] make it possible to force a gtk-doc module to use html files from tarball
- Date: Fri, 16 Jan 2015 17:10:38 +0000 (UTC)
commit 3394dfe8d0e440049c2b22c3d23549625dc2f1c6
Author: Frédéric Péters <fpeters 0d be>
Date: Fri Jan 16 18:06:38 2015 +0100
make it possible to force a gtk-doc module to use html files from tarball
data/overlay.xml.in | 3 +++
src/modtypes/gtkdoc.py | 5 +++++
2 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/data/overlay.xml.in b/data/overlay.xml.in
index 84e5ad7..e6e757e 100644
--- a/data/overlay.xml.in
+++ b/data/overlay.xml.in
@@ -1296,4 +1296,7 @@
<quirk>no-title-and-abstract-from-document</quirk>
<quirk>hide-section-numbers</quirk>
</quirks>
+ <quirks doc_module="NetworkManager" channel="devel">
+ <quirk>force-html-transform</quirk>
+ </quirks>
</overlay>
diff --git a/src/modtypes/gtkdoc.py b/src/modtypes/gtkdoc.py
index 7e31478..7fbb538 100644
--- a/src/modtypes/gtkdoc.py
+++ b/src/modtypes/gtkdoc.py
@@ -97,6 +97,11 @@ class GtkDocModule(DocModule):
logging.warn('XInclude error, creating fake xsltproc return code')
xsltproc.returncode = 6
+ quirks = app.overlay.get_quirks(self)
+ if 'force-html-transform' in quirks:
+ logging.info('module marked as using html files, creating fake xsltproc return code')
+ xsltproc.returncode = 6
+
if xsltproc.returncode != 0:
logging.warn('%s failed with error %d' % (' '.join(cmd), xsltproc.returncode))
if xsltproc.returncode == 6:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]