hieroglyph
hieroglyph copied to clipboard
Generate HTML presentations from plain text sources with all the power of Sphinx.
============ Hieroglyph
.. image:: https://api.travis-ci.org/nyergler/hieroglyph.png?branch=master :target: https://travis-ci.org/nyergler/hieroglyph
.. image:: https://coveralls.io/repos/nyergler/hieroglyph/badge.png?branch=master :target: https://coveralls.io/r/nyergler/hieroglyph?branch=master
Hieroglyph is an extension for Sphinx
_ which builds HTML
presentations from ReStructured Text documents.
Installing
You can install Hieroglyph using easy_install
or pip
::
$ pip install hieroglyph
You can also install the latest development version, which may contain new features::
$ pip install git+https://github.com/nyergler/hieroglyph#egg=hieroglyph
Hieroglyph supports Sphinx 2.4 and later, and Python 3.7 and later.
Using Hieroglyph
You can start a new Hieroglyph presentation using the included quickstart script::
$ hieroglyph-quickstart
This will generate the Sphinx configuration, along with an optional Makefile and batch file, with Hieroglyph enabled.
If you're on something UNIX-like (Linux, Mac OS X, etc), you can then
generate your slides by running make
::
$ make slides
You can also add Hieroglyph as a Sphinx extension to your existing configuration::
extensions = [ 'hieroglyph', ]
Read the documentation
_ for all the details about using,
configuring, and extending Hieroglyph.
Connect
You can connect with other Hieroglyph users and the developers via the
hieroglyph-users
_ email list (Google Groups). A Gmane archive
_ is
also available.
.. _hieroglyph-users
: http://groups.google.com/d/forum/hieroglyph-users
.. _Gmane archive
: http://dir.gmane.org/gmane.comp.python.hieroglyph.user
Developing
Making a Release
Hieroglyph uses Versioneer
_ for managing verison numbers. Versioneer is
able to derive a reasonable version number using git tags as the source of
truth.
To create a release, do the following:
-
Update the change log (
NEWS.txt
_) -
Tag the release commit as
hieroglyph-x.y.z
-
Build the distributions using
setup.py
::$ python setup.py sdist bdist_wheel
-
Push the changes to Github & upload to PyPI using
Twine
_::$ git push origin head $ twine upload dist/
License
Hieroglyph is made available under a BSD license; see LICENSE for details.
Included slide CSS and JavaScript originally based on HTML 5 Slides
_
and io-2012-slides
_ projects licensed under the Apache Public
License.
.. _Sphinx
: http://sphinx.pocoo.org/
.. _HTML 5 Slides
: http://code.google.com/p/html5slides/
.. _io-2012-slides
: https://code.google.com/p/io-2012-slides/
.. _Read the documentation
: http://docs.hieroglyph.io/
.. _Versioneer
: https://github.com/warner/python-versioneer
.. _Twine
: https://twine.readthedocs.io/en/latest/
.. _NEWS.txt
: ./NEWS.txt