Skip to content

Commit

Permalink
docs: Update TypeDoc config
Browse files Browse the repository at this point in the history
  • Loading branch information
ardalanamini committed Nov 4, 2022
1 parent 2312d3d commit 41cb8bd
Show file tree
Hide file tree
Showing 54 changed files with 70 additions and 28,681 deletions.
53 changes: 53 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,59 @@ jobs:
${{ steps.changelog.outputs.changelog }}
prerelease: ${{ steps.changelog.outputs.prerelease }}

publish-documents:
name: Publish Documents

needs:
- release

permissions:
contents: read
pages: write
id-token: write

environment:
name: documents
url: ${{ steps.github-pages-deployment.outputs.page_url }}

concurrency:
group: ${{ github.workflow }}-documents-${{ github.ref_name }}
cancel-in-progress: true

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Use PNPM
uses: pnpm/action-setup@v2
with:
version: 7

- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v3
with:
cache: pnpm
node-version: ${{ env.NODE_VERSION }}

- name: Install dependencies
run: pnpm i

- name: Generate code documents
run: pnpm document

- name: Setup Pages
uses: actions/configure-pages@v2

- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: 'docs/'

- name: Deploy to GitHub Pages
id: github-pages-deployment
uses: actions/deploy-pages@v1

publish-gpr:
name: Publish to GitHub Packages

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ jobs:
- name: Build the project
run: pnpm build

- name: Generate code documents
run: pnpm document

- name: Get number of CPU cores
id: cpu-cores
uses: SimenB/github-actions-cpu-cores@v1
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,5 @@ typings/
.vscode/

*.tsbuildinfo

docs/
Empty file removed docs/.nojekyll
Empty file.
1 change: 0 additions & 1 deletion docs/CNAME

This file was deleted.

865 changes: 0 additions & 865 deletions docs/assets/css/main.css

This file was deleted.

7 changes: 0 additions & 7 deletions docs/assets/css/main.css.map

This file was deleted.

Binary file removed docs/assets/images/icons.png
Binary file not shown.
Binary file removed docs/assets/images/[email protected]
Binary file not shown.
Binary file removed docs/assets/images/widgets.png
Binary file not shown.
Binary file removed docs/assets/images/[email protected]
Binary file not shown.
5 changes: 0 additions & 5 deletions docs/assets/js/main.js

This file was deleted.

3 changes: 0 additions & 3 deletions docs/assets/js/search.js

This file was deleted.

441 changes: 0 additions & 441 deletions docs/classes/accepts.html

This file was deleted.

324 changes: 0 additions & 324 deletions docs/classes/encapsulation.html

This file was deleted.

Loading

0 comments on commit 41cb8bd

Please sign in to comment.