Skip to content

Commit

Permalink
Merge pull request #785 from thefrontside/v2-docs-base-local-url
Browse files Browse the repository at this point in the history
Give docusaurus what it wants
  • Loading branch information
cowboyd authored Oct 4, 2023
2 parents 44ce217 + 23d7b95 commit 7238149
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/v2-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ jobs:
- run: |
cd website
yarn install
yarn docusaurus build --config ./docusaurus.config.local.js --out-dir build/local
tar czvf ${{ github.ref_name }}.website.local.tgz -C build/local .
yarn docusaurus build --config ./docusaurus.config.prod.js --out-dir build/prod
tar czvf ${{ github.ref_name }}.website.prod.tgz -C build/prod .
yarn docusaurus build --config ./docusaurus.config.local.js --out-dir build/local/site
tar czvf ${{ github.ref_name }}.website.local.tgz -C build/local site
yarn docusaurus build --config ./docusaurus.config.prod.js --out-dir build/prod/site
tar czvf ${{ github.ref_name }}.website.prod.tgz -C build/prod site
cp *.tgz ..
- run: node -pe '`relnum=${"${{ github.ref_name }}".substring("docs-v2-r".length)}`' >> $GITHUB_OUTPUT
Expand Down
2 changes: 1 addition & 1 deletion website/docusaurus.config.local.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ const base = require('./docusaurus.config');

module.exports = {
...base,
baseUrl: 'v2/',
baseUrl: '/v2/',
}

2 comments on commit 7238149

@deno-deploy
Copy link

@deno-deploy deno-deploy bot commented on 7238149 Oct 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Failed to deploy:

Module not found "file:///src/www/main.ts".

@deno-deploy
Copy link

@deno-deploy deno-deploy bot commented on 7238149 Oct 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Failed to deploy:

Module not found "file:///src/www/main.ts".

Please sign in to comment.