Page
Let's import a MDX partial at ./_pagePartial.md:
Page partial content
This is text coming from a page partial
Now let's import ../README.md:
Docusaurus website dogfooding
This is where we test edge cases of Docusaurus by using fancy configs, ensuring they all don't fail during a real site build.
Eventually, we could move these tests later so another test site? Note there is value to keep seeing the live result of those tests.
Fancy things we can test for here:
- Plugin Multi-instance
- Webpack configs
- _ prefix convention
- Huge sidebars impact
- Using folders with spaces on purpose
- Importing MD docs that are out of content plugin folders as partials (such as this README file!)
Markdown tests
Other tests
- React 18
- SVG
- Crash test
- Code block tests
- Link tests
- Error boundary tests
- Hydration tests
- TOC tests
- Diagram tests
- Tabs tests
- z-index tests
- Head metadata tests
- Unlisted page
- Analytics
- History tests
- Embeds
- Style Isolation tests
- IdealImage tests
- Live Playground tests
- Import attributes tests
- Linking tests