Hi All,

    I have been using Sphinx 1.0.4 for a long time and I didn't switch
to Sphinx-Pre-dev until recently as previous pre-dev versions were
throwing impossible errors against my perfectly valid rst files. I
have tried just today the latest pre-dev version from bitbucket and I
was surprised those impossible errors were gone.

However, now I am getting this kind of errors:

E:\AGW\agw\aui\auibook.py:docstring of
aui.auibook.AuiNotebook.DeletePage:6: (ERROR/3) Error in "note"
directive:
invalid option block.

Which is fantastically wrong as the "note" directive is perfectly
valid:

:note: L{DeletePage} removes a tab from the multi-notebook, and
destroys the window as well.

I pre-process the docstrings using this approach:

def setup(app):

    app.connect('autodoc-process-docstring', mangle_docstrings)


In which I replace the L{something} with an appropriate ReST link and
I replace the ":note:" attribute with ".. note::" (I have to do this
because of backward compatibility with epydoc).

Now, I am not sure what has changed in Sphinx to make this happen, but
I welcome any suggestion in order to fix this issue (I have many more
errors related to ".. note::", ".. warning::" and friends.

Thank you in advance.

Andrea.

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to sphinx-dev@googlegroups.com.
To unsubscribe from this group, send email to 
sphinx-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en.

Reply via email to