@patternfly/documentation-framework 1.10.0 → 1.10.2
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 +19 -0
- package/app.js +1 -1
- package/package.json +2 -2
- package/scripts/webpack/webpack.base.config.js +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,25 @@
|
|
|
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
|
+
## 1.10.2 (2023-03-08)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **menu:** update and clarify description ([#3438](https://github.com/patternfly/patternfly-org/issues/3438)) ([d06eb61](https://github.com/patternfly/patternfly-org/commit/d06eb619e6bfd185ade10fcfcd703003ec0e606f))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## 1.10.1 (2023-03-02)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @patternfly/documentation-framework
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
# 1.10.0 (2023-03-01)
|
|
7
26
|
|
|
8
27
|
|
package/app.js
CHANGED
|
@@ -19,7 +19,7 @@ import './layouts/sideNavLayout/sideNavLayout.css';
|
|
|
19
19
|
const AppRoute = ({ child, katacodaLayout, title, path }) => {
|
|
20
20
|
const pathname = useLocation().pathname;
|
|
21
21
|
if (typeof window !== 'undefined' && window.gtag) {
|
|
22
|
-
gtag('config',
|
|
22
|
+
gtag('config', process.env.googleAnalyticsID, {
|
|
23
23
|
'page_path': pathname,
|
|
24
24
|
'page_title': (title || pathname)
|
|
25
25
|
});
|
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": "1.10.
|
|
4
|
+
"version": "1.10.2",
|
|
5
5
|
"author": "Red Hat",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"private": false,
|
|
@@ -84,5 +84,5 @@
|
|
|
84
84
|
"react": "^16.8.0 || ^17.0.0",
|
|
85
85
|
"react-dom": "^16.8.0 || ^17.0.0"
|
|
86
86
|
},
|
|
87
|
-
"gitHead": "
|
|
87
|
+
"gitHead": "78bd2ec519b63a8fd4426ed2761d431ba58bcd50"
|
|
88
88
|
}
|
|
@@ -8,6 +8,7 @@ module.exports = (_env, argv) => {
|
|
|
8
8
|
const {
|
|
9
9
|
pathPrefix = '',
|
|
10
10
|
mode,
|
|
11
|
+
googleAnalyticsID = false,
|
|
11
12
|
algolia = {},
|
|
12
13
|
hasGdprBanner = false,
|
|
13
14
|
hasFooter = false,
|
|
@@ -136,6 +137,7 @@ module.exports = (_env, argv) => {
|
|
|
136
137
|
new webpack.DefinePlugin({
|
|
137
138
|
'process.env.NODE_ENV': JSON.stringify(mode),
|
|
138
139
|
'process.env.pathPrefix': JSON.stringify(isProd ? pathPrefix : ''),
|
|
140
|
+
'process.env.googleAnalyticsID': JSON.stringify(isProd ? googleAnalyticsID : ''),
|
|
139
141
|
'process.env.algolia': JSON.stringify(algolia),
|
|
140
142
|
'process.env.hasGdprBanner': JSON.stringify(hasGdprBanner),
|
|
141
143
|
'process.env.hasFooter': JSON.stringify(hasFooter),
|