Skip to content

Commit 24fe54f

Browse files
committed
chore: rework docs to remove generated files from the repo
1 parent 488274a commit 24fe54f

224 files changed

Lines changed: 1592 additions & 47066 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/deploy-docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ jobs:
3030
- name: Setup
3131
uses: ./.github/actions/setup
3232

33-
- name: Generate 5.x component docs
34-
run: node scripts/generate-component-docs.ts origin/5.0 docs/src/data/componentDocs5x.json
33+
- name: Generate 5.x docs
34+
run: yarn --cwd docs generate:5x
3535

3636
- name: Build docs
3737
run: yarn --cwd docs build

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ android/keystores/debug.keystore
6464
#
6565
dist/
6666
web-build/
67+
docs/5.x/component-docs.json
68+
docs/5.x/docs/components/
69+
docs/6.x/docs/components/
6770

6871
# Release
6972
#

docs/.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@ npm-debug.log*
2222
yarn-debug.log*
2323
yarn-error.log*
2424

25-
# component-docs-plugin
26-
docs/components
27-
2825
# legacy
2926
dist/
3027
.linaria-cache/

docs/5.x/_nav.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@
44
"link": "/docs/guides/getting-started",
55
"activeMatch": "^/docs/guides/"
66
},
7-
{
8-
"text": "Components",
9-
"link": "/docs/components/ActivityIndicator",
10-
"activeMatch": "^/docs/components/"
11-
},
127
{
138
"text": "Showcase",
149
"link": "/docs/showcase",

docs/5.x/docs/_meta.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@
44
"name": "guides",
55
"label": "Guides"
66
},
7-
{
8-
"type": "dir-section-header",
9-
"name": "components",
10-
"label": "Components"
11-
},
127
{
138
"type": "file",
149
"name": "showcase",

docs/5.x/docs/components/ActivityIndicator.mdx

Lines changed: 0 additions & 90 deletions
This file was deleted.

docs/5.x/docs/components/Appbar/Appbar.mdx

Lines changed: 0 additions & 173 deletions
This file was deleted.

0 commit comments

Comments
 (0)