sphinx_timeline

A sphinx extension to create timelines.


Keywords
sphinx, timeline
License
MIT
Install
pip install sphinx_timeline==0.2.1

Documentation

sphinx-timeline

PyPI

A sphinx extension to create timelines.

Usage

Install sphinx-timeline with pip install sphinx-timeline, then add sphinx_timeline to your conf.py file's extensions variable:

extensions = ["sphinx_timeline"]

Now add a timeline directive to your document:

.. timeline::
   - start: 1980-02-03
     name: 1st event
   - start: 1990-02-03
     name: 2nd event
   - start: 2000-02-03
     name: 3rd event
   ---
   **{{dtrange}}**

   *{{e.name}}*

   Description ...