File: local-doc-references.diff

package info (click to toggle)
python3.9 3.9.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 102,508 kB
  • sloc: python: 606,145; ansic: 515,486; xml: 31,209; sh: 4,917; cpp: 3,781; makefile: 1,885; asm: 1,486; objc: 761; lisp: 502; pascal: 360; javascript: 177; csh: 11
file content (22 lines) | stat: -rw-r--r-- 1,021 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- a/Doc/tools/templates/layout.html
+++ b/Doc/tools/templates/layout.html
@@ -24,7 +24,7 @@
 {% endblock %}
 
 {% block extrahead %}
-    <link rel="canonical" href="https://docs.python.org/3/{{pagename}}.html" />
+    <link rel="canonical" href="file:///usr/share/doc/python3.9/html/{{pagename}}.html" />
     {% if builder != "htmlhelp" %}
       {% if switchers is defined and not embedded %}
       <script type="text/javascript" src="{{ pathto('_static/switchers.js', 1) }}"></script>{% endif %}
--- a/Lib/idlelib/help.html
+++ b/Lib/idlelib/help.html
@@ -26,7 +26,7 @@
     <link rel="copyright" title="Copyright" href="../copyright.html" />
     <link rel="next" title="Other Graphical User Interface Packages" href="othergui.html" />
     <link rel="prev" title="tkinter.tix — Extension widgets for Tk" href="tkinter.tix.html" />
-    <link rel="canonical" href="https://docs.python.org/3/library/idle.html" />
+    <link rel="canonical" href="file:///usr/share/doc/python3.9/html/library/idle.html" />