Does this patch fix it?

diff --git a/src/doc/common/conf.py b/src/doc/common/conf.py
index 1b32a9a..4d414e5 100644
--- a/src/doc/common/conf.py
+++ b/src/doc/common/conf.py
@@ -744,6 +744,8 @@ def skip_TESTS_block(app, what, name, obj, options, 
docstringlines):
 
     See sage.misc.sagedoc.skip_TESTS_block for more information.
     """
+    if len(docstringlines) == 0:
+        return
     from sage.misc.sagedoc import skip_TESTS_block as sagedoc_skip_TESTS
     s = sagedoc_skip_TESTS("\n".join(docstringlines))
     lines = s.split("\n")


(I don't know why, but Sphinx is trying to read docstrings from functions 
which have no docstrings, and these seem to be causing the errors.)

- John



On Wednesday, January 20, 2016 at 9:45:15 PM UTC-8, Jori Mäntysalo wrote:
>
> It seems that documentation for 7.0 can not be built with 
>
> ./sage --docbuild --no-tests all html 
>
> Error message is 
>
> [polynomia] Exception occurred: 
> [polynomia] File "/home/jm58660/sage/src/doc/common/conf.py", line 751, in 
> skip_TESTS_block 
> [polynomia] docstringlines[i] = lines[i] 
> [polynomia] IndexError: list assignment index out of range 
>
> Is there a quick fix for this. 
>
>   * * * 
>
> This is something I would like to see tested in every release. We don't 
> have a checklist for this, I think. 
>
> -- 
> Jori Mäntysalo 
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to