[i18nIgnore] [reference] new components page#9465
Conversation
✅ Deploy Preview for astro-docs-2 ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Lunaria Status Overview🌑 This pull request will not trigger status changes. Learn moreLunaria automatically ignores changes on specific PRs by adding a ignored keyword in its title. Found: You can change this by either removing the keyword above from the PR's title, or modifying the Tracked FilesNote The notes below indicate what would happen if the pull request is merged when triggering status changes. Since a ignored keyword was found in the PR's title, the status changes indicated below won't be applied.
Warnings reference
|
Co-authored-by: Yan <61414485+yanthomasdev@users.noreply.github.com>
ArmandPhilippot
left a comment
There was a problem hiding this comment.
Regarding the split, I have nothing to say... besides reducing the size of api-reference.mdx, I think it adds visibility for those only interested in components. So, LGTM!
But since I'm here... some nitpicking regarding code snippets. 😄
Co-authored-by: Armand Philippot <git@armand.philippot.eu>
VoxelMC
left a comment
There was a problem hiding this comment.
Awesome, LGTM. Thank you!
This will make these more intuitive to find for sure!
A few tiny comments are all I have for ya.
Co-authored-by: Armand Philippot <git@armand.philippot.eu>
Co-authored-by: voxel!() <voxelmc@hotmail.com>
Co-authored-by: voxel!() <voxelmc@hotmail.com>
|
!coauthor |
|
| tableOfContents: | ||
| minHeadingLevel: 2 | ||
| maxHeadingLevel: 2 |
There was a problem hiding this comment.
Until we go through and structure this page and we decide what it will look like, temporary fix so that only the components show up in the TOC.
(The alternative would be to convert ### to <h3>, which would also be fine! This way preserves our normal Markdown authoring.)
| import PackageManagerTabs from '~/components/tabs/PackageManagerTabs.astro'; | ||
| import ReadMore from '~/components/ReadMore.astro'; | ||
|
|
||
| Astro includes several built-in components for you to use in your projects. All built-in components are available in `.astro` files via `import {} from 'astro:components'`. |
There was a problem hiding this comment.
The heading that was here was redundant (pulled directly from the other page where it was simply a page section.)
This means we don't need it here, and all the components can be ##.
* i18n(fr): add `components-reference.mdx` See #9465 * reword: ceci > il Co-authored-by: pioupia <49518790+pioupia@users.noreply.github.com> --------- Co-authored-by: pioupia <49518790+pioupia@users.noreply.github.com> Co-authored-by: Yan <61414485+yanthomasdev@users.noreply.github.com>
Description (required)
This splits out the "Built-in components" section at the bottom of API reference into its own page. This makes them easier to find, and helps with the API reference page getting too long for Algolia to properly index