File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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' ) ;
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments