summaryrefslogtreecommitdiff
path: root/tests/roots
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2014-03-01 08:42:35 +0100
committerGeorg Brandl <georg@python.org>2014-03-01 08:42:35 +0100
commitb55efe522a7e373970e2f54242e519d0ff80273b (patch)
tree4c116f2c7a96c76904e545ac4e43081f2ba3edcc /tests/roots
parent5493f7c5b3691f0c52680db9947341721e7dca66 (diff)
downloadsphinx-b55efe522a7e373970e2f54242e519d0ff80273b.tar.gz
fix windows newlines
Diffstat (limited to 'tests/roots')
-rw-r--r--tests/roots/test-autosummary/conf.py10
-rw-r--r--tests/roots/test-autosummary/contents.rst12
-rw-r--r--tests/roots/test-autosummary/dummy_module.py42
3 files changed, 32 insertions, 32 deletions
diff --git a/tests/roots/test-autosummary/conf.py b/tests/roots/test-autosummary/conf.py
index dc54762e..542696e9 100644
--- a/tests/roots/test-autosummary/conf.py
+++ b/tests/roots/test-autosummary/conf.py
@@ -1,5 +1,5 @@
-extensions = ['sphinx.ext.autosummary']
-
-# The suffix of source filenames.
-source_suffix = '.rst'
-autosummary_generate = True
+extensions = ['sphinx.ext.autosummary']
+
+# The suffix of source filenames.
+source_suffix = '.rst'
+autosummary_generate = True
diff --git a/tests/roots/test-autosummary/contents.rst b/tests/roots/test-autosummary/contents.rst
index 32390a32..3f16af99 100644
--- a/tests/roots/test-autosummary/contents.rst
+++ b/tests/roots/test-autosummary/contents.rst
@@ -1,6 +1,6 @@
-
-.. autosummary::
- :nosignatures:
- :toctree:
-
- dummy_module
+
+.. autosummary::
+ :nosignatures:
+ :toctree:
+
+ dummy_module
diff --git a/tests/roots/test-autosummary/dummy_module.py b/tests/roots/test-autosummary/dummy_module.py
index 382e19db..fd544961 100644
--- a/tests/roots/test-autosummary/dummy_module.py
+++ b/tests/roots/test-autosummary/dummy_module.py
@@ -1,21 +1,21 @@
-
-def withSentence():
- '''I have a sentence which
- spans multiple lines. Then I have
- more stuff
- '''
- pass
-
-def noSentence():
- '''this doesn't start with a
- capital. so it's not considered
- a sentence
- '''
- pass
-
-def emptyLine():
- '''This is the real summary
-
- However, it did't end with a period.
- '''
- pass
+
+def withSentence():
+ '''I have a sentence which
+ spans multiple lines. Then I have
+ more stuff
+ '''
+ pass
+
+def noSentence():
+ '''this doesn't start with a
+ capital. so it's not considered
+ a sentence
+ '''
+ pass
+
+def emptyLine():
+ '''This is the real summary
+
+ However, it did't end with a period.
+ '''
+ pass