-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
chore(cleanup): move mdx files out of root #8167
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
Merged
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
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
avivkeller marked this conversation as resolved.
Show resolved
Hide resolved
|
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 |
|---|---|---|
| @@ -0,0 +1,87 @@ | ||
| 'use strict'; | ||
|
|
||
| import BadgeGroup from '@node-core/ui-components/Common/BadgeGroup'; | ||
| import Blockquote from '@node-core/ui-components/Common/Blockquote'; | ||
| import MDXCodeTabs from '@node-core/ui-components/MDX/CodeTabs'; | ||
|
|
||
| import Button from '#site/components/Common/Button'; | ||
| import LinkWithArrow from '#site/components/Common/LinkWithArrow'; | ||
| import DownloadButton from '#site/components/Downloads/DownloadButton'; | ||
| import DownloadsTable from '#site/components/Downloads/DownloadsTable'; | ||
| import BlogPostLink from '#site/components/Downloads/Release/BlogPostLink'; | ||
| import ChangelogLink from '#site/components/Downloads/Release/ChangelogLink'; | ||
| import ReleaseDownloadLink from '#site/components/Downloads/Release/DownloadLink'; | ||
| import ReleaseInstallationMethodDropdown from '#site/components/Downloads/Release/InstallationMethodDropdown'; | ||
| import ReleaseOperatingSystemDropdown from '#site/components/Downloads/Release/OperatingSystemDropdown'; | ||
| import ReleasePackageManagerDropdown from '#site/components/Downloads/Release/PackageManagerDropdown'; | ||
| import ReleasePlatformDropdown from '#site/components/Downloads/Release/PlatformDropdown'; | ||
| import ReleasePrebuiltDownloadButtons from '#site/components/Downloads/Release/PrebuiltDownloadButtons'; | ||
| import ReleaseCodeBox from '#site/components/Downloads/Release/ReleaseCodeBox'; | ||
| import ReleaseVersionDropdown from '#site/components/Downloads/Release/VersionDropdown'; | ||
| import EOLAlertBox from '#site/components/EOL/EOLAlert'; | ||
| import EOLReleaseTable from '#site/components/EOL/EOLReleaseTable'; | ||
| import Link from '#site/components/Link'; | ||
| import UpcomingMeetings from '#site/components/MDX/Calendar/UpcomingMeetings'; | ||
| import MDXCodeBox from '#site/components/MDX/CodeBox'; | ||
| import MDXImage from '#site/components/MDX/Image'; | ||
| import MinorReleasesTable from '#site/components/Releases/MinorReleasesTable'; | ||
| import PreviousReleasesTable from '#site/components/Releases/PreviousReleasesTable'; | ||
| import ReleaseOverview from '#site/components/Releases/ReleaseOverview'; | ||
| import WithBadgeGroup from '#site/components/withBadgeGroup'; | ||
| import WithBanner from '#site/components/withBanner'; | ||
| import WithDownloadArchive from '#site/components/withDownloadArchive'; | ||
| import WithNodeRelease from '#site/components/withNodeRelease'; | ||
| import WithReleaseAlertBox from '#site/components/withReleaseAlertBox'; | ||
| import WithReleaseSelect from '#site/components/withReleaseSelect'; | ||
| import { ReleaseProvider } from '#site/providers/releaseProvider'; | ||
|
|
||
| /** | ||
| * A full list of React Components that we want to pass through to MDX | ||
| * | ||
| * @satisfies {import('mdx/types').MDXComponents} | ||
| */ | ||
| export default { | ||
| // HTML overrides | ||
| a: Link, | ||
| blockquote: Blockquote, | ||
| pre: MDXCodeBox, | ||
| img: MDXImage, | ||
| // Renders MDX CodeTabs | ||
| CodeTabs: MDXCodeTabs, | ||
| // Renders a Download Button | ||
| DownloadButton, | ||
| // Renders a stateless Release Select Component | ||
| WithReleaseSelect, | ||
| // Group of components that enable you to select versions for Node.js | ||
| // releases and download selected versions. Uses `releaseProvider` as a provider | ||
| Release: { | ||
| Provider: ReleaseProvider, | ||
| VersionDropdown: ReleaseVersionDropdown, | ||
| InstallationMethodDropdown: ReleaseInstallationMethodDropdown, | ||
| PackageManagerDropdown: ReleasePackageManagerDropdown, | ||
| PlatformDropdown: ReleasePlatformDropdown, | ||
| OperatingSystemDropdown: ReleaseOperatingSystemDropdown, | ||
| BlogPostLink, | ||
| PrebuiltDownloadButtons: ReleasePrebuiltDownloadButtons, | ||
| ReleaseCodeBox, | ||
| ChangelogLink, | ||
| DownloadLink: ReleaseDownloadLink, | ||
| }, | ||
| // HOC for providing the Download Archive Page properties | ||
| WithDownloadArchive, | ||
| DownloadsTable, | ||
| PreviousReleasesTable, | ||
| WithNodeRelease, | ||
| WithReleaseAlertBox, | ||
| WithBanner, | ||
| WithBadgeGroup, | ||
| BadgeGroup, | ||
| ReleaseOverview, | ||
| MinorReleasesTable, | ||
| UpcomingMeetings, | ||
| EOLAlertBox, | ||
| EOLReleaseTable, | ||
| Button, | ||
| Link, | ||
| LinkWithArrow, | ||
| }; |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.