Ignore example/
for building docs
This commit is contained in:
parent
71b442aeb4
commit
138e7bd0ec
9
.github/workflows/build-docs.yml
vendored
9
.github/workflows/build-docs.yml
vendored
@ -40,13 +40,10 @@ jobs:
|
||||
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-yarn-
|
||||
- name: Install modules
|
||||
run: yarn install --frozen-lockfile
|
||||
- name: Install modules (example/)
|
||||
run: yarn example --frozen-lockfile
|
||||
|
||||
- name: Test Docs Build
|
||||
run: |
|
||||
yarn install --frozen-lockfile
|
||||
cd docs
|
||||
yarn install --frozen-lockfile
|
||||
yarn build
|
||||
@ -82,10 +79,6 @@ jobs:
|
||||
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-yarn-
|
||||
- name: Install modules
|
||||
run: yarn install --frozen-lockfile
|
||||
- name: Install modules (example/)
|
||||
run: yarn example --frozen-lockfile
|
||||
|
||||
- name: Release to GitHub Pages
|
||||
env:
|
||||
|
@ -97,7 +97,7 @@ module.exports = {
|
||||
{
|
||||
entryPoints: ['../src'],
|
||||
exclude: "../src/index.ts",
|
||||
tsconfig: '../tsconfig.json',
|
||||
tsconfig: '../tsconfig.docs.json',
|
||||
readme: "none",
|
||||
sidebar: {
|
||||
sidebarFile: 'typedoc-sidebar.js',
|
||||
|
5
tsconfig.docs.json
Normal file
5
tsconfig.docs.json
Normal file
@ -0,0 +1,5 @@
|
||||
|
||||
{
|
||||
"extends": "./tsconfig",
|
||||
"exclude": ["example"]
|
||||
}
|
Loading…
Reference in New Issue
Block a user