Skip to content

Commit

Permalink
README.rst syntax highlight shell
Browse files Browse the repository at this point in the history
  • Loading branch information
intermittentnrg authored and amotl committed Apr 21, 2024
1 parent 7051a1d commit bdec896
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ in its postprocessing subsystem.
grafanimate
===========

::
.. code:: sh
pip install grafanimate
Expand Down Expand Up @@ -114,7 +114,9 @@ A scenario definition:
)
In order to run a built-in scenario, invoke::
In order to run a built-in scenario, invoke:

.. code:: sh
grafanimate --scenario=playdemo --output=./animations
Expand All @@ -131,7 +133,9 @@ Help
====

For getting a detailed and descriptive overview about all available command
line options, please invoke::
line options, please invoke:

.. code:: sh
grafanimate --help
Expand All @@ -141,7 +145,7 @@ Examples
Examples for scenario mode. Script your animations in file ``scenarios.py`` or
any other Python module or file.

::
.. code:: sh
# Use freely accessible `play.grafana.org` for demo purposes.
grafanimate --scenario=playdemo --output=./animations
Expand All @@ -162,7 +166,7 @@ Usage in Containers
You can use ``grafanimate`` with Docker and Podman. An OCI image is published
to ``ghcr.io/panodata/grafanimate``.

::
.. code:: sh
docker run --rm -it --volume=$(PWD)/animations:/animations ghcr.io/panodata/grafanimate \
--header-layout=no-chrome \
Expand Down Expand Up @@ -289,7 +293,7 @@ to implement more complex animations on top of Grafana.
Development
***********

::
.. code:: sh
# Acquire sources.
git clone https://github.com/panodata/grafanimate
Expand Down

0 comments on commit bdec896

Please sign in to comment.