Skip to content

Commit

Permalink
fix docs path in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
jahow committed Oct 12, 2024
1 parent 5170c80 commit b28441b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@ jobs:

- name: Build examples
run: |
npm run build -- --base=/geospatial-sdk && \
npm run build -- --base=/geospatial-sdk/ && \
mv dist ../../pages
working-directory: apps/examples

- name: Build docs
run: |
npm run docs:build -- --base=/geospatial-sdk/docs && \
npm run docs:build -- --base=/geospatial-sdk/docs/ && \
mv .vitepress/dist ../pages/docs
working-directory: docs

Expand Down
6 changes: 5 additions & 1 deletion apps/examples/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,11 @@ onMounted(() => {
<div class="flex flex-col items-center p-4 overflow-x-hidden">
<h1 class="text-5xl font-bold m-6">Geospatial SDK</h1>
<p class="mb-6">An incredible SDK with many examples.</p>
<p class="mb-6"><a href="/docs/">Go to the documentation website</a></p>
<p class="mb-6">
<a href="https://camptocamp.github.io/geospatial-sdk/docs/"
>Go to the documentation website</a
>
</p>
<ExampleContainer
example-name="Example 1: simple map"
example-id="example01"
Expand Down

0 comments on commit b28441b

Please sign in to comment.