Skip to content

Commit 6a88f8d

Browse files
committed
fix: update base URL in Docusaurus config to use production base URL from thunder config
1 parent 84638a4 commit 6a88f8d

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

docs/docusaurus.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const config: Config = {
3939

4040
url: thunderConfig.project.documentation.deployment.production.url,
4141
// Since we use GitHub pages, the base URL is the repository name.
42-
baseUrl: `/${thunderConfig.project.name}/`,
42+
baseUrl: `/${thunderConfig.project.documentation.deployment.production.baseUrl}/`,
4343

4444
// GitHub pages deployment config.
4545
organizationName: thunderConfig.project.source.github.owner.name, // Usually your GitHub org/user name.

docs/thunder.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ const thunderConfig = {
2424
documentation: {
2525
deployment: {
2626
production: {
27+
baseUrl: 'thunder',
2728
// TODO: Docusaurus doesn't seem to allow subpaths in the URL yet.
2829
// Can't use the GitHub pages URL until then.
2930
url: 'https://thunder.dev',

0 commit comments

Comments
 (0)