Skip to content

Commit

Permalink
ci: update docs basePath for ITK-Wasm repo rename
Browse files Browse the repository at this point in the history
  • Loading branch information
thewtex committed Jul 12, 2024
1 parent 7c87834 commit 88ef85b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: Build documentation
run: |
export SPHINX_BASE_URL="/itk-wasm/"
export SPHINX_BASE_URL="/ITK-Wasm/"
cd docs/
make html
Expand Down Expand Up @@ -70,7 +70,7 @@ jobs:
with:
run_install: true

- name: Build itk-wasm
- name: Build ITK-Wasm
run: |
pnpm build
Expand All @@ -80,14 +80,14 @@ jobs:
mkdir -p docs/$package/ts/docs
mkdir -p docs/$package/ts/app
sed "s% basePath:.*% basePath: '/itk-wasm/$package/ts/docs',%" packages/$package/typescript/index.html > docs/$package/ts/docs/index.html
sed "s% basePath:.*% basePath: '/ITK-Wasm/$package/ts/docs',%" packages/$package/typescript/index.html > docs/$package/ts/docs/index.html
cp packages/$package/typescript/README.md docs/$package/ts/docs/
mkdir -p docs/$package/ts/docs/test/browser/demo-app
cp packages/$package/typescript/test/browser/demo-app/logo.svg docs/$package/ts/docs/test/browser/demo-app/
pushd packages/$package/typescript
rm -rf demo-app node_modules/.vite
export VITE_BASE_URL="/itk-wasm/$package/ts/app/"
export VITE_BASE_URL="/ITK-Wasm/$package/ts/app/"
pnpm build
popd
rsync -a packages/$package/typescript/demo-app/ docs/$package/ts/app/
Expand All @@ -104,7 +104,7 @@ jobs:
mkdir -p docs/$package/py/docs
mkdir -p docs/$package/py/app
export SPHINX_BASE_URL="/itk-wasm/$package/py/docs/"
export SPHINX_BASE_URL="/ITK-Wasm/$package/py/docs/"
pushd packages/$package/python/*$package/docs
pip install -r requirements.txt
make html
Expand Down

0 comments on commit 88ef85b

Please sign in to comment.