Skip to content

Commit

Permalink
fix relative paths
Browse files Browse the repository at this point in the history
  • Loading branch information
sguimmara committed Sep 14, 2023
1 parent 4013b4d commit 4421e7b
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 41 deletions.
21 changes: 0 additions & 21 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,27 +29,6 @@ jobs:
npm run build
npm run lint
test:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18.x]

steps:
- uses: actions/checkout@v3

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'

- name: Build
run: |
npm install
npm run test
coverage:
runs-on: ubuntu-latest

Expand Down
38 changes: 19 additions & 19 deletions examples/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,43 +16,43 @@
<li>
<p>Basic</p>
<ul>
<li><a href="/basic/clear-color/">Clear color</a></li>
<li><a href="/basic/full-screen-quad/">Full-screen quad with texture</a></li>
<li><a href="/basic/transparent-texture/">Full-screen quad with a transparent texture</a></li>
<li><a href="/basic/vertex-colors/">Vertex colors</a></li>
<li><a href="/basic/active-inactive/">Active / Inactive objects</a></li>
<li><a href="/basic/mode-points/">Point rendering</a></li>
<li><a href="/basic/mode-lines/">Line rendering</a></li>
<li><a href="/basic/solid+lines/">Solid + wireframe mesh</a></li>
<li><a href="/basic/scene-graph/">Scene graph</a></li>
<li><a href="/basic/dynamic-geometry/">Dynamic geometry</a></li>
<li><a href="/basic/bounds/">Bounds</a></li>
<li><a href="/basic/frustum-culling/">Frustum culling</a></li>
<li><a href="/basic/alpha-blending/">Alpha blending</a></li>
<li><a href="./basic/clear-color/">Clear color</a></li>
<li><a href="./basic/full-screen-quad/">Full-screen quad with texture</a></li>
<li><a href="./basic/transparent-texture/">Full-screen quad with a transparent texture</a></li>
<li><a href="./basic/vertex-colors/">Vertex colors</a></li>
<li><a href="./basic/active-inactive/">Active / Inactive objects</a></li>
<li><a href="./basic/mode-points/">Point rendering</a></li>
<li><a href="./basic/mode-lines/">Line rendering</a></li>
<li><a href="./basic/solid+lines/">Solid + wireframe mesh</a></li>
<li><a href="./basic/scene-graph/">Scene graph</a></li>
<li><a href="./basic/dynamic-geometry/">Dynamic geometry</a></li>
<li><a href="./basic/bounds/">Bounds</a></li>
<li><a href="./basic/frustum-culling/">Frustum culling</a></li>
<li><a href="./basic/alpha-blending/">Alpha blending</a></li>
</ul>
</li>
<br>
<li>
<p>Geometries</p>
<ul>
<li><a href="/geometries/tetrahedron/">Tetrahedron</a></li>
<li><a href="/geometries/cube/">Cube</a></li>
<li><a href="/geometries/quad/">Quad</a></li>
<li><a href="./geometries/tetrahedron/">Tetrahedron</a></li>
<li><a href="./geometries/cube/">Cube</a></li>
<li><a href="./geometries/quad/">Quad</a></li>
</ul>
</li>
<br>
<li>
<p>Effects</p>
<ul>
<li><a href="/effects/colorimetry/">Colorimetry</a></li>
<li><a href="/effects/flip/">Flip</a></li>
<li><a href="./effects/colorimetry/">Colorimetry</a></li>
<li><a href="./effects/flip/">Flip</a></li>
</ul>
</li>
<br>
<li>
<p>Formats</p>
<ul>
<li><a href="/formats/gltf-helmet/" >glTF helmet</a></li>
<li><a href="./formats/gltf-helmet/" >glTF helmet</a></li>
</ul>
</li>
<br>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"start": "vite",
"prepack": "shx rm -fr dist/ && shx mkdir dist && npx copyfiles -u 1 './src/**/*.wgsl' dist && node scripts/prepare-package.mjs && npm run build",
"prepare": "husky install",
"pages": "npm run prepack && cd examples && npx vite build --base=https://sguimmara.github.io/hammerhead.gl/",
"pages": "npm run prepack && cd examples && npx vite build",
"prepare-examples": "node scripts/generate-example-index.mjs"
},
"devDependencies": {
Expand Down

0 comments on commit 4421e7b

Please sign in to comment.