Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ebe3224

Browse files
committed
merge with 3.3
2 parents a32e8df + 6c47581 commit ebe3224

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/tools/sphinxext/layout.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
{% block extrahead %}
99
<link rel="shortcut icon" type="image/png" href="{{ pathto('_static/py.png', 1) }}" />
1010
{% if not embedded %}<script type="text/javascript" src="{{ pathto('_static/copybutton.js', 1) }}"></script>{% endif %}
11-
{% if pagename == 'whatsnew/news' %}
11+
{% if pagename == 'whatsnew/changelog %}
1212
<script type="text/javascript">
1313
function dofilter() {
1414
var el = document.getElementById('searchbox');

Doc/tools/sphinxext/pyspecific.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ def run(self):
181181
content)
182182
content = whatsnew_re.sub(r'\1', content)
183183
# remove first 3 lines as they are the main heading
184-
lines = content.splitlines()[3:]
184+
lines = ['.. default-role:: obj', ''] + content.splitlines()[3:]
185185
self.state_machine.insert_input(lines, fname)
186186
return []
187187

0 commit comments

Comments
 (0)