Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tsoc
openmm
Commits
96608513
Commit
96608513
authored
Aug 15, 2017
by
John Chodera
Browse files
Fix sphinx admonition formatting
parent
d85ccb06
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
docs-source/api-python/process-docstring.py
docs-source/api-python/process-docstring.py
+1
-1
No files found.
docs-source/api-python/process-docstring.py
View file @
96608513
...
...
@@ -14,7 +14,7 @@ def process_docstring(app, what, name, obj, options, lines):
s
=
m
.
group
(
1
)
if
not
s
.
startswith
(
linesep
):
s
=
linesep
+
s
newline
=
'|LINEBREAK|.. admonition:: Deprecated'
+
linesep
newline
=
'|LINEBREAK|.. admonition::
|LINEBREAK|
Deprecated'
+
linesep
return
newline
+
' '
+
s
.
replace
(
linesep
,
linesep
+
' '
)
linesep
=
'|LINEBREAK|'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment