Skip to content

Praecordi/sphinx-timeline

 
 

Repository files navigation

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 ...

About

A sphinx extension to create timelines

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 83.9%
  • CSS 13.4%
  • JavaScript 2.7%