use doc-versions that can increment separately from the pytest version

This commit is contained in:
holger krekel 2012-06-07 19:18:50 +02:00
parent eb1b1005ae
commit 6af20a5290
3 changed files with 3 additions and 7 deletions

View File

@ -49,10 +49,8 @@ copyright = u'2011, holger krekel et alii'
# built documents.
#
# The full version, including alpha/beta/rc tags.
import pytest
release = pytest.__version__
# The short X.Y version.
version = ".".join(release.split(".")[:2])
version = "2.2.4.1"
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.

View File

@ -40,7 +40,7 @@ clean:
-rm -rf $(BUILDDIR)/*
install: html
rsync -avz _build/html/ pytest.org:/www/pytest.org/latest
rsync -avz _build/html/ pytest.org:/www/pytest.org/latest-ja
installpdf: latexpdf
@scp $(BUILDDIR)/latex/pytest.pdf pytest.org:/www/pytest.org/latest

View File

@ -49,10 +49,8 @@ copyright = u'2011, holger krekel et alii'
# built documents.
#
# The full version, including alpha/beta/rc tags.
import pytest
release = pytest.__version__
# The short X.Y version.
version = ".".join(release.split(".")[:2])
version = "2.2.4.0"
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.