* for pull request #258: update CHANGES, add tests, add a document and refactoring.

This commit is contained in:
Takayuki Shimizukawa
2014-08-10 23:03:02 +09:00
parent 4f357d9edd
commit d39327d539
8 changed files with 231 additions and 14 deletions

View File

@@ -0,0 +1,3 @@
# -*- coding: utf-8 -*-
master_doc = 'index'

View File

@@ -0,0 +1,22 @@
Dedent
======
Code blocks
-----------
.. code-block:: ruby
:linenos:
:dedent: 4
def ruby?
false
end
Literal Include
---------------
.. literalinclude:: literal.inc
:language: python
:lines: 10-11
:dedent: 4

View File

@@ -0,0 +1,24 @@
test-directive-code
===================
.. toctree::
*
Code blocks
-----------
.. code-block:: ruby
:linenos:
def ruby?
false
end
Literal Includes
----------------
.. literalinclude:: literal.inc
:language: python

View File

@@ -0,0 +1,13 @@
# Literally included file using Python highlighting
# -*- coding: utf-8 -*-
foo = "Including Unicode characters: üöä"
class Foo:
pass
class Bar:
def baz():
pass
def bar(): pass