File tree 2 files changed +2
-0
lines changed
pep_sphinx_extensions/pep_theme/templates 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change 56
56
html_use_index = False # Disable index (we use PEP 0)
57
57
html_style = "" # must be defined here or in theme.conf, but is unused
58
58
html_permalinks = False # handled in the PEPContents transform
59
+ html_baseurl = "https://peps.python.org" # to create the CNAME file
59
60
gettext_auto_build = False # speed-ups
60
61
61
62
templates_path = ['pep_sphinx_extensions/pep_theme/templates' ] # Theme template relative paths from `confdir`
Original file line number Diff line number Diff line change 7
7
< meta name ="color-scheme " content ="light dark " />
8
8
< title > {{ title + " | peps.python.org"|safe }}</ title >
9
9
< link rel ="shortcut icon " href ="{{ pathto('_static/py.png', resource=True) }} "/>
10
+ < link rel ="canonical " href ="{{ pageurl|escape }} " />
10
11
< link rel ="stylesheet " href ="{{ pathto('_static/style.css', resource=True) }} " type ="text/css " />
11
12
< link rel ="stylesheet " href ="{{ pathto('_static/mq.css', resource=True) }} " type ="text/css " />
12
13
< link rel ="stylesheet " href ="{{ pathto('_static/dark.css', resource=True) }} " type ="text/css " media ="(prefers-color-scheme: dark) " id ="css-dark "/>
You can’t perform that action at this time.
0 commit comments