fix issue 35 - provide download link and improved PDF version
This commit is contained in:
parent
c40dc9f779
commit
8713f4ba60
|
@ -16,6 +16,7 @@ Changes between 2.0.3 and 2.1.0.DEV
|
||||||
- show releaselevel information in test runs for pypy
|
- show releaselevel information in test runs for pypy
|
||||||
- reworked doc pages for better navigation and PDF generation
|
- reworked doc pages for better navigation and PDF generation
|
||||||
- report KeyboardInterrupt even if interrupted during session startup
|
- report KeyboardInterrupt even if interrupted during session startup
|
||||||
|
- fix issue 35 - provide PDF doc version and download link from index page
|
||||||
|
|
||||||
Changes between 2.0.2 and 2.0.3
|
Changes between 2.0.2 and 2.0.3
|
||||||
----------------------------------------------
|
----------------------------------------------
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
#
|
#
|
||||||
__version__ = '2.1.0.dev11'
|
__version__ = '2.1.0.dev12'
|
||||||
|
|
|
@ -48,11 +48,10 @@ copyright = u'2011, holger krekel et alii'
|
||||||
# |version| and |release|, also used in various other places throughout the
|
# |version| and |release|, also used in various other places throughout the
|
||||||
# built documents.
|
# built documents.
|
||||||
#
|
#
|
||||||
# The short X.Y version.
|
|
||||||
version = '2.0'
|
|
||||||
# The full version, including alpha/beta/rc tags.
|
# The full version, including alpha/beta/rc tags.
|
||||||
import pytest
|
import pytest
|
||||||
release = pytest.__version__
|
release = pytest.__version__
|
||||||
|
# The short X.Y version.
|
||||||
version = ".".join(release.split(".")[:2])
|
version = ".".join(release.split(".")[:2])
|
||||||
|
|
||||||
# The language for content autogenerated by Sphinx. Refer to documentation
|
# The language for content autogenerated by Sphinx. Refer to documentation
|
||||||
|
@ -184,7 +183,7 @@ htmlhelp_basename = 'pytestdoc'
|
||||||
# Grouping the document tree into LaTeX files. List of tuples
|
# Grouping the document tree into LaTeX files. List of tuples
|
||||||
# (source start file, target name, title, author, documentclass [howto/manual]).
|
# (source start file, target name, title, author, documentclass [howto/manual]).
|
||||||
latex_documents = [
|
latex_documents = [
|
||||||
('index', 'pytest.tex', u'pytest Documentation',
|
('contents', 'pytest.tex', u'pytest Documentation',
|
||||||
u'holger krekel et alii', 'manual'),
|
u'holger krekel et alii', 'manual'),
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@ -228,7 +227,7 @@ man_pages = [
|
||||||
epub_title = u'pytest'
|
epub_title = u'pytest'
|
||||||
epub_author = u'holger krekel et alii'
|
epub_author = u'holger krekel et alii'
|
||||||
epub_publisher = u'holger krekel et alii'
|
epub_publisher = u'holger krekel et alii'
|
||||||
epub_copyright = u'2010, holger krekel et alii'
|
epub_copyright = u'2011, holger krekel et alii'
|
||||||
|
|
||||||
# The language of the text. It defaults to the language option
|
# The language of the text. It defaults to the language option
|
||||||
# or en if the language is not set.
|
# or en if the language is not set.
|
||||||
|
|
|
@ -1,9 +1,13 @@
|
||||||
|
|
||||||
.. _toc:
|
.. _toc:
|
||||||
|
|
||||||
Table of Contents
|
Full pytest documenation
|
||||||
========================
|
========================
|
||||||
|
|
||||||
|
`Download latest version as PDF <http://media.readthedocs.org/pdf/pytest/latest/pytest.pdf>`_
|
||||||
|
|
||||||
|
.. `Download latest version as EPUB <http://media.readthedocs.org/epub/pytest/latest/pytest.epub>`_
|
||||||
|
|
||||||
.. toctree::
|
.. toctree::
|
||||||
:maxdepth: 2
|
:maxdepth: 2
|
||||||
|
|
||||||
|
|
|
@ -6,11 +6,11 @@ Welcome to pytest / features
|
||||||
- **a mature full-featured testing tool**
|
- **a mature full-featured testing tool**
|
||||||
|
|
||||||
- runs on Posix/Windows, Python 2.4-3.2, PyPy and Jython
|
- runs on Posix/Windows, Python 2.4-3.2, PyPy and Jython
|
||||||
|
- :ref:`comprehensive online and PDF documentation <toc>`
|
||||||
- continuously `tested on many Python interpreters <http://hudson.testrun.org/view/pytest/job/pytest/>`_
|
- continuously `tested on many Python interpreters <http://hudson.testrun.org/view/pytest/job/pytest/>`_
|
||||||
- used in :ref:`many projects and organisations <projects>`, in test
|
- used in :ref:`many projects and organisations <projects>`, in test
|
||||||
suites ranging from 10 to 10s of thousands of tests
|
suites ranging from 10 to 10s of thousands of tests
|
||||||
- has :ref:`comprehensive documentation <toc>`
|
- comes with many :ref:`tested examples <examples>`
|
||||||
- comes with :ref:`tested examples <examples>`
|
|
||||||
- supports :ref:`good integration practises <goodpractises>`
|
- supports :ref:`good integration practises <goodpractises>`
|
||||||
|
|
||||||
- **provides no-boilerplate testing**
|
- **provides no-boilerplate testing**
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -22,7 +22,7 @@ def main():
|
||||||
name='pytest',
|
name='pytest',
|
||||||
description='py.test: simple powerful testing with Python',
|
description='py.test: simple powerful testing with Python',
|
||||||
long_description = long_description,
|
long_description = long_description,
|
||||||
version='2.1.0.dev11',
|
version='2.1.0.dev12',
|
||||||
url='http://pytest.org',
|
url='http://pytest.org',
|
||||||
license='MIT license',
|
license='MIT license',
|
||||||
platforms=['unix', 'linux', 'osx', 'cygwin', 'win32'],
|
platforms=['unix', 'linux', 'osx', 'cygwin', 'win32'],
|
||||||
|
|
Loading…
Reference in New Issue