mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-10-13 17:02:12 -05:00
Merge branch '2.0.1' into 2.0
This commit is contained in:
commit
70ed093b8b
5 files changed
+30
-1
No files matched your search
@@ -110,6 +110,10 @@ Bugs fixed
|
|||||||
* #6220, #6225: napoleon: AttributeError is raised for raised section having
|
* #6220, #6225: napoleon: AttributeError is raised for raised section having
|
||||||
references
|
references
|
||||||
* #6245: circular import error on importing SerializingHTMLBuilder
|
* #6245: circular import error on importing SerializingHTMLBuilder
|
||||||
|
* #6243: LaTeX: 'releasename' setting for latex_elements is ignored
|
||||||
|
* #6244: html: Search function is broken with 3rd party themes
|
||||||
|
* #6263: html: HTML5Translator crashed with invalid field node
|
||||||
|
* #6262: html theme: The style of field lists has changed in bizstyle theme
|
||||||
|
|
||||||
Testing
|
Testing
|
||||||
--------
|
--------
|
||||||
|
|||||||
@@ -208,7 +208,7 @@ class LaTeXBuilder(Builder):
|
|||||||
self.context['indexname'] = _('Index')
|
self.context['indexname'] = _('Index')
|
||||||
if self.config.release:
|
if self.config.release:
|
||||||
# Show the release label only if release value exists
|
# Show the release label only if release value exists
|
||||||
self.context['releasename'] = _('Release')
|
self.context.setdefault('releasename', _('Release'))
|
||||||
|
|
||||||
def init_babel(self):
|
def init_babel(self):
|
||||||
# type: () -> None
|
# type: () -> None
|
||||||
|
|||||||
@@ -75,6 +75,16 @@ var Search = {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
loadIndex : function(url) {
|
||||||
|
$.ajax({type: "GET", url: url, data: null,
|
||||||
|
dataType: "script", cache: true,
|
||||||
|
complete: function(jqxhr, textstatus) {
|
||||||
|
if (textstatus != "success") {
|
||||||
|
document.getElementById("searchindexloader").src = url;
|
||||||
|
}
|
||||||
|
}});
|
||||||
|
},
|
||||||
|
|
||||||
setIndex : function(index) {
|
setIndex : function(index) {
|
||||||
var q;
|
var q;
|
||||||
this._index = index;
|
this._index = index;
|
||||||
|
|||||||
@@ -410,6 +410,20 @@ p.versionchanged span.versionmodified {
|
|||||||
background-color: #DCE6A0;
|
background-color: #DCE6A0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
dl.field-list > dt {
|
||||||
|
color: white;
|
||||||
|
padding-left: 0.5em;
|
||||||
|
padding-right: 5px;
|
||||||
|
background-color: #82A0BE;
|
||||||
|
}
|
||||||
|
|
||||||
|
dl.field-list > dd {
|
||||||
|
padding-left: 0.5em;
|
||||||
|
margin-top: 0em;
|
||||||
|
margin-left: 0em;
|
||||||
|
background-color: #f7f7f7;
|
||||||
|
}
|
||||||
|
|
||||||
/* -- table styles ---------------------------------------------------------- */
|
/* -- table styles ---------------------------------------------------------- */
|
||||||
|
|
||||||
table.docutils {
|
table.docutils {
|
||||||
|
|||||||
@@ -68,6 +68,7 @@ class HTML5Translator(SphinxTranslator, BaseTranslator):
|
|||||||
self.param_separator = ''
|
self.param_separator = ''
|
||||||
self.optional_param_level = 0
|
self.optional_param_level = 0
|
||||||
self._table_row_index = 0
|
self._table_row_index = 0
|
||||||
|
self._fieldlist_row_index = 0
|
||||||
self.required_params_left = 0
|
self.required_params_left = 0
|
||||||
|
|
||||||
def visit_start_of_file(self, node):
|
def visit_start_of_file(self, node):
|
||||||
|
|||||||
Reference in new issue
Block a user