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') }}
|
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-yarn-
|
${{ runner.os }}-yarn-
|
||||||
- name: Install modules
|
|
||||||
run: yarn install --frozen-lockfile
|
|
||||||
- name: Install modules (example/)
|
|
||||||
run: yarn example --frozen-lockfile
|
|
||||||
|
|
||||||
- name: Test Docs Build
|
- name: Test Docs Build
|
||||||
run: |
|
run: |
|
||||||
|
yarn install --frozen-lockfile
|
||||||
cd docs
|
cd docs
|
||||||
yarn install --frozen-lockfile
|
yarn install --frozen-lockfile
|
||||||
yarn build
|
yarn build
|
||||||
@ -82,10 +79,6 @@ jobs:
|
|||||||
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
|
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-yarn-
|
${{ 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
|
- name: Release to GitHub Pages
|
||||||
env:
|
env:
|
||||||
|
@ -97,7 +97,7 @@ module.exports = {
|
|||||||
{
|
{
|
||||||
entryPoints: ['../src'],
|
entryPoints: ['../src'],
|
||||||
exclude: "../src/index.ts",
|
exclude: "../src/index.ts",
|
||||||
tsconfig: '../tsconfig.json',
|
tsconfig: '../tsconfig.docs.json',
|
||||||
readme: "none",
|
readme: "none",
|
||||||
sidebar: {
|
sidebar: {
|
||||||
sidebarFile: 'typedoc-sidebar.js',
|
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