--- /dev/null
+docs.zipfile.filename=docs_html.zip
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>\r
<project name="calyon_egg" default="all">\r
<property file="build.properties"/> \r
- <target name="all" depends="clean,doc" />\r
\r
+ <target name="all" depends="clean, doc, doc_zip" />\r
<target name="clean" depends="doc_clean" />\r
\r
<target name="doc">\r
<arg value="--name"/>\r
<arg value="JenkinsAPI"/>\r
<arg value="--config=epydoc.cfg"/>\r
+ <arg value="--debug"/>\r
</exec>\r
</target>\r
\r
<delete failonerror="false">\r
<fileset dir="doc"/>\r
</delete>\r
+ <delete failonerror="false">\r
+ <file dir="${docs.zipfile.filename}"/>\r
+ </delete>\r
+ </target>\r
+ \r
+ <target name="doc_zip">\r
+ <zip destfile="${docs.zipfile.filename}" basedir="html/" />\r
</target>\r
\r
\r
+[epydoc] # Epydoc section marker (required by ConfigParser)\r
+\r
+# Information about the project.\r
+name: JenkinsAPI\r
+url: https://github.com/salimfadhley/jenkinsapi\r
+\r
+# The list of modules to document. Modules can be named using\r
+# dotted names, module filenames, or package directory names.\r
+# This option may be repeated.\r
+modules: jenkinsapi\r
+\r
+# Write html output to the directory "apidocs"\r
+output: html\r
+target: doc/html/\r
+\r
+# Include all automatically generated graphs. These graphs are\r
+# generated using Graphviz dot.\r
+#graph: all\r
+#dotpath: /usr/local/bin/dot
\ No newline at end of file
+import os, sys\r
+\r
try:\r
from epydoc.cli import cli\r
except ImportError:\r
require("epydoc>=3.0.1")\r
from epydoc.cli import cli\r
\r
+DOC_DIR, _ = os.path.split( os.path.abspath( __file__ ) )\r
+PROJECT_DIR, _ = os.path.split( DOC_DIR )\r
+\r
+sys.path.insert( 0, PROJECT_DIR )\r
+ \r
cli()
\ No newline at end of file