dev_urls: Make requests to /docs redirect to the index.

This makes it easier to browse to the docs in development mode, and
more closely matches ReadTheDocs production.
This commit is contained in:
Alex Vandiver
2024-03-19 15:06:49 +00:00
committed by Tim Abbott
parent f758ca596b
commit 6ad777c86f
2 changed files with 3 additions and 1 deletions

View File

@@ -505,6 +505,7 @@ def write_instrumentation_reports(full_suite: bool, include_webhooks: bool) -> N
"config-error/(?P<error_name>[^/]+)",
"confirmation_key/",
"node-coverage/(?P<path>.+)",
"docs/",
"docs/(?P<path>.+)",
"casper/(?P<path>.+)",
"static/(?P<path>.+)",