@patternfly/documentation-framework 5.13.3 → 5.14.0

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,17 @@
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.0 (2024-05-02)
7
+
8
+
9
+ ### Features
10
+
11
+ * **docs:** fix for missing props tables ([#3981](https://github.com/patternfly/patternfly-org/issues/3981)) ([11963b6](https://github.com/patternfly/patternfly-org/commit/11963b60d63ea20a09de67dc81ba8ac0e26224aa))
12
+
13
+
14
+
15
+
16
+
6
17
  ## 5.13.3 (2024-04-24)
7
18
 
8
19
  **Note:** Version bump only for package @patternfly/documentation-framework
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.13.3",
4
+ "version": "5.14.0",
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.13.3",
16
+ "@patternfly/ast-helpers": "^1.14.0",
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": "6a627ec353411fa4a52445b8d2069950a95c2fcb"
83
+ "gitHead": "5ad2739032ec19cb0b27816187c90cdc6d926aa7"
84
84
  }
@@ -1,16 +1,16 @@
1
- const path = require('path');
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 = ['**/*.test.tsx', '**/examples/*.tsx'];
8
- const extensionPath = path.join(__dirname, '../src');
9
- sourceProps(path.join(extensionPath, '/**/*.tsx'), propsIgnore);
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, './content');
13
- sourceMD(path.join(contentBase, 'extensions/**/*.md'), 'extensions');
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
+ };