marianoguerra / rst2html5

transform restructuredtext documents to html5 + twitter's bootstrap css, deck.js or reveal.js
http://marianoguerra.github.com/rst2html5
MIT License
177 stars 51 forks source link

How to use custom theme #65

Closed pcav closed 9 years ago

pcav commented 9 years ago

Currently, to use custom revealjs themes one has to add:

--reveal-js-opts theme=mytheme

and the theme must be in

/usr/local/lib/python2.7/dist-packages/html5css3/thirdparty/revealjs/css/theme/

which is not nice; it is unclear from the instruction if a custom theme can be used from a custom dir (e.g. ./).

marianoguerra commented 9 years ago

just added a new option themepath to specif the theme base path, check the readme for instructions and let me know if it works.

pcav commented 9 years ago

Thanks for this. Could you release a new version of the package, for the ease of upgrading and testing?

marianoguerra commented 9 years ago

https://pypi.python.org/pypi/rst2html5-tools/0.2.4

marianoguerra commented 9 years ago

you can also checkout the code, checkout the submodules and do

sudo python setup.py install
marianoguerra commented 9 years ago

documented here:

https://github.com/marianoguerra/rst2html5#get-it