diff options
Diffstat (limited to 'scripts/bupa')
-rwxr-xr-x | scripts/bupa | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/bupa b/scripts/bupa index d0630f5..7220ceb 100755 --- a/scripts/bupa +++ b/scripts/bupa @@ -6,12 +6,10 @@ Options: """ from jinja2 import Environment, FileSystemLoader import glob, yaml, docopt - from docutils import core -from docutils.writers.html4css1 import Writer def reST_to_html(s): - return core.publish_parts(s, writer_name='html4css1')['html_body'] + return core.publish_parts(s, writer_name='html4css1')['fragment'] def filename_to_id(file_name): return int(file_name.split('/')[-1]. |