diff options
| author | Andy Smith <code@term.ie> | 2010-11-08 00:27:55 +0900 |
|---|---|---|
| committer | Andy Smith <code@term.ie> | 2010-11-08 00:27:55 +0900 |
| commit | e54bddd0512f3c788c72f5e151868bae0be869ef (patch) | |
| tree | cc507ee8db0f47ae5ceb2c0d23bd6fd8c05fad4b | |
| parent | 7f95dc86650963add0ac2bcc23410842fb05253f (diff) | |
Allow case-by-case overriding of autodocs.
| -rwxr-xr-x | doc/find_autodoc_modules.sh (renamed from doc/find_modules.sh) | 5 | ||||
| -rwxr-xr-x | doc/generate_autodoc_index.sh | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/doc/find_modules.sh b/doc/find_autodoc_modules.sh index 81a006e3b..b44f060fb 100755 --- a/doc/find_modules.sh +++ b/doc/find_autodoc_modules.sh @@ -13,5 +13,8 @@ for x in `find ${NOVA_DIR} -name '*.py'`; do done for mod in ${modules} ; do - echo ${mod} + if [ ! -f "${DOCS_DIR}/${mod}.rst" ]; + then + echo ${mod} + fi done diff --git a/doc/generate_autodoc_index.sh b/doc/generate_autodoc_index.sh index 069b053a1..5cc1e42e8 100755 --- a/doc/generate_autodoc_index.sh +++ b/doc/generate_autodoc_index.sh @@ -1,6 +1,6 @@ #!/bin/sh -for x in `./find_modules.sh`; +for x in `./find_autodoc_modules.sh`; do echo ".. automodule:: ${x}" echo " :members:" |
