Updated documentation from txt to rst

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
Abhijeet Kasurde 2015-08-04 16:41:02 +05:30
parent c605cf92f9
commit e79413acc4
98 changed files with 48 additions and 48 deletions

27
doc/en/apiref.rst Normal file
View File

@ -0,0 +1,27 @@
.. _apiref:
pytest reference documentation
================================================
.. toctree::
:maxdepth: 2
builtin
customize
assert
fixture
yieldfixture
parametrize
xunit_setup
capture
monkeypatch
xdist
tmpdir
mark
skipping
recwarn
unittest
nose
doctest

View File

@ -1,27 +0,0 @@
.. _apiref:
pytest reference documentation
================================================
.. toctree::
:maxdepth: 2
builtin.txt
customize.txt
assert.txt
fixture.txt
yieldfixture.txt
parametrize.txt
xunit_setup.txt
capture.txt
monkeypatch.txt
xdist.txt
tmpdir.txt
mark.txt
skipping.txt
recwarn.txt
unittest.txt
nose.txt
doctest.txt

View File

@ -47,7 +47,7 @@ extensions = ['sphinx.ext.autodoc', 'sphinx.ext.todo', 'sphinx.ext.autosummary',
templates_path = ['_templates'] templates_path = ['_templates']
# The suffix of source filenames. # The suffix of source filenames.
source_suffix = '.txt' source_suffix = '.rst'
# The encoding of source files. # The encoding of source files.
#source_encoding = 'utf-8-sig' #source_encoding = 'utf-8-sig'
@ -73,13 +73,13 @@ copyright = u'2015, holger krekel and pytest-dev team'
# List of patterns, relative to source directory, that match files and # List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files. # directories to ignore when looking for source files.
exclude_patterns = ['links.inc', '_build', 'naming20.txt', 'test/*', exclude_patterns = ['links.inc', '_build', 'naming20.rst', 'test/*',
"old_*", "old_*",
'*attic*', '*attic*',
'*/attic*', '*/attic*',
'funcargs.txt', 'funcargs.rst',
'setup.txt', 'setup.rst',
'example/remoteinterp.txt', 'example/remoteinterp.rst',
] ]

View File

@ -17,11 +17,11 @@ Full pytest documentation
example/index example/index
talks talks
contributing contributing
funcarg_compare.txt funcarg_compare
announce/index announce/index
.. toctree:: .. toctree::
:hidden: :hidden:
changelog.txt changelog

View File

@ -25,10 +25,10 @@ The following examples aim at various use cases you might encounter.
.. toctree:: .. toctree::
:maxdepth: 2 :maxdepth: 2
reportingdemo.txt reportingdemo
simple.txt simple
parametrize.txt parametrize
markers.txt markers
special.txt special
pythoncollection.txt pythoncollection
nonpython.txt nonpython

View File

@ -155,7 +155,7 @@ to create a JUnitXML file that Jenkins_ can pick up and generate reports.
.. _`genscript method`: .. _`genscript method`:
(deprecated) Create a pytest standalone script (deprecated) Create a pytest standalone script
------------------------------------------- -----------------------------------------------
If you are a maintainer or application developer and want people If you are a maintainer or application developer and want people
who don't deal with python much to easily run tests you may generate who don't deal with python much to easily run tests you may generate

View File

@ -5,10 +5,10 @@ Getting started basics
.. toctree:: .. toctree::
:maxdepth: 2 :maxdepth: 2
index.txt index
getting-started.txt getting-started
usage.txt usage
goodpractises.txt goodpractises
projects.txt projects
faq.txt faq