[library-web] fix handling of figures for modules using the new documentation build system
- From: Frederic Peters <fpeters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [library-web] fix handling of figures for modules using the new documentation build system
- Date: Fri, 4 May 2012 07:15:41 +0000 (UTC)
commit 1c61cf3112bdfea3d0e570f246d0bb91758f7272
Author: FrÃdÃric PÃters <fpeters 0d be>
Date: Fri May 4 09:09:58 2012 +0200
fix handling of figures for modules using the new documentation build system
src/modtypes/gnomedocbook.py | 2 +-
src/modtypes/mallard.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/modtypes/gnomedocbook.py b/src/modtypes/gnomedocbook.py
index f6d4413..eea346a 100644
--- a/src/modtypes/gnomedocbook.py
+++ b/src/modtypes/gnomedocbook.py
@@ -93,7 +93,7 @@ class GnomeDocbookModule(DocModule):
doc_linguas = ['en']
try:
- doc_figures = re.findall(r'(?:DOC_FIGURES|HELP_FIGURES)\s+=\s+(.*)',
+ doc_figures = re.findall(r'(?:DOC_FIGURES|HELP_FIGURES|HELP_MEDIA)\s+=\s+(.*)',
self.makefile_am)[0].split()
figures_dirname = os.path.join(ext_dirname, self.dirname, 'C')
for doc_figure in doc_figures:
diff --git a/src/modtypes/mallard.py b/src/modtypes/mallard.py
index 2f613e1..336a812 100644
--- a/src/modtypes/mallard.py
+++ b/src/modtypes/mallard.py
@@ -216,7 +216,7 @@ class MallardModule(DocModule):
return
try:
- doc_figures = re.findall(r'(?:DOC_FIGURES|HELP_FIGURES)\s+=\s+(.*)',
+ doc_figures = re.findall(r'(?:DOC_FIGURES|HELP_FIGURES|HELP_MEDIA)\s+=\s+(.*)',
self.makefile_am)[0].split()
figures_dirname = os.path.join(ext_dirname, self.dirname, 'C')
self.expand_doc_figures(doc_figures)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]