summaryrefslogtreecommitdiff
path: root/dist
diff options
context:
space:
mode:
authorMichael Cahill <michael.cahill@wiredtiger.com>2013-02-25 16:13:39 +1100
committerMichael Cahill <michael.cahill@wiredtiger.com>2013-02-25 16:13:39 +1100
commit6234ba40fc2911a6caa032bfee805cd663c5f4d0 (patch)
tree6be9e5dd68233ae263572577db48da60f3de4ccc /dist
parent0de8433ffa58b137ee8c82456fffb39d43fad156 (diff)
downloadmongo-6234ba40fc2911a6caa032bfee805cd663c5f4d0.tar.gz
Improvements for the Java API documentation: create a Java API module, link to class documentation and wiredtiger_open documentation.
Diffstat (limited to 'dist')
-rwxr-xr-xdist/s_docs20
1 files changed, 9 insertions, 11 deletions
diff --git a/dist/s_docs b/dist/s_docs
index fbc86c7c8fa..f2e673823d0 100755
--- a/dist/s_docs
+++ b/dist/s_docs
@@ -82,14 +82,12 @@ EOF
e=1
}
- EXTRA_INPUT=""
- f="../lang/python/wiredtiger.py"
- if [ -f "$f" ]; then
- EXTRA_INPUT+=" $f"
- fi
- if [ -f ../lang/java/wiredtiger_wrap.c ]; then
- EXTRA_INPUT+=" ../../lang/java/src/com/wiredtiger/db"
- fi
+ # Add optional extras
+ EXTRAS="../lang/java/src/com/wiredtiger/db ../lang/python/wiredtiger.py"
+ EXTRA_INPUT=""
+ for f in $EXTRAS ; do
+ [ -e "$f" ] && EXTRA_INPUT="$EXTRA_INPUT ../$f"
+ done
# Run again to generate the full doc set with Python and Java.
[ "$additional_languages" -eq 1 ] && [ "x$EXTRA_INPUT" != "x" ] && (
@@ -114,14 +112,14 @@ while :
-a) # Build from scratch
clean=1
shift;;
- -l) # Generate the top-level landing page in ../docs/top
+ -l) # Generate the top-level landing page in ../docs/top
filter="$filter; cat top/Doxyfile"
additional_languages=0
shift;;
- -p) # Generate PDFs
+ -p) # Generate PDFs
filter="$filter| sed '/GENERATE_LATEX/s,=.*,=YES,'"
shift;;
- -t) # Include the TODO list
+ -t) # Include the TODO list
filter="$filter| sed '/GENERATE_TODOLIST/s,=.*,=YES,'"
shift;;
*)