Rename :filename: option of code-block directive to :caption:

This commit is contained in:
tk0miya
2014-08-11 22:36:31 +09:00
parent 1d65d9cdc6
commit 3e1667290b
13 changed files with 90 additions and 26 deletions

View File

@@ -0,0 +1,21 @@
Dedent
======
Code blocks
-----------
.. code-block:: ruby
:caption: caption-test.rb
def ruby?
false
end
Literal Include
---------------
.. literalinclude:: literal.inc
:language: python
:caption: caption-test.py
:lines: 10-11

View File

@@ -2,6 +2,7 @@ test-directive-code
===================
.. toctree::
:glob:
*