1
0

rst2s5.py 680 B

123456789101112131415161718192021222324
  1. #!/Users/sasha/Desktop/sharix-open-webapp-base/venv/bin/python3
  2. # $Id: rst2s5.py 8927 2022-01-03 23:50:05Z milde $
  3. # Author: Chris Liechti <cliechti@gmx.net>
  4. # Copyright: This module has been placed in the public domain.
  5. """
  6. A minimal front end to the Docutils Publisher, producing HTML slides using
  7. the S5 template system.
  8. """
  9. try:
  10. import locale
  11. locale.setlocale(locale.LC_ALL, '')
  12. except:
  13. pass
  14. from docutils.core import publish_cmdline, default_description
  15. description = ('Generates S5 (X)HTML slideshow documents from standalone '
  16. 'reStructuredText sources. ' + default_description)
  17. publish_cmdline(writer_name='s5', description=description)