Skip to content

Commit c37b8c1

Browse files
authored
Merge pull request #179 from CooperRedhat/docs-from-cli
Rebuild docs using CLI tool
2 parents 7fba754 + 4985b3d commit c37b8c1

Some content is hidden

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

49 files changed

+4974
-137
lines changed

.eslintignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,7 @@ dist
66
node_modules
77
public
88
bin
9-
build
9+
build
10+
11+
# paternfly-docs
12+
**/generated/**/*.js

.github/workflows/a11y.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ jobs:
1313
steps:
1414
- name: Checkout
1515
uses: actions/checkout@v2
16-
- name: Use Node.js 15
16+
- name: Use Node.js 16
1717
uses: actions/setup-node@v2
1818
with:
19-
node-version: 15
19+
node-version: 16
2020
- name: Install
2121
run: yarn install
2222
- name: Build

.github/workflows/node.js.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
strategy:
1818
matrix:
19-
node-version: [12.x, 14.x]
19+
node-version: [14.x, 16.x]
2020

2121
steps:
2222
- uses: actions/checkout@v2

.github/workflows/npm-publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- uses: actions/checkout@v2
1515
- uses: actions/setup-node@v1
1616
with:
17-
node-version: 12
17+
node-version: 16
1818
- run: yarn install
1919
- run: yarn build
2020

@@ -25,7 +25,7 @@ jobs:
2525
- uses: actions/checkout@v2
2626
- uses: actions/setup-node@v1
2727
with:
28-
node-version: 12
28+
node-version: 16
2929
registry-url: https://registry.npmjs.org/
3030
- run: yarn install
3131
- run: yarn build
@@ -40,7 +40,7 @@ jobs:
4040
- uses: actions/checkout@v2
4141
- uses: actions/setup-node@v1
4242
with:
43-
node-version: 12
43+
node-version: 16
4444
registry-url: https://npm.pkg.github.com/
4545
- run: yarn install
4646
- run: yarn build

.github/workflows/visual-testing.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
branches: [ main ]
66
pull_request:
77
branches: [ main ]
8-
8+
99
env:
1010
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }}
1111

@@ -16,10 +16,10 @@ jobs:
1616
steps:
1717
- name: Checkout
1818
uses: actions/checkout@v2
19-
- name: Use Node.js 15
19+
- name: Use Node.js 16
2020
uses: actions/setup-node@v2
2121
with:
22-
node-version: 15
22+
node-version: 16
2323
- name: Install
2424
run: yarn install
2525
- name: Build
@@ -29,4 +29,4 @@ jobs:
2929
yarn start &
3030
sleep 60 &&
3131
yarn visual
32-
32+

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,5 @@ storybook-static
88
.idea
99
.env
1010
stats.html
11+
12+
.cache

packages/dev/src/Nav.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ export const Nav: NavInterface[] = [
3131
to: '/quickstarts-context',
3232
},
3333
{
34-
id: 'in-context-help',
35-
name: 'In Context Help',
36-
to: '/in-context-help',
34+
id: 'in-app-documentation',
35+
name: 'In-app documentation',
36+
to: '/in-app-documentation',
3737
},
3838
];
3939

packages/dev/src/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ ReactDOM.render(
4848
<DefaultCatalog hint="This catalog is for testing the context based quick starts approach by utilizing the QuickStartContextProvider" />
4949
</AppContext>
5050
</Route>
51-
<Route exact path="/in-context-help">
51+
<Route exact path="/in-app-documentation">
5252
<AppHelpTopicDemo>
5353
<MockConsole />
5454
</AppHelpTopicDemo>

packages/dev/src/quickstarts-data/quick-start-test-data.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ import sampleApplicationQuickstart from './yaml/sample-application-quickstart.ya
2121
import serverlessApplicationQuickstart from './yaml/serverless-application-quickstart.yaml';
2222
import springWithS2i from './yaml/spring-with-s2i.yaml';
2323

24-
// in-context help examples
25-
import exampleHelpTopics from './yaml/in-context-help/example-topics.yaml';
24+
// In-app documentation examples
25+
import exampleHelpTopics from './yaml/in-app-documentation/example-topics.yaml';
2626

2727
export const allQuickStarts: QuickStart[] = [
2828
template,

packages/dev/src/quickstarts-data/yaml/in-context-help/example-topics.yaml renamed to packages/dev/src/quickstarts-data/yaml/in-app-documentation/example-topics.yaml

File renamed without changes.

0 commit comments

Comments
 (0)