mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Docs: generate packages docs before syncing to website (#27879)
* updated to latest version of api-documenter. * saved lockfile after upgrade. * adding yarn to docker environment. * adding packages to trigger paths. * added steps to workflow for generating docs. * reverted back to api-documenter 0.9.3
This commit is contained in:
parent
a20875bd6c
commit
f334cc4576
8
.github/workflows/publish.yml
vendored
8
.github/workflows/publish.yml
vendored
@ -6,6 +6,7 @@ on:
|
||||
- master
|
||||
paths:
|
||||
- 'docs/sources/**'
|
||||
- 'packages/grafana-*/**'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@ -14,6 +15,13 @@ jobs:
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: generate-packages-docs
|
||||
uses: actions/setup-node@v1
|
||||
id: generate-docs
|
||||
with:
|
||||
node-version: '12'
|
||||
- run: yarn install --pure-lockfile --no-progress
|
||||
- run: ./scripts/ci-reference-docs-build.sh
|
||||
- name: publish-to-git
|
||||
uses: ./.github/actions/gha-publish-to-git
|
||||
id: publish
|
||||
|
@ -75,6 +75,7 @@
|
||||
"@emotion/core": "10.0.27",
|
||||
"@grafana/api-documenter": "0.9.3",
|
||||
"@grafana/eslint-config": "2.0.3",
|
||||
"@grafana/api-extractor": "7.10.1",
|
||||
"@rtsao/plugin-proposal-class-properties": "7.0.1-patch.1",
|
||||
"@testing-library/jest-dom": "^5.11.3",
|
||||
"@testing-library/react": "^10.4.8",
|
||||
@ -205,7 +206,6 @@
|
||||
"zone.js": "0.7.8"
|
||||
},
|
||||
"dependencies": {
|
||||
"@grafana/api-extractor": "7.10.1",
|
||||
"@grafana/slate-react": "0.22.9-grafana",
|
||||
"@reduxjs/toolkit": "1.3.4",
|
||||
"@torkelo/react-select": "3.0.8",
|
||||
|
Loading…
Reference in New Issue
Block a user