[py-svn] commit/pytest: hpk42: switching back to pytest.org self-hosting for docs - there is too much issues where i needed/need to poke people :/

Bitbucket commits-noreply at bitbucket.org
Sat Jul 9 13:24:06 CEST 2011


1 new changeset in pytest:

http://bitbucket.org/hpk42/pytest/changeset/d6cab2a36306/
changeset:   d6cab2a36306
user:        hpk42
date:        2011-07-09 13:23:58
summary:     switching back to pytest.org self-hosting for docs - there is too much issues where i needed/need to poke people :/
affected #:  4 files (259 bytes)

--- a/doc/Makefile	Sat Jul 09 12:02:27 2011 +0200
+++ b/doc/Makefile	Sat Jul 09 13:23:58 2011 +0200
@@ -39,8 +39,14 @@
 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


--- a/doc/_templates/localtoc.html	Sat Jul 09 12:02:27 2011 +0200
+++ b/doc/_templates/localtoc.html	Sat Jul 09 13:23:58 2011 +0200
@@ -18,7 +18,7 @@
 <td><a href="{{ pathto('index') }}">home</a></td><td>
-        <a href="{{ pathto('contents') }}">contents</a>
+        <a href="{{ pathto('contents') }}">TOC contents</a></td></tr><tr><td><a href="{{ pathto('getting-started') }}">install</a></td><td>


--- a/doc/getting-started.txt	Sat Jul 09 12:02:27 2011 +0200
+++ b/doc/getting-started.txt	Sat Jul 09 13:23:58 2011 +0200
@@ -7,6 +7,8 @@
 
 **PyPI package name**: `pytest <http://pypi.python.org/pypi/pytest>`_
 
+**documentation as PDF**: `download latest <http://pytest.org/latest/pytest.pdf>`_
+
 .. _`getstarted`:
 
 Installation


--- a/doc/index.txt	Sat Jul 09 12:02:27 2011 +0200
+++ b/doc/index.txt	Sat Jul 09 13:23:58 2011 +0200
@@ -6,7 +6,7 @@
 - **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>`
+ - :ref:`comprehensive online <toc>` and `PDF documentation <pytest.pdf>`_
  - 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

Repository URL: https://bitbucket.org/hpk42/pytest/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.



More information about the pytest-commit mailing list