From b4391612474dc64312756b7acbba6fd4326718b7 Mon Sep 17 00:00:00 2001 From: Lucas Amaral Date: Wed, 18 Mar 2026 12:35:24 -0300 Subject: [PATCH] fix: set baseUrl for GitHub Pages project site GitHub Pages serves project repos at //, so the default baseUrl must match to resolve assets and internal links correctly. --- docusaurus/docusaurus.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docusaurus/docusaurus.config.js b/docusaurus/docusaurus.config.js index 5733141..ecb755f 100644 --- a/docusaurus/docusaurus.config.js +++ b/docusaurus/docusaurus.config.js @@ -19,7 +19,7 @@ import {themes as prismThemes} from 'prism-react-renderer'; const url = process.env.DOCUSAURUS_URL || 'https://magma.github.io' -const baseUrl = process.env.DOCUSAURUS_BASE_URL || '/' +const baseUrl = process.env.DOCUSAURUS_BASE_URL || '/magma-documentation/' // Security note on visibility of this secret in the source code: the API key is // not secured by secrecy. It is secured by a referer check for magma.github.io