fix issue 35 - provide download link and improved PDF version

This commit is contained in:
holger krekel
2011-07-08 12:42:26 +02:00
parent c40dc9f779
commit 8713f4ba60
6 changed files with 13 additions and 9 deletions

View File

@@ -48,11 +48,10 @@ copyright = u'2011, holger krekel et alii'
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
version = '2.0'
# The full version, including alpha/beta/rc tags.
import pytest
release = pytest.__version__
# The short X.Y version.
version = ".".join(release.split(".")[:2])
# 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
# (source start file, target name, title, author, documentclass [howto/manual]).
latex_documents = [
('index', 'pytest.tex', u'pytest Documentation',
('contents', 'pytest.tex', u'pytest Documentation',
u'holger krekel et alii', 'manual'),
]
@@ -228,7 +227,7 @@ man_pages = [
epub_title = u'pytest'
epub_author = 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
# or en if the language is not set.

View File

@@ -1,9 +1,13 @@
.. _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::
:maxdepth: 2

View File

@@ -6,11 +6,11 @@ Welcome to pytest / features
- **a mature full-featured testing tool**
- 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/>`_
- used in :ref:`many projects and organisations <projects>`, in test
suites ranging from 10 to 10s of thousands of tests
- has :ref:`comprehensive documentation <toc>`
- comes with :ref:`tested examples <examples>`
- comes with many :ref:`tested examples <examples>`
- supports :ref:`good integration practises <goodpractises>`
- **provides no-boilerplate testing**