Procházet zdrojové kódy

Add new examples to index, add src to CI

master
Palash Bansal před 2 roky
rodič
revize
2a3fb3f51d
Žádný účet není propojen s e-mailovou adresou tvůrce revize

+ 2
- 2
.github/workflows/deploy-pages.yml Zobrazit soubor

@@ -46,9 +46,9 @@ jobs:
- run: npm ci # this will also run `npm run prepare` which will build
- run: npm run docs
- run: mkdir _site
- run: mv -t _site docs dist examples README.md LICENSE index.html
- run: mv -t _site src docs dist examples README.md LICENSE index.html
- run: mkdir -p _site/plugins
- run: find plugins -maxdepth 2 -type d \( -name dist -o -name docs \) -exec sh -c "mkdir -p _site/{} && cp -r {} _site/{}/.." \;
- run: find plugins -maxdepth 2 -type d \( -name dist -o -name docs -name src \) -exec sh -c "mkdir -p _site/{} && cp -r {} _site/{}/.." \;
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload artifact

+ 2
- 0
examples/index.html Zobrazit soubor

@@ -231,6 +231,8 @@
</ul>
<h2 class="category">Interaction</h2>
<ul>
<li><a href="./picking-plugin/">Picking (Selection) Plugin </a></li>
<li><a href="./camera-view-plugin/">Camera View (Animation) Plugin </a></li>
<li><a href="./dropzone-plugin/">Dropzone (Drag & Drop) Plugin </a></li>
<li><a href="./fullscreen-plugin/">FullScreen Plugin </a></li>
</ul>

+ 1
- 1
examples/picking-plugin/index.html Zobrazit soubor

@@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Picking Plugin</title>
<title>Picking (Selection) Plugin</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Import maps polyfill -->
<!-- Remove this when import maps will be widely supported -->

Načítá se…
Zrušit
Uložit