summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2016-11-15 11:47:14 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2016-11-15 11:47:14 +0100
commit13c8f931b3edc89d8d67c816dac8965608648bd0 (patch)
treefc35f18235c840d9ffbcdd71a924e93d7093a19a /utils
parent9abcf06dff2c4f0987433746ce5037eac711b31c (diff)
downloadkyblo-13c8f931b3edc89d8d67c816dac8965608648bd0.tar.xz
Move scripts to scripts/
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Diffstat (limited to 'utils')
-rw-r--r--utils/__init__.py0
-rw-r--r--utils/reST.py13
2 files changed, 0 insertions, 13 deletions
diff --git a/utils/__init__.py b/utils/__init__.py
deleted file mode 100644
index e69de29..0000000
--- a/utils/__init__.py
+++ /dev/null
diff --git a/utils/reST.py b/utils/reST.py
deleted file mode 100644
index d99758c..0000000
--- a/utils/reST.py
+++ /dev/null
@@ -1,13 +0,0 @@
-from docutils import core
-
-def reST_to_html(source):
- settings_overrides = {
- 'footnote_references': 'superscript',
- 'auto_id_prefix': 'id-',
- 'initial_header_level': 3,
- 'doctitle_xform': False,
- }
- formatted = core.publish_parts(source,
- writer_name='html4css1',
- settings_overrides=settings_overrides)
- return formatted['body']