aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPetri Lehtinen <petri@digip.org>2016-08-30 21:09:28 +0300
committerPetri Lehtinen <petri@digip.org>2016-08-30 21:09:28 +0300
commit012c5f0ecac48db286d4d737133b6d64d128939c (patch)
tree5b0a81fa3002d0fecfd3d727d92366cb89b9e52b /doc
parenta931aace16b24cd51d0d468a5f91dac67713918c (diff)
downloadjansson-012c5f0ecac48db286d4d737133b6d64d128939c.zip
jansson-012c5f0ecac48db286d4d737133b6d64d128939c.tar.gz
jansson-012c5f0ecac48db286d4d737133b6d64d128939c.tar.bz2
jansson 2.8v2.8
Diffstat (limited to 'doc')
-rw-r--r--doc/gettingstarted.rst4
-rw-r--r--doc/tutorial.rst4
2 files changed, 6 insertions, 2 deletions
diff --git a/doc/gettingstarted.rst b/doc/gettingstarted.rst
index 8fc9442..292cfb6 100644
--- a/doc/gettingstarted.rst
+++ b/doc/gettingstarted.rst
@@ -219,7 +219,9 @@ link the program as follows::
cc -o prog prog.c -ljansson
-Starting from version 1.2, there's also support for pkg-config_::
+Starting from version 1.2, there's also support for pkg-config_:
+
+.. code-block:: shell
cc -o prog prog.c `pkg-config --cflags --libs jansson`
diff --git a/doc/tutorial.rst b/doc/tutorial.rst
index c2df081..a92f488 100644
--- a/doc/tutorial.rst
+++ b/doc/tutorial.rst
@@ -256,7 +256,9 @@ For a detailed explanation of reference counting in Jansson, see
:ref:`apiref-reference-count` in :ref:`apiref`.
The program's ready, let's test it and view the latest commits in
-Jansson's repository::
+Jansson's repository:
+
+.. code-block:: shell
$ ./github_commits akheron jansson
1581f26a Merge branch '2.3'