summaryrefslogtreecommitdiff
path: root/dist/s_docs
diff options
context:
space:
mode:
authorMichael Cahill <michael.cahill@wiredtiger.com>2011-11-04 17:20:25 +1100
committerMichael Cahill <michael.cahill@wiredtiger.com>2011-11-04 17:20:25 +1100
commitd376e1ab136aa1f5317e08c87599ac9bebd2c4b6 (patch)
tree8ca0a0fe84823a6652b44768f785bc0328edcf8f /dist/s_docs
parentd86487226b848b61815967d19894a34dea7af189 (diff)
downloadmongo-d376e1ab136aa1f5317e08c87599ac9bebd2c4b6.tar.gz
Move Python docs back into main doc tree, generate twice to suppress warnings.
--HG-- rename : src/include/mutex.h => src/include/mutex.i extra : rebase_source : a2658027a2047d455c2e66ce1d0bcae382e67e3a
Diffstat (limited to 'dist/s_docs')
-rwxr-xr-xdist/s_docs25
1 files changed, 13 insertions, 12 deletions
diff --git a/dist/s_docs b/dist/s_docs
index d770955a62a..3e87730f02c 100755
--- a/dist/s_docs
+++ b/dist/s_docs
@@ -32,27 +32,28 @@ spellchk()
build()
{
- # Run doxygen to generate the Python API documentation.
- (cd ../docs && (eval cat Doxyfile $filter ; cat <<EOF
-QUIET=YES
-OUTPUT_DIRECTORY=python
-INPUT=../lang/python/wiredtiger.py
-GENERATE_TAGFILE=python/python.tag
-EOF
-) | doxygen -)
-
- # Run doxygen to generate HTML documentation.
+ # Run doxygen to generate warnings for the base HTML documentation.
+ #
+ # We omit Python because warnings are expected there (the code generated
+ # by swig does not have named arguments, but we want to document them
+ # as if they do.
(cd ../docs &&
(eval cat Doxyfile $filter ; cat <<EOF
QUIET=YES
-TAGFILES=python/python.tag=python
EOF
) | doxygen -
- test -s doxygen.log && grep -v 'wiredtiger.py' doxygen.log) > $t 2>&1
+ test -s doxygen.log && cat doxygen.log) > $t 2>&1
test -s $t && {
cat $t
e=1
}
+
+ # Run again to generate the full documentation set (with Python).
+ (cd ../docs && (eval cat Doxyfile $filter ; cat <<EOF
+QUIET=YES
+INPUT+=../lang/python/wiredtiger.py
+EOF
+) | doxygen -)
}
filter="|sed '/PROJECT_NUMBER/s,=.*,=\"Version $WIREDTIGER_VERSION\",'"