Installation : content loader configuration#10187
Conversation
✅ Deploy Preview for astro-docs-2 ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify site configuration. |
Lunaria Status Overview🌕 This pull request will trigger status changes. Learn moreBy default, every PR changing files present in the Lunaria configuration's You can change this by adding one of the keywords present in the Tracked Files
Warnings reference
|
|
Hello! Thank you for opening your first PR to Astro’s Docs! 🎉 Here’s what will happen next:
|
sarah11918
left a comment
There was a problem hiding this comment.
Hi @SebSept ! Thank you for contributing to the docs! I'm glad you figured out how to update your own theme, and appreciate you sharing that.
The code wasn't quite correct however, so I've updated it for our new content collections. And, I don't think I would put this in the section for configuring the integration since this is instead about using MDX in your Astro project.
See what you think about my proposed changes! If you saw this in docs, would this have helped you with your project? Do you think this is helpful to readers?
|
Thanks for the corrections ! Important point is the import statements missing. In fact, this not my own theme but astropaper, found on the site : https://astro.build/themes/details/astropaper/ (first free result with request blog)
I double checked the documentation, tried some changes in the contents, rerun yarn installation, rerun the integration process, etc. I also wonder if it was related to the new version. Finally, It took me a long time to figure that the problem was in a file not mentioned in the documentation. I'm new to Astro, so this is normal. |
|
Well, we do want docs to be helpful! And I don't think having this extra little section hurts anyone. If you say you would have found it a helpful reminder, then I think a section like you proposed is a good reminder that you CAN for sure use MDX in your content collections, even if you had to install MDX yourself. So let's put this in docs and maybe it will help more people! 🙌 Welcome to Team Docs! 🥳 |
… at L101 in mdx.mdx file not working) Signed-off-by: Thomas Bonnet <thomasbnt@protonmail.com>
… at L101 in mdx.mdx file not working) Signed-off-by: Thomas Bonnet <thomasbnt@protonmail.com>
* i18n(fr): Update `guides/integrations-guide/*`from #9240 Signed-off-by: Thomas Bonnet <thomasbnt@protonmail.com> * i18n(fr): Update `guides/integrations-guide/*`from #9240 Signed-off-by: Thomas Bonnet <thomasbnt@protonmail.com> * i18n(fr): Update `guides/integrations-guide/*`from #9240 Signed-off-by: Thomas Bonnet <thomasbnt@protonmail.com> * i18n(fr): Update `guides/integrations-guide/*`from #9240 Signed-off-by: Thomas Bonnet <thomasbnt@protonmail.com> * i18n(fr): Update `guides/integrations-guide/*`from #9240 Signed-off-by: Thomas Bonnet <thomasbnt@protonmail.com> * i18n(fr): Update `guides/integrations-guide/*`from #9240 Signed-off-by: Thomas Bonnet <thomasbnt@protonmail.com> * i18n(fr): Update `guides/integrations-guide/*`from #9240 Signed-off-by: Thomas Bonnet <thomasbnt@protonmail.com> * i18n(fr): Update `guides/integrations-guide/*`from #9240 Signed-off-by: Thomas Bonnet <thomasbnt@protonmail.com> * i18n(fr): Update `guides/integrations-guide/*`from #9240 Signed-off-by: Thomas Bonnet <thomasbnt@protonmail.com> * i18n(fr): Update `guides/integrations-guide/*`from #9240 Signed-off-by: Thomas Bonnet <thomasbnt@protonmail.com> * i18n(fr): Update `guides/integrations-guide/*`from #9240 Signed-off-by: Thomas Bonnet <thomasbnt@protonmail.com> * i18n(fr): Update `guides/integrations-guide/*`from #9240 Signed-off-by: Thomas Bonnet <thomasbnt@protonmail.com> * i18n(fr): Update `guides/integrations-guide/*`from #9240 Signed-off-by: Thomas Bonnet <thomasbnt@protonmail.com> * i18n(fr): Update `guides/integrations-guide/*`from #9240 Signed-off-by: Thomas Bonnet <thomasbnt@protonmail.com> * i18n(fr): Update `guides/integrations-guide/*`from #9240 Signed-off-by: Thomas Bonnet <thomasbnt@protonmail.com> * i18n(fr): Update `guides/integrations-guide/*`from #9240 Signed-off-by: Thomas Bonnet <thomasbnt@protonmail.com> * i18n(fr): Update `guides/integrations-guide/*`from #9240 Signed-off-by: Thomas Bonnet <thomasbnt@protonmail.com> * i18n(fr): Update `guides/integrations-guide/*`from #9240 Signed-off-by: Thomas Bonnet <thomasbnt@protonmail.com> * i18n(fr): Update `guides/integrations-guide/*`from #9240 Signed-off-by: Thomas Bonnet <thomasbnt@protonmail.com> * i18n(fr): Update `guides/integrations-guide/*`from #9240 Signed-off-by: Thomas Bonnet <thomasbnt@protonmail.com> * i18n(fr): Update `guides/integrations-guide/*`from #9240 Signed-off-by: Thomas Bonnet <thomasbnt@protonmail.com> * i18n(fr): Update `guides/integrations-guide/*`from #9240 Signed-off-by: Thomas Bonnet <thomasbnt@protonmail.com> * i18n(fr): Update `guides/integrations-guide/*`from #9240 Signed-off-by: Thomas Bonnet <thomasbnt@protonmail.com> * i18n(fr): Update `guides/integrations-guide/*`from #9240 Signed-off-by: Thomas Bonnet <thomasbnt@protonmail.com> * i18n(fr): Update `guides/integrations-guide/*`from #9240 Signed-off-by: Thomas Bonnet <thomasbnt@protonmail.com> * i18n(fr): Update `guides/integrations-guide/*`from #9240 Signed-off-by: Thomas Bonnet <thomasbnt@protonmail.com> * i18n(fr): Update `guides/integrations-guide/*`from #9240 Signed-off-by: Thomas Bonnet <thomasbnt@protonmail.com> * i18n(fr): Update `guides/integrations-guide/*`from #9240 Signed-off-by: Thomas Bonnet <thomasbnt@protonmail.com> * i18n(fr): Update `guides/integrations-guide/*`from #9240 Signed-off-by: Thomas Bonnet <thomasbnt@protonmail.com> * i18n(fr): Update `guides/integrations-guide/*`from #9240 Signed-off-by: Thomas Bonnet <thomasbnt@protonmail.com> * i18n(fr): Update `guides/integrations-guide/*`from #9240 Signed-off-by: Thomas Bonnet <thomasbnt@protonmail.com> * i18n(fr): Err tab Signed-off-by: Thomas Bonnet <thomasbnt@protonmail.com> * i18n(fr): Remove <reference... L116 in netlify Signed-off-by: Thomas Bonnet <thomasbnt@protonmail.com> * i18n(fr): Remove "côté serveur" L14 in solid-js Signed-off-by: Thomas Bonnet <thomasbnt@protonmail.com> * i18n(fr): Remove "squoosh" L190 in vercel Signed-off-by: Thomas Bonnet <thomasbnt@protonmail.com> * i18n(fr): Remove "<reference..." L389 in vercel Signed-off-by: Thomas Bonnet <thomasbnt@protonmail.com> * i18n(fr): remove `await` from `import.meta.glob()` from #10332 Signed-off-by: Thomas Bonnet <thomasbnt@protonmail.com> * i18n(fr): content loader configuration from #10187 (the link at L101 in mdx.mdx file not working) Signed-off-by: Thomas Bonnet <thomasbnt@protonmail.com> * i18n(fr): content loader configuration from #10187 (the link at L101 in mdx.mdx file not working) Signed-off-by: Thomas Bonnet <thomasbnt@protonmail.com> * i18n(fr): Note for myself, mdx.mdx line 101 : When content-collections will be updated, put this text with good link Signed-off-by: Thomas Bonnet <thomasbnt@protonmail.com> * i18n(fr): L237 in vercel.mdx "#astrorequest" Signed-off-by: Thomas Bonnet <thomasbnt@protonmail.com> --------- Signed-off-by: Thomas Bonnet <thomasbnt@protonmail.com> Co-authored-by: Armand Philippot <git@armand.philippot.eu>
Description
Missing configuration needed to finish mdx integration.
The theme I use did use mdx by default, so I had to do this change.
It worth mentioning this point, I guess.