summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2015-03-11 20:27:56 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2015-03-11 20:27:56 +0100
commit85a665e562782c942f7ab32fd99efb31d7370e53 (patch)
tree6660e576a6412e5cf182c0364c6b0bbd081ed39c /scripts
parentd36bc730c7ec3041688d177557de1bfb5a1bb591 (diff)
downloadwebsite-85a665e562782c942f7ab32fd99efb31d7370e53.tar.xz
bupa: use superscript footnotes
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/bupa4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/bupa b/scripts/bupa
index dd4052e..0676432 100755
--- a/scripts/bupa
+++ b/scripts/bupa
@@ -27,7 +27,9 @@ class Page(object):
self.body = page_dict['body'][0]
def reST_to_html(s):
- return core.publish_parts(s, writer_name='html4css1')['fragment']
+ formated = core.publish_parts(s, writer_name='html4css1',
+ settings_overrides={'footnote_references': 'superscript'})
+ return formated['fragment']
def filename_to_id(file_name):
filename = path.split(file_name)[1]