From 59067684cdb478dc5369314668296aa94ff7a677 Mon Sep 17 00:00:00 2001 From: holger krekel Date: Sat, 9 Jul 2011 13:23:58 +0200 Subject: [PATCH] switching back to pytest.org self-hosting for docs - there is too much issues where i needed/need to poke people :/ --- doc/Makefile | 10 ++++++++-- doc/_templates/localtoc.html | 2 +- doc/getting-started.txt | 2 ++ doc/index.txt | 2 +- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/doc/Makefile b/doc/Makefile index 3469e9959..4fbcc1251 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -39,8 +39,14 @@ help: clean: -rm -rf $(BUILDDIR)/* -install: clean html - rsync -avz _build/html/ code:www-pytest/ +install: html + @rsync -avz _build/html/ pytest.org:/www/pytest.org/latest + +installpdf: latexpdf + @scp $(BUILDDIR)/latex/pytest.pdf pytest.org:/www/pytest.org/latest + +installall: clean install installpdf + @echo "done" html: $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html diff --git a/doc/_templates/localtoc.html b/doc/_templates/localtoc.html index d12410a06..789ddb962 100644 --- a/doc/_templates/localtoc.html +++ b/doc/_templates/localtoc.html @@ -18,7 +18,7 @@ home - contents + TOC contents install diff --git a/doc/getting-started.txt b/doc/getting-started.txt index e24ed4e3c..f91b703bf 100644 --- a/doc/getting-started.txt +++ b/doc/getting-started.txt @@ -7,6 +7,8 @@ Installation and Getting Started **PyPI package name**: `pytest `_ +**documentation as PDF**: `download latest `_ + .. _`getstarted`: Installation diff --git a/doc/index.txt b/doc/index.txt index b1343b4e3..d138cbad8 100644 --- a/doc/index.txt +++ b/doc/index.txt @@ -6,7 +6,7 @@ Welcome to pytest! - **a mature full-featured testing tool** - runs on Posix/Windows, Python 2.4-3.2, PyPy and Jython - - :ref:`comprehensive online and PDF documentation ` + - :ref:`comprehensive online ` and `PDF documentation `_ - continuously `tested on many Python interpreters `_ - used in :ref:`many projects and organisations `, in test suites ranging from 10 to 10s of thousands of tests