build api reference as part of the microsite

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2021-09-12 12:00:12 +02:00
parent 5e0c8cdaaa
commit 575d8bd9f2
3 changed files with 10 additions and 7 deletions
@@ -4,12 +4,6 @@ on:
push:
branches:
- master
paths:
- '.github/workflows/microsite-with-storybook-deploy.yml'
- 'packages/storybook/**'
- 'packages/core-components/src/**'
- 'microsite/**'
- 'docs/**'
jobs:
deploy-microsite-and-storybook:
@@ -41,6 +35,9 @@ jobs:
run: yarn install --frozen-lockfile
working-directory: microsite
- name: build API reference
run: yarn build:api-docs
- name: build microsite
run: yarn build
working-directory: microsite
+1
View File
@@ -0,0 +1 @@
reference/*.md
+6 -1
View File
@@ -238,7 +238,12 @@
{
"type": "subcategory",
"label": "Guides",
"ids": [ "api/utility-apis" ]
"ids": ["api/utility-apis"]
},
{
"type": "subcategory",
"label": "API Reference",
"ids": ["reference/index"]
}
],
"Tutorials": [