summaryrefslogtreecommitdiff
path: root/wiki-to-help/mwlib_mods/docbook_grammar.py
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2012-09-01 09:51:27 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2012-10-16 11:07:30 -0500
commit61173c1b58efa79c0ba6b08348d2796a249d0186 (patch)
tree00ebf544db18942e2a1ecfc5e5fa16931127d38f /wiki-to-help/mwlib_mods/docbook_grammar.py
parent3dc2e7497f1798ae4ff6c5c8c562666bc10a393c (diff)
move help structure one directory up
Change-Id: Ie970e39fbb6795a92d9fdd13510409d7dcd071bc
Diffstat (limited to 'wiki-to-help/mwlib_mods/docbook_grammar.py')
-rw-r--r--wiki-to-help/mwlib_mods/docbook_grammar.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/wiki-to-help/mwlib_mods/docbook_grammar.py b/wiki-to-help/mwlib_mods/docbook_grammar.py
new file mode 100644
index 0000000000..ebef889f49
--- /dev/null
+++ b/wiki-to-help/mwlib_mods/docbook_grammar.py
@@ -0,0 +1,11 @@
+"""
+New docbook grammar enables more tags.
+"""
+
+## Set up docbookwriter.grammar
+import mwlib.docbookwriter
+import docbook45grammar
+
+def apply():
+ mwlib.docbookwriter.grammar = docbook45grammar.grammar
+