Ticket #10620: sage_autodoc.patch

File sage_autodoc.patch, 749 bytes (added by davidm, 9 years ago)
  • doc/common/sage_autodoc.py

    # HG changeset patch
    # User David Monarres <dmmonarres@gmail.com>
    # Date 1294904190 28800
    # Node ID 17b0b506d696790b20b084c2fdf471f806de069a
    # Parent  120c07be6358d93bcff503363d379c26b8342f2b
    Hack to get sage_autodoc to work with sphinx 1.0.6
    
    diff -r 120c07be6358 -r 17b0b506d696 doc/common/sage_autodoc.py
    a b  
    2323from docutils.statemachine import ViewList
    2424
    2525from sphinx.util import rpartition, nested_parse_with_titles, force_decode
     26from sphinx.locale import _
    2627from sphinx.pycode import ModuleAnalyzer, PycodeError
    2728from sphinx.application import ExtensionError
    2829from sphinx.util.compat import Directive