-
Notifications
You must be signed in to change notification settings - Fork 147
feat(site): update doc-core to 1.22.0 #4946
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
wise-king-sullyman
wants to merge
16
commits into
main
Choose a base branch
from
update-doc-core-1.15.4
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
8abaf75
feat(API): update patternfly-doc-core to 1.15.4
wise-king-sullyman cd8f854
update to doc core 1.15.5 to resolve bugs found in 1.15.4
wise-king-sullyman 5554006
Merge branch 'main' into update-doc-core-1.15.4
wise-king-sullyman c88df04
feat(site): update doc-core to 1.20.0
wise-king-sullyman 7bd5431
Merge branch 'main' into update-doc-core-1.15.4
wise-king-sullyman fd169d2
Update lock file
wise-king-sullyman ab7e423
Add ci:build script for doc-core site to copy docs-site content at build
wise-king-sullyman 9bd5791
Update build-astro workflow to use ci:build:doc-core script
wise-king-sullyman 442be1e
Merge branch 'main' into update-doc-core-1.15.4
wise-king-sullyman 4a88713
Update patternfly-doc-core to 1.22.0
wise-king-sullyman 3c7b2d3
Add file extensions where needed after adding jsx extension to jsx files
wise-king-sullyman e70b306
Convert release notes data to JSX
wise-king-sullyman bb743dd
Move wrangler.jsonc to root
wise-king-sullyman a3abcc2
Remove files which should've been gitignored
wise-king-sullyman 2f23268
Update script to ensure needed directories are created
wise-king-sullyman f6ec840
Gitignore and remove built files
wise-king-sullyman File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -46,3 +46,5 @@ lerna-debug.log | |
| !.yarn/releases | ||
| !.yarn/sdks | ||
| !.yarn/versions | ||
|
|
||
| *.tsbuildinfo | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ntation-framework/components/link/link.js → ...tation-framework/components/link/link.jsx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
79 changes: 1 addition & 78 deletions
79
packages/documentation-framework/components/sectionGallery/sectionGallery.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,78 +1 @@ | ||
| import React from "react"; | ||
|
|
||
| import './sectionGallery.css'; | ||
| import { SectionGalleryToolbar } from "./sectionGalleryToolbar"; | ||
| import { SectionGalleryLayout } from "./sectionGalleryLayout"; | ||
| import { SectionDataListLayout } from "./sectionDataListLayout"; | ||
| import { SectionGalleryWrapper } from "./sectionGalleryWrapper"; | ||
|
|
||
| /** | ||
| * Helper component returns gallery of items with search toolbar and switchable gallery/data list views. | ||
| * @param {Object} illustrations - Object of preview images mapped to their snake_case item display name | ||
| * @param {string} section - Name of the navigation section to create the gallery within | ||
| * @param {Object} galleryItemsData - Object containing the image location & summary text mapped to the gallery item's hyphenated-name | ||
| * @param {string} [placeholderText=Search by name] - Optional text to be displayed as placeholder for SearchInput | ||
| * @param {string} [countText= items] - Optional text to be displayed after the number of search results | ||
| * @param {string} [initialLayout=grid] - Optional text to indicate whether to default to grid or list layout | ||
| * @param {Boolean} [hasGridText=false] - Optional boolean to toggle text on grid layout cards | ||
| * @param {Boolean} [hasGridImages=false] - Optional boolean to toggle images on grid layout cards | ||
| * @param {Boolean} [hasListText=false] - Optional boolean to toggle text on list layout rows | ||
| * @param {Boolean} [hasListImages=false] - Optional boolean to toggle images on list layout rows | ||
| * @param {Boolean} [isFullWidth=true] - Optional boolean to disable component from exceeding default max-width for page | ||
| */ | ||
|
|
||
| export const SectionGallery = ({ | ||
| illustrations, | ||
| section, | ||
| subsection = null, | ||
| includeSubsections = false, | ||
| parseSubsections = false, | ||
| galleryItemsData, | ||
| placeholderText, | ||
| countText, | ||
| initialLayout = "grid", | ||
| hasGridText = false, | ||
| hasGridImages = true, | ||
| hasListText = true, | ||
| hasListImages = true, | ||
| isFullWidth = true, | ||
| onlyShowInGalleryData = false | ||
| }) => ( | ||
| <SectionGalleryWrapper | ||
| illustrations={illustrations} | ||
| section={section} | ||
| subsection={subsection} | ||
| includeSubsections={includeSubsections} | ||
| parseSubsections={parseSubsections} | ||
| galleryItemsData={galleryItemsData} | ||
| initialLayout={initialLayout} | ||
| isFullWidth={isFullWidth} | ||
| onlyShowInGalleryData={onlyShowInGalleryData} | ||
| > | ||
| {(sectionGalleryItems, searchTerm, setSearchTerm, layoutView, setLayoutView) => ( | ||
| <> | ||
| <SectionGalleryToolbar | ||
| galleryItems={sectionGalleryItems} | ||
| searchTerm={searchTerm} | ||
| setSearchTerm={setSearchTerm} | ||
| layoutView={layoutView} | ||
| setLayoutView={setLayoutView} | ||
| placeholderText={placeholderText} | ||
| countText={countText} | ||
| /> | ||
| <SectionGalleryLayout | ||
| galleryItems={sectionGalleryItems} | ||
| layoutView={layoutView} | ||
| hasGridText={hasGridText} | ||
| hasGridImages={hasGridImages} | ||
| /> | ||
| <SectionDataListLayout | ||
| galleryItems={sectionGalleryItems} | ||
| layoutView={layoutView} | ||
| hasListText={hasListText} | ||
| hasListImages={hasListImages} | ||
| /> | ||
| </> | ||
| )} | ||
| </SectionGalleryWrapper> | ||
| ); | ||
| export * from './sectionGallery.jsx'; |
78 changes: 78 additions & 0 deletions
78
packages/documentation-framework/components/sectionGallery/sectionGallery.jsx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,78 @@ | ||
| import React from "react"; | ||
|
|
||
| import './sectionGallery.css'; | ||
| import { SectionGalleryToolbar } from "./sectionGalleryToolbar.jsx"; | ||
| import { SectionGalleryLayout } from "./sectionGalleryLayout.jsx"; | ||
| import { SectionDataListLayout } from "./sectionDataListLayout.jsx"; | ||
| import { SectionGalleryWrapper } from "./sectionGalleryWrapper.jsx"; | ||
|
|
||
| /** | ||
| * Helper component returns gallery of items with search toolbar and switchable gallery/data list views. | ||
| * @param {Object} illustrations - Object of preview images mapped to their snake_case item display name | ||
| * @param {string} section - Name of the navigation section to create the gallery within | ||
| * @param {Object} galleryItemsData - Object containing the image location & summary text mapped to the gallery item's hyphenated-name | ||
| * @param {string} [placeholderText=Search by name] - Optional text to be displayed as placeholder for SearchInput | ||
| * @param {string} [countText= items] - Optional text to be displayed after the number of search results | ||
| * @param {string} [initialLayout=grid] - Optional text to indicate whether to default to grid or list layout | ||
| * @param {Boolean} [hasGridText=false] - Optional boolean to toggle text on grid layout cards | ||
| * @param {Boolean} [hasGridImages=false] - Optional boolean to toggle images on grid layout cards | ||
| * @param {Boolean} [hasListText=false] - Optional boolean to toggle text on list layout rows | ||
| * @param {Boolean} [hasListImages=false] - Optional boolean to toggle images on list layout rows | ||
| * @param {Boolean} [isFullWidth=true] - Optional boolean to disable component from exceeding default max-width for page | ||
| */ | ||
|
|
||
| export const SectionGallery = ({ | ||
| illustrations, | ||
| section, | ||
| subsection = null, | ||
| includeSubsections = false, | ||
| parseSubsections = false, | ||
| galleryItemsData, | ||
| placeholderText, | ||
| countText, | ||
| initialLayout = "grid", | ||
| hasGridText = false, | ||
| hasGridImages = true, | ||
| hasListText = true, | ||
| hasListImages = true, | ||
| isFullWidth = true, | ||
| onlyShowInGalleryData = false | ||
| }) => ( | ||
| <SectionGalleryWrapper | ||
| illustrations={illustrations} | ||
| section={section} | ||
| subsection={subsection} | ||
| includeSubsections={includeSubsections} | ||
| parseSubsections={parseSubsections} | ||
| galleryItemsData={galleryItemsData} | ||
| initialLayout={initialLayout} | ||
| isFullWidth={isFullWidth} | ||
| onlyShowInGalleryData={onlyShowInGalleryData} | ||
| > | ||
| {(sectionGalleryItems, searchTerm, setSearchTerm, layoutView, setLayoutView) => ( | ||
| <> | ||
| <SectionGalleryToolbar | ||
| galleryItems={sectionGalleryItems} | ||
| searchTerm={searchTerm} | ||
| setSearchTerm={setSearchTerm} | ||
| layoutView={layoutView} | ||
| setLayoutView={setLayoutView} | ||
| placeholderText={placeholderText} | ||
| countText={countText} | ||
| /> | ||
| <SectionGalleryLayout | ||
| galleryItems={sectionGalleryItems} | ||
| layoutView={layoutView} | ||
| hasGridText={hasGridText} | ||
| hasGridImages={hasGridImages} | ||
| /> | ||
| <SectionDataListLayout | ||
| galleryItems={sectionGalleryItems} | ||
| layoutView={layoutView} | ||
| hasListText={hasListText} | ||
| hasListImages={hasListImages} | ||
| /> | ||
| </> | ||
| )} | ||
| </SectionGalleryWrapper> | ||
| ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/documentation-framework/templates/design-guidelines.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
packages/documentation-site/patternfly-docs/content/AI/Compass/tsconfig.tsbuildinfo
This file was deleted.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
packages/documentation-site/patternfly-docs/content/about-us.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,7 @@ | ||
| --- | ||
| id: About us | ||
| title: About us | ||
| section: Get started | ||
| --- | ||
|
|
||
| import './get-started/get-started.css'; | ||
|
|
||
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions
4
.../accessibility/accessibility-scorecard.js → ...accessibility/accessibility-scorecard.jsx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand why you'd be mixing import and require() in the same file
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because some of the files we're importing from are ESM and some are CJS