-
Notifications
You must be signed in to change notification settings - Fork 422
Add new QA content from notion db #2891
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
Closed
Closed
Conversation
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
- Import Question, QuestionType, lookupQuestions, renderRichTexts from notion-docs-generator - Add RenderedQuestion type for question rendering - Create helper functions: generateQuestionKey and renderQuestion - Add rendering functions for MDX and JSON output formats - Query all questions from Notion database without filtering - Handle rendering errors gracefully by skipping problematic questions - Generate static/miscellaneous-qa.json and docs/partials/_miscellaneous-QA.mdx
Generated from Notion question database using the updated notion-update script
Updated by running yarn notion:update with the latest Notion content
Auto-formatted by pre-commit hooks
This reverts commit 46733e7.
- Update escapeForMDX to escape < and > characters - Prevents MDX from interpreting text like <url> as JSX tags - Fixes build errors when questions contain angle brackets
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
fee0ff1 to
8d6525d
Compare
Contributor
|
Re-open this on #2950 as we prefer to use CSV instead |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
Integration of @Jason-W123's changes to the notion-docs-update repo, so that the docs can contain a new set of Questions and answers.
Document type