Matěj Cepl
2017-02-28 17:36:44 UTC
Using “rst2html5 (Docutils 0.13.1 [release], Python 2.7.13, on
linux2)” and this docutils.conf in the directory with my *.rst
file:
[general]
input_encoding=utf-8
[html5 writer]
cloak_email_addresses: yes
stylesheet_path: minimal.css,plain.css,mystyle.css
template: layout.tpl
I get no stylesheet or template used. However, when I run
$ rst2html5 --template=layout.tpl \
--stylesheet-path=minimal.css,plain.css,mystyle.css \
source.rst >output.html
both template and stylesheets are used.
What’s the difference?
Best,
Matěj
--
https://matej.ceplovi.cz/blog/, Jabber: ***@ceplovi.cz
GPG Finger: 3C76 A027 CA45 AD70 98B5 BC1D 7920 5802 880B C9D8
I love deadlines. I like the whooshing sound they make as they
fly by.
-- Douglas Adams, The Salmon of Doubt
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Docutils-users mailing list
Docutils-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/docutils-users
Please use "Reply A
linux2)” and this docutils.conf in the directory with my *.rst
file:
[general]
input_encoding=utf-8
[html5 writer]
cloak_email_addresses: yes
stylesheet_path: minimal.css,plain.css,mystyle.css
template: layout.tpl
I get no stylesheet or template used. However, when I run
$ rst2html5 --template=layout.tpl \
--stylesheet-path=minimal.css,plain.css,mystyle.css \
source.rst >output.html
both template and stylesheets are used.
What’s the difference?
Best,
Matěj
--
https://matej.ceplovi.cz/blog/, Jabber: ***@ceplovi.cz
GPG Finger: 3C76 A027 CA45 AD70 98B5 BC1D 7920 5802 880B C9D8
I love deadlines. I like the whooshing sound they make as they
fly by.
-- Douglas Adams, The Salmon of Doubt
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Docutils-users mailing list
Docutils-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/docutils-users
Please use "Reply A