瀏覽代碼

Removed unnecessary trailing slashes in Sphinx intersphinx_mapping URLs.

Natalia 7 月之前
父節點
當前提交
47b921391f
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      docs/conf.py

+ 3 - 3
docs/conf.py

@@ -182,9 +182,9 @@ pygments_style = "trac"
 # Links to Python's docs should reference the most recent version of the 3.x
 # branch, which is located at this URL.
 intersphinx_mapping = {
-    "python": ("https://docs.python.org/3/", None),
-    "sphinx": ("https://www.sphinx-doc.org/en/master/", None),
-    "psycopg": ("https://www.psycopg.org/psycopg3/docs/", None),
+    "python": ("https://docs.python.org/3", None),
+    "sphinx": ("https://www.sphinx-doc.org/en/master", None),
+    "psycopg": ("https://www.psycopg.org/psycopg3/docs", None),
 }
 
 # Python's docs don't change every week.