Commit 96608513 authored by John Chodera's avatar John Chodera
Browse files

Fix sphinx admonition formatting

parent d85ccb06
...@@ -14,7 +14,7 @@ def process_docstring(app, what, name, obj, options, lines): ...@@ -14,7 +14,7 @@ def process_docstring(app, what, name, obj, options, lines):
s = m.group(1) s = m.group(1)
if not s.startswith(linesep): if not s.startswith(linesep):
s = linesep + s s = linesep + s
newline = '|LINEBREAK|.. admonition:: Deprecated' + linesep newline = '|LINEBREAK|.. admonition::|LINEBREAK| Deprecated' + linesep
return newline + ' ' + s.replace(linesep, linesep + ' ') return newline + ' ' + s.replace(linesep, linesep + ' ')
linesep = '|LINEBREAK|' linesep = '|LINEBREAK|'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment