diff --git a/.github/workflows/jsDoc.yml b/.github/workflows/jsDoc.yml index 0dbc323..baab5a0 100644 --- a/.github/workflows/jsDoc.yml +++ b/.github/workflows/jsDoc.yml @@ -26,8 +26,13 @@ jobs: config_file: jsdoc.json front_page: readme.md - - name: Deploy - uses: peaceiris/actions-gh-pages@v3 + - name: Setup Pages + uses: actions/configure-pages@v2 + - name: Upload artifact + uses: actions/upload-pages-artifact@v1 with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./out + # Upload entire repository + path: '.' + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v1 diff --git a/jsdoc.json b/jsdoc.json index 832dbd7..c670992 100644 --- a/jsdoc.json +++ b/jsdoc.json @@ -1,19 +1,20 @@ { "tags": { "allowUnknownTags": true, - "dictionaries": ["jsdoc"] + "dictionaries": ["jsdoc","closure"] }, "typescript": { "moduleRoot": "lib" }, + "sourceType": "module", "source": { - "include": ["lib", "package.json", "readme.md"], + "include": ["./lib", "package.json", "readme.md"], "includePattern": "\\.(jsx|js|ts|tsx)$", "excludePattern": "(^|\\/|\\\\)_" }, "opts": { "encoding": "utf8", - "destination": "docs", + "destination": "./docs", "readme": "./readme.md", "recurse": true },