From: Sorin P. <sor...@gm...> - 2022-04-25 11:48:31
|
Hello! (I am not a subscriber of the mailing list and this is my first message.) I have an issue using --template from file: the {head} and {body} placeholders are not replaced. I installed docutils 0.18.1 using pip3 install docutils on Majaro Linux. The template I'm using does not contain something different than the example template, only the URLs inside are changed and a <div> added around {body}. When I'm not using --template, the html is generated properly. When using --template from file, the generated document is the same as the template and it contains the placeholders, just like the template was copied over as output. Am I doing something wrong or is this a bug? Command: rst2html5.py --template='site-root/htdocs/template.html' --no-source-link --report=${ERROR_LEVEL} --no-generator --toc-entry-backlinks --no-section-numbering --strip-comments --strict --tab-width=4 doc.rst >> doc.html Thank you! -- Sorin Pânca. |