-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Add support for writing conditional documentation on the docs site #7951
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 3234f48:
|
8022610
to
994cada
Compare
This will allow us to remove the
website_live
branch while still allowing us to document new features that will only be available in the next release. The conditionals are removed when doing a release. I was planning on removing them by transforming Markdoc's AST but Markdoc's formatter is experimental and seems to break on some of our content so this uses a regex. I was also planning to add conditionals around documentation on unreleased features but it seems as though there isn't any.New
Updates
Removals