Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.8k
chore(website): add 'Automated Rule Docs with Docusaurs and Remark' post#5593
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
chore(website): add 'Automated Rule Docs with Docusaurs and Remark' post#5593
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Thanks for the PR,@JoshuaKGoldberg! typescript-eslint is a 100% community driven project, and we are incredibly grateful that you are contributing to that community. The core maintainers work on this in their personal time, so please understand that it may not be possible for them to review your work immediately. Thanks again! 🙏Please, if you or your company is finding typescript-eslint valuable, help us sustain the project by sponsoring it transparently onhttps://opencollective.com/typescript-eslint. As a thank you, your profile/company logo will be added to our main README which receives thousands of unique visitorsper day. |
nx-cloudbot commentedSep 3, 2022 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
netlifybot commentedSep 3, 2022 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
✅ Deploy Preview fortypescript-eslint ready!
To edit notification comments on pull requests, go to yourNetlify site settings. |
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.
Thanks for mentioning me! I have some copy edit suggestions
packages/website/blog/2022-09-03-automated-rule-docs-with-docusaurus-and-remark.md OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
packages/website/blog/2022-09-03-automated-rule-docs-with-docusaurus-and-remark.md OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
packages/website/blog/2022-09-03-automated-rule-docs-with-docusaurus-and-remark.md OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
Docusaurus supports MDX using [remark](https://remark.js.org), a Markdown processor powered by plugins. | ||
Remark plugins take in Markdown files in a format known as an Abstract Syntax Trees, or AST, and output modified versions of those ASTs. | ||
You can see what Remark's AST equivalent of a Markdown document looks like by visiting [AST Explorer](https://astexplorer.net) and selecting the Markdown language. |
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 strongly suggest addinghttps://mdx-git-renovate-babel-monorepo-mdx.vercel.app/playground here—I think you fell on thetype: "jsx"
node because you were not using the MDX playground 😄
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.
And thus we hit the classic issue in frontend tooling of a million tools, each out of date and/or wrong in their own unique way...
For my edification, what's the different/problem with astexplorer.net? Since astexplorer.net is such as great & widely used tool, I'd rather fix the issue there if possible.
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.
AST explorer using Remark, not MDX.<div />
producestype: "html"
in Remark, buttype: "jsx"
in MDX.import
is also only supported in MDX. AST explorer's MDX mode only shows MDXHAST for some reason, without the MDXAST. Docusaurus' own docs recommend using the MDX playground.
(The "website" there is actually a deploy preview snapshot. We are using it because mdxjs.com is now only hosting MDX v2)
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.
Got it, thanks - my main hiccup is I don't want to link to something that still references a conference from two years ago. If you can get that updated / removed then I'm happy to link!
packages/website/blog/2022-09-03-automated-rule-docs-with-docusaurus-and-remark.md OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
packages/website/blog/2022-09-03-automated-rule-docs-with-docusaurus-and-remark.md OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
packages/website/blog/2022-09-03-automated-rule-docs-with-docusaurus-and-remark.md OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
packages/website/blog/2022-09-03-automated-rule-docs-with-docusaurus-and-remark.md OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
packages/website/blog/2022-09-03-automated-rule-docs-with-docusaurus-and-remark.md OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
packages/website/blog/2022-09-03-automated-rule-docs-with-docusaurus-and-remark.md OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
packages/website/blog/2022-09-03-automated-rule-docs-with-docusaurus-and-remark.md OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
…saurus-and-remark.mdCo-authored-by: Joshua Chen <sidachen2003@gmail.com>
packages/website/blog/2022-09-03-automated-rule-docs-with-docusaurus-and-remark.md OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
packages/website/blog/2022-09-03-automated-rule-docs-with-docusaurus-and-remark.md OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
…saurus-and-remark.mdCo-authored-by: Joshua Chen <sidachen2003@gmail.com>
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.
Or, I'll just admin merge... |
Uh oh!
There was an error while loading.Please reload this page.
PR Checklist
Overview
Enables the Docusaurus blog preset with a single article about how we automated rule docs (#5386).