docs[patch]: Make Docusaurus and Vercel add trailing slashes when navigating by default (#20014)

Should hopefully avoid weird broken link edge cases.

Relative links now trip up the Docusaurus broken link checker, so this
PR also removes them.

Also snuck in a small addition about asyncio
This commit is contained in:
Jacob Lee
2024-04-04 12:49:15 -07:00
committed by GitHub
parent a954dedb77
commit 7f0cb3bfba
21 changed files with 84 additions and 90 deletions

View File

@@ -19,7 +19,7 @@ const config = {
// Set the /<baseUrl>/ pathname under which your site is served
// For GitHub pages deployment, it is often '/<projectName>/'
baseUrl: "/",
trailingSlash: true,
onBrokenLinks: "throw",
onBrokenMarkdownLinks: "throw",