On Mar 21, 11:03 am, Florent Hivert <[email protected]>
wrote:
>       Hi there,
>
>    Since sage-4.3.3 asking for Poset? doesn't print the docstring. I've no
> idea where to start to debug this issue. Any suggestion ?

The problem is with the "sphinxify" function; for some reason it
doesn't work on this docstring with "text" output.  A quick hack to
make it work: apply this patch to sagenb/misc/sphinxify:

diff -r 464ea285a887 -r 162f6ef3f0f9 sagenb/misc/sphinxify.py
--- a/sagenb/misc/sphinxify.py  Mon Mar 08 21:12:54 2010 -0800
+++ b/sagenb/misc/sphinxify.py  Sun Mar 21 12:32:34 2010 -0700
@@ -135,6 +135,9 @@
         else:
             output = docstring

+    if format == 'text' and len(docstring) > 0 and len(output) == 0:
+        output = docstring
+
     if temp_confdir:
         shutil.rmtree(confdir, ignore_errors=True)
     shutil.rmtree(srcdir, ignore_errors=True)


I don't know what the underlying cause is, though.

--
John

-- 
To post to this group, send an email to [email protected]
To unsubscribe from this group, send an email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

To unsubscribe from this group, send email to 
sage-devel+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Reply via email to