Skip to content

Commit 7da64c2

Browse files
committed
rename job
Signed-off-by: Jan Kowalleck <[email protected]>
1 parent 6f2290f commit 7da64c2

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.github/workflows/nodejs.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,8 @@ jobs:
164164
- name: use type declarations
165165
run: npm run build
166166
working-directory: ${{ env.EXAMPLE_DIR }}
167-
api-docs:
168-
name: gen API docs ${{ matrix.target }}
167+
typedoc:
168+
name: typedocs ${{ matrix.target }}
169169
runs-on: "ubuntu-latest"
170170
strategy:
171171
fail-fast: false
@@ -187,5 +187,5 @@ jobs:
187187
cache-dependency-path: "**/package-lock.json"
188188
- name: setup project
189189
run: npm ci --ignore-scripts
190-
- name: gen API docs ${{ matrix.target }}
191-
run: npm run doc:${{ matrix.target }}
190+
- name: typedoc ${{ matrix.target }}
191+
run: npm run typedoc:${{ matrix.target }}

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ bom.metadata.component.dependencies.add(componentA.bomRef)
138138
There is no pre-rendered documentation at the time.
139139
Instead, there are annotated type definitions, so that your IDE and tools may pick up the documentation when you use this library downstream.
140140

141-
Additionally, there is a prepared set of configs for [TypeDoc](https://typedoc.org), so that you can build the API documentation from source via `npm run doc`.
141+
Additionally, there is a prepared set of configs for [TypeDoc](https://typedoc.org), so that you can build the API documentation from source via `npm run typedoc`.
142142

143143
## Development & Contributing
144144

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@
9090
"test:node": "mocha -p",
9191
"test:web": "node -e 'console.log(\"TODO: write web test\")'",
9292
"test:standard": "eslint .",
93-
"doc": "run-p --aggregate-output -lc doc:*",
94-
"doc:node": "typedoc --options typedoc.node.json",
95-
"doc:web": "typedoc --options typedoc.web.json"
93+
"typedoc": "run-p --aggregate-output -lc typedoc:*",
94+
"typedoc:node": "typedoc --options typedoc.node.json",
95+
"typedoc:web": "typedoc --options typedoc.web.json"
9696
}
9797
}

0 commit comments

Comments
 (0)