From b1de27f68a9f80db723c1b3545f95c5c9c8e7e9d Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Mon, 5 Mar 2012 14:33:40 -0500 Subject: fix restructuredtext formatting in docstrings that show up in the developer guide blueprint sphinx-doc-cleanup bug 945160 - Correct parameter declarations, list formatting, cross-references, etc. - We don't need "let" in generate_autodoc_index.sh since we aren't doing math. - Change conf.py to not prefix class and function names with full namespace in generated output to save width on the screen. Change-Id: I9adc8681951913fd291d03e7142146e9d46841df --- doc/generate_autodoc_index.sh | 3 ++- doc/source/conf.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/generate_autodoc_index.sh b/doc/generate_autodoc_index.sh index 5d9cdd315..4e0bc2a8b 100755 --- a/doc/generate_autodoc_index.sh +++ b/doc/generate_autodoc_index.sh @@ -15,11 +15,12 @@ do # and make sure to emit that many '=' under # it to avoid heading format errors # in Sphinx. - let heading_len=$(echo "$heading" | wc -c) + heading_len=$(echo "$heading" | wc -c) underline=$(head -c $heading_len < /dev/zero | tr '\0' '=') ( cat <