Skip to content

feat(site): update doc-core to 1.20.0#4946

Open
wise-king-sullyman wants to merge 7 commits intomainfrom
update-doc-core-1.15.4
Open

feat(site): update doc-core to 1.20.0#4946
wise-king-sullyman wants to merge 7 commits intomainfrom
update-doc-core-1.15.4

Conversation

@wise-king-sullyman
Copy link
Collaborator

Closes #4930

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Mar 3, 2026

Deploying patternfly-org with  Cloudflare Pages  Cloudflare Pages

Latest commit: ab7e423
Status:🚫  Build failed.

View logs

Copy link
Collaborator

@nicolethoen nicolethoen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does this change mean that composing pages with embedded react components should be constructed or located differently than before? that'll be important to communicate to Erin.

import React from 'react';
import { Link as ReachLink, navigate } from '@reach/router';
import { getAsyncComponent } from '../../routes';
const { getAsyncComponent } = require('../../routes');
Copy link
Collaborator

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

"ci:build": "yarn generate:content && yarn build",
"clean": "rm -rf src/generated",
"generate:content": "patternfly-doc-core convert-to-mdx ../documentation-site/patternfly-docs/content/",
"generate:content": "rm -rf src/content && cp -r ../documentation-site/patternfly-docs/content src/content",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does doc-core 1.20.0 handle .md files natively now without needing to convert to mdx?

"astro": "^5.16.10"
"@patternfly/patternfly-doc-core": "^1.20.0",
"@patternfly/react-icons": "^6.5.0-prerelease.14",
"astro": "^5.15.9"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this an intentional bump down for the astro version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Pull latest doc-core version into the site package and add all docs to it

2 participants