Skip to content

Commit

Permalink
fix: add 'under development' banner to alpha docs & hide extensions (#…
Browse files Browse the repository at this point in the history
…3905)

* fix: add 'under development' banner to alpha docs

* hide extensions docs from alpha

* update wording
  • Loading branch information
nicolethoen authored Mar 19, 2024
1 parent 25bff48 commit efb38df
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/documentation-site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"screenshots": "pf-docs-framework screenshots"
},
"dependencies": {
"@patternfly/documentation-framework": "6.0.0-alpha.10",
"@patternfly/documentation-framework": "6.0.0-alpha.12",
"@patternfly/quickstarts": "5.1.0",
"@patternfly/react-catalog-view-extension": "5.0.0",
"@patternfly/react-console": "5.0.0",
Expand Down
5 changes: 5 additions & 0 deletions packages/documentation-site/patternfly-docs/pages/home.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import React from "react";
import {Link} from "@patternfly/documentation-framework/components";
import {
Banner,
Button,
Card,
CardHeader,
Expand All @@ -13,6 +14,7 @@ import {
FlexItem,
Grid,
PageSection,
PageSectionVariants,
Title,
Text,
TextVariants,
Expand Down Expand Up @@ -157,6 +159,9 @@ const FeaturedBlogCard = ({postData, idx}) => {

const HomePage = () => (
<React.Fragment>
<Banner color="blue" isSticky>
Welcome to the PatternFly 6 staging website! PatternFly 6 is <span className="pf-v6-u-font-weight-bold">still under development, so documentation across this website will continue to change.</span>
</Banner>
<PageSection isWidthLimited className="ws-homepage-main-section">
<Flex
direction={{default: "column", lg: "row"}}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const componentsData = require('./pages/landing-pages/components/components-data.json');
// This module is shared between NodeJS and babelled ES5, if this extension only build
// exclude the other side nav items.
if (process.env.EXTENSIONS_ONLY === 'true') {
if (process.env.EXTENSIONS_ONLY === 'true') {
module.exports = {
hasGdprBanner: false,
hasFooter: false,
Expand Down Expand Up @@ -36,13 +36,13 @@ if (process.env.EXTENSIONS_ONLY === 'true') {
{ section: 'UX writing' },
{ section: 'components' },
{ section: 'patterns' },
{ section: 'extensions' },
// { section: 'extensions' },
{ section: 'charts' },
{ section: 'topology' },
{ section: 'layouts' },
// { section: 'topology' },
{ section: 'layouts' },
{ section: 'utility-classes' },
{ section: 'developer-resources' },
{ section: 'training' },
{ section: 'training' },
],
topNavItems: [],
port: 8003,
Expand Down

0 comments on commit efb38df

Please sign in to comment.