Commit a4b8e3bf authored by Dave Jones's avatar Dave Jones
Browse files

Fix highlightlang warnings

The highlightlang directive was deprecated in favour of highlight.
Also fix a warning about parsing a code-block (which is actually an
e-mail snippet).
parent 2a43f0b2
.. highlightlang:: c++
.. highlight:: c++
Embedding Python APT
====================
......@@ -27,7 +27,7 @@ type :class:`apt_pkg.HashString`:
.. literalinclude:: ../../client-example.cc
.. highlightlang:: sh
.. highlight:: sh
If this file were called client-example.cc, you could compile it using::
......
......@@ -41,7 +41,7 @@ https://anonscm.debian.org/cgit/apt/python-apt.git
cherry-picked or backported from the ``debian/sid`` branch.
.. highlightlang:: c
.. highlight:: cpp
C++ Coding style
----------------
......@@ -244,7 +244,9 @@ for one logical unit).
The changelog message should follow standard git format. At the end of the
message, tags understood by gbp-dch and other tags may be added. An example
commit message could be::
commit message could be:
.. code-block:: none
apt.package: Fix blah blah
......@@ -285,7 +287,7 @@ above. You can send your content in plain text, but reStructuredText is the
preferred format. I (Julian Andres Klode) will review your patch and include
it.
.. highlightlang:: sh
.. highlight:: sh
Example patch session
----------------------
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment