[Commits] r439 - website
commits at geoext.org
commits at geoext.org
Wed Apr 22 20:45:59 CEST 2009
Author: tschaub
Date: 2009-04-22 20:45:59 +0200 (Wed, 22 Apr 2009)
New Revision: 439
Modified:
website/pavement.py
website/website-conf.cfg
Log:
Removing the requirement that the whole trunk is checked out just to build the docs. Keeping dir names from the repo. Point taken about virtualenv.
Modified: website/pavement.py
===================================================================
--- website/pavement.py 2009-04-22 17:55:10 UTC (rev 438)
+++ website/pavement.py 2009-04-22 18:45:59 UTC (rev 439)
@@ -54,7 +54,7 @@
packages_to_install=['pastescript'],
paver_command_line="build_all"
),
- sphinx=Bunch(docroot="src/current-docs",
+ sphinx=Bunch(docroot="src/trunk/docsrc",
builddir=path(curdir) / "www")
)
@@ -71,20 +71,15 @@
info("build_all not implemented yet")
@task
-def checkup_docs():
- # will probably go away when docs start living with core
- svn.checkup(options.config.get("urls", "docs"), "src/current-docs")
-
- at task
def checkup_latest_release():
latest = options.config.get("releases", "latest")
- svn.checkup("%s/tag/%s" %(options.core_url, latest) , "src/geoext-latest_release")
+ svn.checkup("%s/tag/%s" %(options.core_url, latest) , "src/latest_release")
@task
def install_zine():
env = os.environ.get("VIRTUAL_ENV")
if env is None:
- raise "Use $VIRTUAL_ENV...this means you tschaub."
+ raise "Use $VIRTUAL_ENV."
else:
env = path(env)
zinedir = path(curdir) / "build" / "zine"
@@ -99,12 +94,14 @@
@task
def checkup_trunk():
- svn.checkup("%s/trunk" %options.core_url , "src/geoext-trunk")
+ svn.checkup("%s/trunk" %options.core_url , "src/trunk")
+
+ at task
+def checkup_docs():
+ svn.checkup("%s/trunk/docsrc" %options.core_url, "src/trunk/docsrc")
@task
@needs(['checkup_docs',
- 'checkup_trunk',
- #'checkup_latest_release',
'paver.doctools.html'])
def build_docs():
# will need to get smarter with new releases
Modified: website/website-conf.cfg
===================================================================
--- website/website-conf.cfg 2009-04-22 17:55:10 UTC (rev 438)
+++ website/website-conf.cfg 2009-04-22 18:45:59 UTC (rev 439)
@@ -1,6 +1,5 @@
[urls]
core=http://svn.geoext.org/core
-docs=http://svn.geoext.org/core/trunk/docsrc
[releases]
latest=0.5
\ No newline at end of file
More information about the Commits
mailing list