Skip to content

Conversation

@anegg0
Copy link
Contributor

@anegg0 anegg0 commented Nov 26, 2025

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

  • Gentle introduction
  • Quickstart
  • How-to
  • Concept
  • FAQ
  • Troubleshooting
  • Reference
  • Third-party content
  • Not applicable

- 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
- Update escapeForMDX to escape < and > characters
- Prevents MDX from interpreting text like <url> as JSX tags
- Fixes build errors when questions contain angle brackets
@vercel
Copy link

vercel bot commented Nov 26, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Updated (UTC)
arbitrum-docs Ready Ready Preview Dec 11, 2025 8:05pm

@anegg0 anegg0 marked this pull request as ready for review November 26, 2025 04:09
@anegg0 anegg0 requested a review from Jason-W123 November 26, 2025 04:09
@Jason-W123 Jason-W123 marked this pull request as draft November 26, 2025 10:50
@Jason-W123 Jason-W123 force-pushed the add-questions-answers-from-notion-db branch from fee0ff1 to 8d6525d Compare November 26, 2025 10:55
@anegg0 anegg0 marked this pull request as ready for review November 26, 2025 17:44
@Jason-W123
Copy link
Contributor

Re-open this on #2950 as we prefer to use CSV instead

@Jason-W123 Jason-W123 closed this Dec 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants