mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
* rename a few test modules to make the names more consistent * do not copy/use Sphinx from build/ (unnecessary without 2to3) * use a temporary dir for *all* test projects, the source tree will stay pristine that way (default is tests/build) * speed up tests by ~3x by splitting up test projects and avoiding rebuilds
54 lines
612 B
ReStructuredText
54 lines
612 B
ReStructuredText
Dedent
|
|
======
|
|
|
|
Code blocks
|
|
-----------
|
|
|
|
.. code-block:: ruby
|
|
:linenos:
|
|
:dedent: 0
|
|
|
|
def ruby?
|
|
false
|
|
end
|
|
|
|
.. code-block:: ruby
|
|
:linenos:
|
|
:dedent: 1
|
|
|
|
def ruby?
|
|
false
|
|
end
|
|
|
|
.. code-block:: ruby
|
|
:linenos:
|
|
:dedent: 2
|
|
|
|
def ruby?
|
|
false
|
|
end
|
|
|
|
.. code-block:: ruby
|
|
:linenos:
|
|
:dedent: 3
|
|
|
|
def ruby?
|
|
false
|
|
end
|
|
|
|
.. code-block:: ruby
|
|
:linenos:
|
|
:dedent: 4
|
|
|
|
def ruby?
|
|
false
|
|
end
|
|
|
|
.. code-block:: ruby
|
|
:linenos:
|
|
:dedent: 1000
|
|
|
|
def ruby?
|
|
false
|
|
end
|