]> git.saurik.com Git - wxWidgets.git/commitdiff
script for the api docs
authorRobin Dunn <robin@alldunn.com>
Fri, 30 Apr 2004 06:28:54 +0000 (06:28 +0000)
committerRobin Dunn <robin@alldunn.com>
Fri, 30 Apr 2004 06:28:54 +0000 (06:28 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/docs/bin/makeapidocs [new file with mode: 0755]

diff --git a/wxPython/docs/bin/makeapidocs b/wxPython/docs/bin/makeapidocs
new file mode 100755 (executable)
index 0000000..de3666f
--- /dev/null
@@ -0,0 +1,35 @@
+#!/bin/bash
+
+#----------------------------------------------------------------------
+
+if [ ! -d wxPython ]; then  # TODO: make this test more robust
+    echo "Please run this script from the root wxPython directory."
+    exit 1
+fi
+
+
+rm -r docs/api/*
+
+epydoc --name wxPython \
+    --html \
+    --output docs/api \
+    --ignore-param-mismatch \
+    --inheritance none \
+    --no-expand-subpackages \
+    --no-private \
+    --css docs/wxPython-epydoc.css \
+    --docformat restructuredtext \
+    $* \
+    ./wx/__init__.py
+
+#    --no-frames \
+#    --docformat epytext \
+#    --debug \
+
+
+# TODO: 
+#   1. Should rebuild the top-level docs too (but we need more of them first!)
+#   2. bundle it all up into a tarball
+#   3. etc.
+
+