Skip to content

Commit

Permalink
change base for readthedocs
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamSH-LLK committed Aug 20, 2024
1 parent 4069389 commit 7e7e7ba
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ const config: Config = {
url: "https://your-docusaurus-site.example.com",
// Set the /<baseUrl>/ pathname under which your site is served
// For GitHub pages deployment, it is often '/<projectName>/'
baseUrl: "/",
baseUrl: process.env.READTHEDOCS
? `/${process.env.READTHEDOCS_LANGUAGE}/${process.env.READTHEDOCS_VERSION}/`
: "/",

// GitHub pages deployment config.
// If you aren't using GitHub pages, you don't need these.
Expand Down

0 comments on commit 7e7e7ba

Please sign in to comment.