Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/translate-toolkit-1.3.0/translate/doc/gen_api_docs.sh
blob: 36bd531d66966d0ebd0c00d643351933fee86130 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

# The translate toolkit must be in your PYTHONPATH when you
# build these documents.  Either install them or run:
#  . setpath
#
# The script will then find them, build docs and export them
# to sourceforge.
#
# You should also have a setup in .ssh/config that defines
# sftranslate as your sourceforge account for the translate
# project.

outputdir=apidocs/

rm -rf $outputdir
epydoc --config=epydoc-config.ini
rsync -az -e ssh --delete $outputdir sftranslate:htdocs/doc/api