mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Closes #1372: use https URL for PEPs and RFCs
This commit is contained in:
parent
fa09ec000f
commit
571cae87a5
@ -59,8 +59,8 @@ class ElementLookupError(Exception): pass
|
|||||||
default_settings = {
|
default_settings = {
|
||||||
'embed_stylesheet': False,
|
'embed_stylesheet': False,
|
||||||
'cloak_email_addresses': True,
|
'cloak_email_addresses': True,
|
||||||
'pep_base_url': 'http://www.python.org/dev/peps/',
|
'pep_base_url': 'https://www.python.org/dev/peps/',
|
||||||
'rfc_base_url': 'http://tools.ietf.org/html/',
|
'rfc_base_url': 'https://tools.ietf.org/html/',
|
||||||
'input_encoding': 'utf-8-sig',
|
'input_encoding': 'utf-8-sig',
|
||||||
'doctitle_xform': False,
|
'doctitle_xform': False,
|
||||||
'sectsubtitle_xform': False,
|
'sectsubtitle_xform': False,
|
||||||
|
@ -130,9 +130,9 @@ HTML_XPATH = {
|
|||||||
(".//li/tt/span[@class='pre']", '^a/$'),
|
(".//li/tt/span[@class='pre']", '^a/$'),
|
||||||
(".//li/tt/em/span[@class='pre']", '^varpart$'),
|
(".//li/tt/em/span[@class='pre']", '^varpart$'),
|
||||||
(".//li/tt/em/span[@class='pre']", '^i$'),
|
(".//li/tt/em/span[@class='pre']", '^i$'),
|
||||||
(".//a[@href='http://www.python.org/dev/peps/pep-0008']"
|
(".//a[@href='https://www.python.org/dev/peps/pep-0008']"
|
||||||
"[@class='pep reference external']/strong", 'PEP 8'),
|
"[@class='pep reference external']/strong", 'PEP 8'),
|
||||||
(".//a[@href='http://tools.ietf.org/html/rfc1.html']"
|
(".//a[@href='https://tools.ietf.org/html/rfc1.html']"
|
||||||
"[@class='rfc reference external']/strong", 'RFC 1'),
|
"[@class='rfc reference external']/strong", 'RFC 1'),
|
||||||
(".//a[@href='objects.html#envvar-HOME']"
|
(".//a[@href='objects.html#envvar-HOME']"
|
||||||
"[@class='reference internal']/tt/span[@class='pre']", 'HOME'),
|
"[@class='reference internal']/tt/span[@class='pre']", 'HOME'),
|
||||||
|
Loading…
Reference in New Issue
Block a user