Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/Makefile37
-rw-r--r--docs/getbuildpath.py14
-rw-r--r--docs/writedocs.py20
3 files changed, 0 insertions, 71 deletions
diff --git a/docs/Makefile b/docs/Makefile
deleted file mode 100644
index d0b6ed4..0000000
--- a/docs/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-######################################################################
-## Different doc packages need different things. Some have to
-## import the source, others just need to parse it. The hacks in
-## this file attempt to make this happen for some of the common doc
-## systems.
-######################################################################
-export PYTHON=python
-export PRODUCT_DIR=${CURDIR}/../
-export PYTHONPATH=`${PYTHON} ./getbuildpath.py`
-
-# If you have epydoc installed feel free
-#DOC_TARGETS += epydoc_pdf
-DOC_TARGETS += pydoc
-
-all: doc
-
-epydoc_html:
- @epydoc -qq --html -o ${PRODUCT_DIR}/docs ${PYTHONPATH}/${PROJECTNAME}
-
-epydoc_pdf:
- @epydoc -qq --pdf -o ${PRODUCT_DIR}/docs ${PYTHONPATH}/${PROJECTNAME}
-
-pydoc:
- @${PYTHON} ./writedocs.py ${PRODUCT_DIR}
-
-
-doc: ${DOC_TARGETS}
-
-clean:
- @find . -name "*.pyc" -exec rm {} \;
- @find . -name "*~" -exec rm {} \;
- @find . -name "${PROJECTNAME}*.html" -exec rm {} \;
- @rm -rf index.html epydoc.css public private
- @rm -rf api.* *.aux *.tex
-
-
-
diff --git a/docs/getbuildpath.py b/docs/getbuildpath.py
deleted file mode 100644
index d6e594a..0000000
--- a/docs/getbuildpath.py
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/usr/bin/python2.4
-import os, sys
-
-# IF YOU ARE NOT GETTING THE RESULTS YOU EXPECT WHILE TESTING
-# THIS IS THE LIKELY CAUSE
-# :: Use distutils to modify the pythonpath for inplace testing
-from distutils.util import get_platform
-plat_specifier = ".%s-%s" % (get_platform(), sys.version[0:3])
-build_platlib = os.path.join("build", 'lib' + plat_specifier)
-test_lib = os.path.join(os.path.abspath(".."), build_platlib)
-sys.path.insert(0, test_lib)
-# END PATH ADJUSTMENT CODE
-print test_lib
-
diff --git a/docs/writedocs.py b/docs/writedocs.py
deleted file mode 100644
index 132ef4f..0000000
--- a/docs/writedocs.py
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/usr/bin/python
-import pydoc
-import sys, os
-
-
-# IF YOU ARE NOT GETTING THE RESULTS YOU EXPECT WHILE TESTING
-# THIS IS THE LIKELY CAUSE
-# :: Use distutils to modify the pythonpath for inplace testing
-from distutils.util import get_platform
-plat_specifier = ".%s-%s" % (get_platform(), sys.version[0:3])
-build_platlib = os.path.join("build", 'lib' + plat_specifier)
-test_lib = os.path.join(os.path.abspath(".."), build_platlib)
-sys.path.insert(0, test_lib)
-# END PATH ADJUSTMENT CODE
-
-sys.path.insert(0, sys.argv[1])
-
-import olpc.datastore
-
-pydoc.writedocs(olpc.datastore.__path__[0], "%s." % olpc.datastore.__name__)