mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
again
This commit is contained in:
parent
3171a195bb
commit
d8ff893ebd
@ -800,7 +800,7 @@ class Sphinx(object):
|
|||||||
# type: (unicode, unicode, unicode) -> None
|
# type: (unicode, unicode, unicode) -> None
|
||||||
logger.debug('[app] adding stylesheet: %r', filename)
|
logger.debug('[app] adding stylesheet: %r', filename)
|
||||||
from sphinx.builders.html import StandaloneHTMLBuilder
|
from sphinx.builders.html import StandaloneHTMLBuilder
|
||||||
props = {}
|
props = {} # type: Dict[Unicode, Union[Unicode, bool]]
|
||||||
if alternate is not None:
|
if alternate is not None:
|
||||||
props['alternate'] = bool(alternate)
|
props['alternate'] = bool(alternate)
|
||||||
if title is not None:
|
if title is not None:
|
||||||
|
@ -115,7 +115,7 @@ class StandaloneHTMLBuilder(Builder):
|
|||||||
'_static/doctools.js'] # type: List[unicode]
|
'_static/doctools.js'] # type: List[unicode]
|
||||||
# Ditto for these ones (Sphinx.add_stylesheet).
|
# Ditto for these ones (Sphinx.add_stylesheet).
|
||||||
css_files = [] # type: List[unicode]
|
css_files = [] # type: List[unicode]
|
||||||
css_props = {} # type: Dict[unicode, Union[unicode, bool]]
|
css_props = {} # type: Dict[unicode, Dict[unicode, Union[unicode, bool]]]
|
||||||
|
|
||||||
imgpath = None # type: unicode
|
imgpath = None # type: unicode
|
||||||
domain_indices = [] # type: List[Tuple[unicode, Type[Index], List[Tuple[unicode, List[List[Union[unicode, int]]]]], bool]] # NOQA
|
domain_indices = [] # type: List[Tuple[unicode, Type[Index], List[Tuple[unicode, List[List[Union[unicode, int]]]]], bool]] # NOQA
|
||||||
|
Loading…
Reference in New Issue
Block a user