mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Support docutils-0.18; Disable embed_images and section_self_link
embed_images:
HTML Builder always use non-embeded (linked) images.
section_self_link:
HTML Builder controls hyperlink generation for each section via
`html_permalinks` option.
This commit is contained in:
@@ -45,6 +45,7 @@ if TYPE_CHECKING:
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
default_settings: Dict[str, Any] = {
|
||||
'embed_images': False,
|
||||
'embed_stylesheet': False,
|
||||
'cloak_email_addresses': True,
|
||||
'pep_base_url': 'https://www.python.org/dev/peps/',
|
||||
@@ -54,6 +55,7 @@ default_settings: Dict[str, Any] = {
|
||||
'input_encoding': 'utf-8-sig',
|
||||
'doctitle_xform': False,
|
||||
'sectsubtitle_xform': False,
|
||||
'section_self_link': False,
|
||||
'halt_level': 5,
|
||||
'file_insertion_enabled': True,
|
||||
'smartquotes_locales': [],
|
||||
|
||||
Reference in New Issue
Block a user