Skip to content

Commit

Permalink
Add credentials to published api reference docs (#417)
Browse files Browse the repository at this point in the history
  • Loading branch information
leordev authored Feb 21, 2024
1 parent 80c59fd commit f831621
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 6 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/docs-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ jobs:
docsReporter: typedoc
docsGenerator: typedoc-html
readmeFile: packages/dids/README.md
- file: packages/credentials/src/index.ts
docsReporter: typedoc
docsGenerator: typedoc-html
readmeFile: packages/credentials/README.md
- name: Save Artifacts
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 #v3.1.3
Expand Down
17 changes: 11 additions & 6 deletions .github/workflows/docs-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@
name: Build and Deploy Docs

on:
# Runs on pushes targeting the default branch
# push:
# branches:
# - main

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Automatically triggers when a new release is published
workflow_run:
workflows: ["Release to NPM Registry"]
types:
- completed

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
Expand All @@ -32,7 +33,7 @@ jobs:
with:
node-version: 18
registry-url: https://registry.npmjs.org/
cache: 'npm'
cache: "npm"

- name: Install dependencies
run: |
Expand Down Expand Up @@ -65,6 +66,10 @@ jobs:
docsReporter: typedoc
docsGenerator: typedoc-html
readmeFile: packages/dids/README.md
- file: packages/credentials/src/index.ts
docsReporter: typedoc
docsGenerator: typedoc-html
readmeFile: packages/credentials/README.md
- name: Upload documentation artifacts
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 #v3.1.3
Expand Down
4 changes: 4 additions & 0 deletions scripts/tbdocs-check-local.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ INPUT_ENTRY_POINTS="
docsReporter: typedoc
docsGenerator: typedoc-html
readmeFile: packages/dids/README.md
- file: packages/credentials/src/index.ts
docsReporter: typedoc
docsGenerator: typedoc-html
readmeFile: packages/credentials/README.md
"

# Default docker image
Expand Down

0 comments on commit f831621

Please sign in to comment.