@patternfly/documentation-framework 5.13.3 → 5.14.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,28 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## 5.14.1 (2024-05-02)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **misc:** fix broken about links ([#3987](https://github.com/patternfly/patternfly-org/issues/3987)) ([10b1e04](https://github.com/patternfly/patternfly-org/commit/10b1e04ed9129758579796ecabd47d50a089307b))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# 5.14.0 (2024-05-02)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* **docs:** fix for missing props tables ([#3981](https://github.com/patternfly/patternfly-org/issues/3981)) ([11963b6](https://github.com/patternfly/patternfly-org/commit/11963b60d63ea20a09de67dc81ba8ac0e26224aa))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
6
28
|
## 5.13.3 (2024-04-24)
|
|
7
29
|
|
|
8
30
|
**Note:** Version bump only for package @patternfly/documentation-framework
|
|
@@ -29,7 +29,7 @@ export const Footer = () => (
|
|
|
29
29
|
<li className="ws-org-pfsite-footer-menu-list-item">
|
|
30
30
|
<Link
|
|
31
31
|
className="ws-org-pfsite-footer-menu-link"
|
|
32
|
-
to={"/get-started/about"}
|
|
32
|
+
to={"/get-started/about-patternfly"}
|
|
33
33
|
aria-label="Get started with PatternFly 4"
|
|
34
34
|
>
|
|
35
35
|
Get started
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@patternfly/documentation-framework",
|
|
3
3
|
"description": "A framework to build documentation for PatternFly.",
|
|
4
|
-
"version": "5.
|
|
4
|
+
"version": "5.14.1",
|
|
5
5
|
"author": "Red Hat",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"private": false,
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"@babel/preset-env": "^7.24.3",
|
|
14
14
|
"@babel/preset-react": "^7.24.1",
|
|
15
15
|
"@mdx-js/util": "1.6.16",
|
|
16
|
-
"@patternfly/ast-helpers": "^1.
|
|
16
|
+
"@patternfly/ast-helpers": "^1.14.1",
|
|
17
17
|
"@reach/router": "npm:@gatsbyjs/reach-router@1.3.9",
|
|
18
18
|
"autoprefixer": "9.8.6",
|
|
19
19
|
"babel-loader": "^9.1.3",
|
|
@@ -80,5 +80,5 @@
|
|
|
80
80
|
"react": "^17.0.0 || ^18.0.0",
|
|
81
81
|
"react-dom": "^17.0.0 || ^18.0.0"
|
|
82
82
|
},
|
|
83
|
-
"gitHead": "
|
|
83
|
+
"gitHead": "1ca32d07dee91368107501a6c585d37aea8df7fc"
|
|
84
84
|
}
|
package/pages/404/index.js
CHANGED
package/templates/mdx.js
CHANGED
|
@@ -71,7 +71,7 @@ const MDXChildTemplate = ({
|
|
|
71
71
|
)}
|
|
72
72
|
{beta && (
|
|
73
73
|
<InlineAlert title="Beta feature">
|
|
74
|
-
This beta component is currently under review and is still open for further evolution. It is available for use in product. Beta components are considered for promotion on a quarterly basis. Please join in and give us your feedback or submit any questions on the <a href="https://forum.patternfly.org/">PatternFly forum</a> or via <a href="//slack.patternfly.org/" target="_blank" rel="noopener noreferrer">Slack</a>. To learn more about the process, visit our <Link to="/get-started/about#beta-components">about page</Link> or our <a href="https://github.com/patternfly/patternfly-org/tree/main/beta-component-promotion">Beta components</a> page on GitHub.
|
|
74
|
+
This beta component is currently under review and is still open for further evolution. It is available for use in product. Beta components are considered for promotion on a quarterly basis. Please join in and give us your feedback or submit any questions on the <a href="https://forum.patternfly.org/">PatternFly forum</a> or via <a href="//slack.patternfly.org/" target="_blank" rel="noopener noreferrer">Slack</a>. To learn more about the process, visit our <Link to="/get-started/about-patternfly#beta-components">about page</Link> or our <a href="https://github.com/patternfly/patternfly-org/tree/main/beta-component-promotion">Beta components</a> page on GitHub.
|
|
75
75
|
</InlineAlert>
|
|
76
76
|
)}
|
|
77
77
|
{(deprecated || source === 'react-deprecated' || source === 'html-deprecated') && (
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
const path = require(
|
|
1
|
+
const path = require("path");
|
|
2
2
|
|
|
3
3
|
module.exports = (sourceMD, sourceProps) => {
|
|
4
4
|
/** Parse source content for props so that we can display them. You must source props before sourcing the markdown
|
|
5
5
|
files, otherwise the props table won't be rendered.
|
|
6
6
|
*/
|
|
7
|
-
const propsIgnore = [
|
|
8
|
-
const extensionPath = path.join(__dirname,
|
|
9
|
-
sourceProps(path.join(extensionPath,
|
|
7
|
+
const propsIgnore = ["/**/*.test.tsx", "/**/examples/*.tsx"];
|
|
8
|
+
const extensionPath = path.join(__dirname, "../src");
|
|
9
|
+
sourceProps(path.join(extensionPath, "/**/*.tsx"), propsIgnore);
|
|
10
10
|
|
|
11
|
-
// Parse md files
|
|
12
|
-
const contentBase = path.join(__dirname,
|
|
13
|
-
sourceMD(path.join(contentBase,
|
|
11
|
+
// Parse md files
|
|
12
|
+
const contentBase = path.join(__dirname, "./content");
|
|
13
|
+
sourceMD(path.join(contentBase, "extensions/**/*.md"), "extensions");
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
If you want to parse content from node_modules instead of providing a relative/absolute path,
|
|
@@ -23,4 +23,4 @@ module.exports = (sourceMD, sourceProps) => {
|
|
|
23
23
|
sourceMD(path.join(extensionPath, '../patternfly-docs/**\/demos/*.md'), 'react-demos');
|
|
24
24
|
sourceMD(path.join(extensionPath, '../patternfly-docs/**\/design-guidelines/*.md'), 'design-guidelines');
|
|
25
25
|
*/
|
|
26
|
-
}
|
|
26
|
+
};
|