Kaydet (Commit) ebe32247 authored tarafından Georg Brandl's avatar Georg Brandl

merge with 3.3

...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
{% block extrahead %} {% block extrahead %}
<link rel="shortcut icon" type="image/png" href="{{ pathto('_static/py.png', 1) }}" /> <link rel="shortcut icon" type="image/png" href="{{ pathto('_static/py.png', 1) }}" />
{% if not embedded %}<script type="text/javascript" src="{{ pathto('_static/copybutton.js', 1) }}"></script>{% endif %} {% if not embedded %}<script type="text/javascript" src="{{ pathto('_static/copybutton.js', 1) }}"></script>{% endif %}
{% if pagename == 'whatsnew/news' %} {% if pagename == 'whatsnew/changelog %}
<script type="text/javascript"> <script type="text/javascript">
function dofilter() { function dofilter() {
var el = document.getElementById('searchbox'); var el = document.getElementById('searchbox');
......
...@@ -181,7 +181,7 @@ class MiscNews(Directive): ...@@ -181,7 +181,7 @@ class MiscNews(Directive):
content) content)
content = whatsnew_re.sub(r'\1', content) content = whatsnew_re.sub(r'\1', content)
# remove first 3 lines as they are the main heading # remove first 3 lines as they are the main heading
lines = content.splitlines()[3:] lines = ['.. default-role:: obj', ''] + content.splitlines()[3:]
self.state_machine.insert_input(lines, fname) self.state_machine.insert_input(lines, fname)
return [] return []
......
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