summaryrefslogtreecommitdiffstats
path: root/tests/roots/test-directive-code/index.rst
blob: dab6b70834c65f1b14b1e088101cc52dbe2176a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
test-directive-code
===================

.. toctree::
   :glob:

   *


Code blocks
-----------

.. code-block:: ruby
   :linenos:

       def ruby?
           false
       end


Literal Includes
----------------

.. literalinclude:: literal.inc
   :language: python