| - run: npm ci # this will also run `npm run prepare` which will build | - run: npm ci # this will also run `npm run prepare` which will build | ||||
| - run: npm run docs | - run: npm run docs | ||||
| - run: mkdir _site | - 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: 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 | - name: Setup Pages | ||||
| uses: actions/configure-pages@v3 | uses: actions/configure-pages@v3 | ||||
| - name: Upload artifact | - name: Upload artifact |
| </ul> | </ul> | ||||
| <h2 class="category">Interaction</h2> | <h2 class="category">Interaction</h2> | ||||
| <ul> | <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="./dropzone-plugin/">Dropzone (Drag & Drop) Plugin </a></li> | ||||
| <li><a href="./fullscreen-plugin/">FullScreen Plugin </a></li> | <li><a href="./fullscreen-plugin/">FullScreen Plugin </a></li> | ||||
| </ul> | </ul> |
| <html lang="en"> | <html lang="en"> | ||||
| <head> | <head> | ||||
| <meta charset="UTF-8"> | <meta charset="UTF-8"> | ||||
| <title>Picking Plugin</title> | |||||
| <title>Picking (Selection) Plugin</title> | |||||
| <meta name="viewport" content="width=device-width, initial-scale=1"> | <meta name="viewport" content="width=device-width, initial-scale=1"> | ||||
| <!-- Import maps polyfill --> | <!-- Import maps polyfill --> | ||||
| <!-- Remove this when import maps will be widely supported --> | <!-- Remove this when import maps will be widely supported --> |