From a70293fdb7e1dad18f9f8914c040e3b39bda897e Mon Sep 17 00:00:00 2001 From: holger krekel Date: Thu, 14 Jul 2011 23:13:32 +0200 Subject: [PATCH] add ability to build pytest man page with "cd doc ; make man". Is to be found in doc/_build/man/pytest.1 afterwards. also streamline PDF generation a bit. --- CHANGELOG | 1 + doc/conf.py | 16 +++++++++------- doc/contents.txt | 2 -- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 0b3fafbdc..5fc2943fd 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -6,6 +6,7 @@ Changes between 2.1.0 and 2.1.1.DEV - fix assertion rewriting in read-only directories - fix issue59: provide system-out/err tags for junitxml output - fix assertion rewriting on boolean operations with 3 or more operands +- you can now build a man page with "cd doc ; make man" Changes between 2.0.3 and 2.1.0.DEV ---------------------------------------------- diff --git a/doc/conf.py b/doc/conf.py index 270aa65ad..fd49a2921 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -66,7 +66,10 @@ version = ".".join(release.split(".")[:2]) # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. -exclude_patterns = ['links.inc', '_build', 'test', ] # XXX +exclude_patterns = ['links.inc', '_build', 'naming20.txt', 'test/*', + 'example/attic.txt', + ] + # The reST default role (used for this markup: `text`) to use for all documents. #default_role = None @@ -208,16 +211,15 @@ latex_documents = [ #latex_appendices = [] # If false, no module index is generated. -#latex_domain_indices = True - +latex_domain_indices = False # -- Options for manual page output -------------------------------------------- # One entry per manual page. List of tuples # (source start file, name, description, authors, manual section). man_pages = [ - ('index', 'pytest', u'pytest Documentation', - [u'holger krekel et alii'], 1) + ('usage', 'pytest', u'pytest usage', + [u'holger krekel at merlinux eu'], 1) ] @@ -225,8 +227,8 @@ man_pages = [ # Bibliographic Dublin Core info. epub_title = u'pytest' -epub_author = u'holger krekel et alii' -epub_publisher = u'holger krekel et alii' +epub_author = u'holger krekel at merlinux eu' +epub_publisher = u'holger krekel at merlinux eu' epub_copyright = u'2011, holger krekel et alii' # The language of the text. It defaults to the language option diff --git a/doc/contents.txt b/doc/contents.txt index d0db9b6d5..885e3db33 100644 --- a/doc/contents.txt +++ b/doc/contents.txt @@ -23,6 +23,4 @@ Full pytest documenation :hidden: changelog.txt - naming20.txt - example/attic