Skip to content

Commit

Permalink
docs: Setup typedoc (#27)
Browse files Browse the repository at this point in the history
* docs: add typedoc dependency
* add workflow to deploy to github pages
* use peaceiris/actions-gh-pages
* fix: use "just docs" in release workflow

---------

Co-authored-by: Chris Dickinson <[email protected]>
  • Loading branch information
mhmd-azeez and chrisdickinson authored Nov 15, 2023
1 parent f6f7b1d commit 8e4fc5a
Show file tree
Hide file tree
Showing 3 changed files with 95 additions and 5 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,12 @@ jobs:
uses: JS-DevTools/[email protected]
with:
token: ${{ secrets.NPM_TOKEN }}

- name: typedoc
run: just docs

- name: Deploy docs to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs
87 changes: 83 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@
"playwright": "^1.39.0",
"prettier": "^2.7.1",
"tape": "^5.7.1",
"typedoc": "^0.25.2",
"typedoc": "^0.25.3",
"typedoc-github-wiki-theme": "^1.1.0",
"typedoc-plugin-markdown": "^3.17.1",
"typescript": "^5.2.2"
}
}

0 comments on commit 8e4fc5a

Please sign in to comment.