Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
adc56341
Commit
adc56341
authored
Aug 22, 2014
by
Berker Peksag
Browse files
Options
Browse Files
Download
Plain Diff
Issue #22150: Fix deprecated-removed directive in Sphinx 1.2.
parents
145759c8
eb265ab8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
Doc/tools/sphinxext/pyspecific.py
Doc/tools/sphinxext/pyspecific.py
+4
-1
Doc/tools/sphinxext/static/basic.css
Doc/tools/sphinxext/static/basic.css
+1
-0
No files found.
Doc/tools/sphinxext/pyspecific.py
View file @
adc56341
...
...
@@ -180,7 +180,10 @@ class DeprecatedRemoved(Directive):
elif
not
SPHINX11
:
para
=
nodes
.
paragraph
(
''
,
''
,
nodes
.
inline
(
''
,
'%s.'
%
text
,
classes
=
[
'versionmodified'
]))
node
.
append
(
para
)
if
len
(
node
):
node
.
insert
(
0
,
para
)
else
:
node
.
append
(
para
)
env
=
self
.
state
.
document
.
settings
.
env
env
.
note_versionchange
(
'deprecated'
,
version
[
0
],
node
,
self
.
lineno
)
return
[
node
]
+
messages
...
...
Doc/tools/sphinxext/static/basic.css
View file @
adc56341
...
...
@@ -344,6 +344,7 @@ dl.glossary dt {
div
.deprecated
p
,
div
.deprecated-removed
p
{
margin-bottom
:
0
;
margin-top
:
0
;
}
.system-message
{
...
...
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