mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
26 lines
267 B
ReStructuredText
26 lines
267 B
ReStructuredText
test-directive-code
|
|
===================
|
|
|
|
.. toctree::
|
|
:glob:
|
|
|
|
*
|
|
|
|
|
|
Code blocks
|
|
-----------
|
|
|
|
.. code-block:: ruby
|
|
:linenos:
|
|
|
|
def ruby?
|
|
false
|
|
end
|
|
|
|
|
|
Literal Includes
|
|
----------------
|
|
|
|
.. literalinclude:: literal.inc
|
|
:language: python
|