[Commits] r578 - website

commits at geoext.org commits at geoext.org
Fri May 1 20:10:52 CEST 2009


Author: whit
Date: 2009-05-01 20:10:52 +0200 (Fri, 01 May 2009)
New Revision: 578

Modified:
   website/pavement.py
   website/website-conf.cfg
Log:
point docsrc at sandbox

Modified: website/pavement.py
===================================================================
--- website/pavement.py	2009-05-01 17:58:27 UTC (rev 577)
+++ website/pavement.py	2009-05-01 18:10:52 UTC (rev 578)
@@ -63,12 +63,13 @@
     cp = ConfigParser()
     cp.read("website-conf.cfg")
     options(config=cp,
-            core_url=cp.get("urls", "core"))
+            core_url=cp.get("urls", "core"),
+            docsrc_url=cp.get("urls", "docsrc"))
         
 @task
- at needs(['setuptool.command.develop'])
+ at needs(['setuptool.command.develop', "build_docs"])
 def build_all():
-     info("build_all not implemented yet")
+     info("Ding! Docs are done!")
 
 @task
 def checkup_latest_release():
@@ -95,7 +96,7 @@
 @task
 def checkup_docs():
     svn.checkup("%s/trunk/geoext" %options.core_url, "src/trunk/geoext")
-    svn.checkup("%s/trunk/docsrc" %options.core_url, "src/trunk/docsrc")
+    svn.checkup("%s/trunk/docsrc" %options.docsrc_url, "src/trunk/docsrc")
 
 
 @task
@@ -103,7 +104,8 @@
     from jstools.jst import DocParser
     if not path('src/trunk').exists(): # add flag?
         svn.checkup("%s/trunk/geoext" %options.core_url, "src/trunk/geoext")
-        svn.checkup("%s/trunk/docsrc" %options.core_url, "src/trunk/docsrc")
+        # @@ will have to change to handle "versions"
+        svn.checkup(options.docsrc_url, "src/trunk/docsrc")
     parser = DocParser.from_fn("jst.cfg")
     parser.run()
 

Modified: website/website-conf.cfg
===================================================================
--- website/website-conf.cfg	2009-05-01 17:58:27 UTC (rev 577)
+++ website/website-conf.cfg	2009-05-01 18:10:52 UTC (rev 578)
@@ -1,5 +1,6 @@
 [urls]
 core=http://svn.geoext.org/core
+docsrc=http://svn.geoext.org/sandbox/docsrc
 
 [releases]
 latest=0.5



More information about the Commits mailing list