Skip to content

Commit 7319f74

Browse files
authored
Merge pull request #544 from edonehoo/org-iss4753
fix: Update links to align with nav redesign.
2 parents 72f979c + 57c6bea commit 7319f74

File tree

5 files changed

+22
-8
lines changed

5 files changed

+22
-8
lines changed

.github/workflows/build-lint-test.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,15 @@ jobs:
155155
if: steps.dist.outputs.cache-hit != 'true'
156156
- name: Build docs
157157
run: npm run build:docs
158+
- uses: actions/cache@v4
159+
id: puppeteer-cache
160+
name: Cache Puppeteer browsers
161+
with:
162+
path: ~/.cache/puppeteer
163+
key: ${{ runner.os }}-puppeteer-${{ hashFiles('package-lock.json') }}
158164
- name: Install Chrome for Puppeteer
159-
run: npx puppeteer browsers install chrome
165+
run: npx puppeteer browsers install chrome
166+
if: steps.puppeteer-cache.outputs.cache-hit != 'true'
160167
- name: A11y tests
161168
run: npm run serve:docs & npm run test:a11y
162169
test_component:

.github/workflows/pr-preview.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,22 +34,29 @@ jobs:
3434
path: '**/node_modules'
3535
key: ${{ runner.os }}-npm-14-${{ secrets.CACHE_VERSION }}-${{ hashFiles('package-lock.json') }}
3636
- run: npm install --frozen-lockfile
37-
if: steps.yarn-cache.outputs.cache-hit != 'true'
37+
if: steps.npm-cache.outputs.cache-hit != 'true'
3838
- run: npm run build
3939
name: Build data view
4040
- uses: actions/cache@v4
4141
id: docs-cache
4242
name: Load webpack cache
4343
with:
4444
path: '.cache'
45-
key: ${{ runner.os }}-v4-${{ hashFiles('yarn.lock') }}
45+
key: ${{ runner.os }}-v4-${{ hashFiles('package-lock.json') }}
4646
- run: npm run build:docs
4747
name: Build docs
4848
- run: node .github/upload-preview.js packages/module/public
4949
name: Upload docs
5050
if: always()
51+
- uses: actions/cache@v4
52+
id: puppeteer-cache
53+
name: Cache Puppeteer browsers
54+
with:
55+
path: ~/.cache/puppeteer
56+
key: ${{ runner.os }}-puppeteer-${{ hashFiles('package-lock.json') }}
5157
- name: Install Chrome for Puppeteer
52-
run: npx puppeteer browsers install chrome
58+
run: npx puppeteer browsers install chrome
59+
if: steps.puppeteer-cache.outputs.cache-hit != 'true'
5360
- run: npm run serve:docs & npm run test:a11y
5461
name: a11y tests
5562
- run: node .github/upload-preview.js packages/module/coverage

packages/module/patternfly-docs/content/extensions/data-view/examples/DataView/DataView.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ The **data view** extension enables you to display datasets in organized layouts
3030

3131
### Layout
3232

33-
A data view should contain a header, the data representation, and a footer. These parts are organized in a [stack layout](/layouts/stack).
33+
A data view should contain a header, the data representation, and a footer. These parts are organized in a [stack layout](/foundations-and-styles/layouts/stack).
3434

3535
The data view toolbars and sub-components that display the data (like a card view or table) are always passed as `children` to the `<DataView>` component.
3636

packages/module/patternfly-docs/content/extensions/data-view/examples/Table/Table.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ When there is a data connection or retrieval error, you can display an error sta
149149

150150
The error state will be displayed when the data view `activeState` value is `error`.
151151

152-
You can create your error state by passing either the [component groups extension's error state](/component-groups/error-state) or a [PatternFly empty state](/components/empty-state) to the `error` key of `headStates` or `bodyStates`.
152+
You can create your error state by passing either the [component groups extension's error state](/extensions/component-groups/error-state) or a [PatternFly empty state](/components/empty-state) to the `error` key of `headStates` or `bodyStates`.
153153

154154
```js file="./DataViewTableErrorExample.tsx"
155155

@@ -161,7 +161,7 @@ To indicate that data is loading, you can display a loading state.
161161

162162
The loading state will be displayed when the data view `activeState` value is `loading`.
163163

164-
You can create your loading state by passing either the [component groups extension's skeleton table](/component-groups/skeleton-table) or a customized [PatternFly empty state](/components/empty-state) to the `loading` key of `headStates` or `bodyStates`.
164+
You can create your loading state by passing either the [component groups extension's skeleton table](/extensions/component-groups/skeleton-table) or a customized [PatternFly empty state](/components/empty-state) to the `loading` key of `headStates` or `bodyStates`.
165165

166166
```js file="./DataViewTableLoadingExample.tsx"
167167

packages/module/patternfly-docs/content/extensions/data-view/examples/Toolbar/Toolbar.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ You can further customize toolbar interactions by referring to the additional do
4444
```
4545

4646
## Toolbar actions
47-
To support additional user needs, you can pass relevant actions to the toolbar via `actions`. Add standard PatternFly actions (like buttons) or choose predefined [responsive actions](/component-groups/responsive-actions) which ensure the responsive behavior of multiple actions in 1 toolbar.
47+
To support additional user needs, you can pass relevant actions to the toolbar via `actions`. Add standard PatternFly actions (like buttons) or choose predefined [responsive actions](/extensions/component-groups/responsive-actions) which ensure the responsive behavior of multiple actions in 1 toolbar.
4848

4949
### Actions example
5050

0 commit comments

Comments
 (0)