diff --git a/.github/workflows/typedoc.yml b/.github/workflows/typedoc.yml index d6310cac..5872f28c 100644 --- a/.github/workflows/typedoc.yml +++ b/.github/workflows/typedoc.yml @@ -37,6 +37,8 @@ jobs: run: rm ./docs/type/* -rf - name: update .gitignore run: sed -i -e '/\/docs\/type/d' .gitignore + - name: update sample.html + run: sed --in-place --expression='s/..\/..\/dist\/bundle.js/https:\/\/cdn.jsdelivr.net\/npm\/@xpadev-net\/niconicomments@latest\/dist\/bundle.min.js/' docs/sample/index.html - name: generate typedoc run: npm run typedoc diff --git a/README.md b/README.md index d699b2b8..cc152890 100644 --- a/README.md +++ b/README.md @@ -38,5 +38,5 @@ setInterval(() => niconiComments.drawCanvas(Math.floor(video.currentTime * 100)) ``` ## Sample -[サンプル](https://xpadev.net/niconicomments/sample.html) +[サンプル](https://xpadev-net.github.io/niconicomments/sample/) [CodePen](https://codepen.io/xpadev-net/pen/mdBdQmX) diff --git a/docs/index.html b/docs/index.html index f8d472ac..72206723 100644 --- a/docs/index.html +++ b/docs/index.html @@ -87,7 +87,7 @@