We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b725eb4 commit b30b665Copy full SHA for b30b665
docs/conf.py
@@ -21,7 +21,8 @@
21
"hoverxref.extension",
22
"multiproject",
23
"myst_parser",
24
- "notfound.extension",
+ # For testing, conditionally disable the custom 404 pages on dev docs
25
+ # "notfound.extension",
26
"sphinx_copybutton",
27
"sphinx_design",
28
"sphinx_tabs.tabs",
@@ -55,6 +56,10 @@
55
56
57
docset = get_project(multiproject_projects)
58
59
+# Disable custom 404 on dev docs
60
+if docset == "user":
61
+ extensions.append("notfound.extension")
62
+
63
ogp_site_name = "Read the Docs Documentation"
64
ogp_use_first_image = True # https://github.com/readthedocs/blog/pull/118
65
ogp_image = "https://docs.readthedocs.io/en/latest/_static/img/logo-opengraph.png"
0 commit comments