[PATHC] [DOCS] LangRef: Insert numerous .. code-block:: llvm to colorize examples

Mikael Lyngvig mikael at lyngvig.org
Sun Nov 24 20:04:05 PST 2013


Please ignore this commit if the existing "::" blocks (which makes Sphinx
not colorize the examples) are intentional.

I've gone through and changed a number of cases like this:

::

   [llvm snippet]

into:

.. code-block:: llvm

   [llvm snippet]

Also, I changed three occurences of:

   Syntax::

into:

   Syntax:
   ^^^^^^^^

So that the document becomes more consistent in its use of sections for
syntax examples.

The net effect is that the document becomes more "vivid" or "lively" to
read in its HTML form.


-- Mikael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131125/fa60b800/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: LangRef.rst.patch
Type: application/octet-stream
Size: 30234 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131125/fa60b800/attachment.obj>


More information about the llvm-commits mailing list