Move all existing .mdx files into this package and format/edit to work with docusaurus
Remove eslint config as a package - it was more of a hindrance
Add prettier to the docs package for markdown formatting support (tried eslint-plugin-mdx but couldn't get it to work)
Notes
The docs package is set up to use React 18, but docusaurus doesn't support this yet as a peer dependency. This means the --legacy-peer-deps flag is required when doing an npm install. Because docusaurus hasn't been updated to support React 18 yet, it means it doesn't use the createRoot API to render anything
Depends on: https://github.com/pixijs/pixi-react/pull/364 Resolves: https://github.com/play-co/react-pixi/issues/10 Resolves: https://github.com/play-co/react-pixi/issues/11
Changes
docusaurus
in separatedocs
package.mdx
files into this package and format/edit to work with docusauruseslint
config as a package - it was more of a hindrancedocs
package for markdown formatting support (triedeslint-plugin-mdx
but couldn't get it to work)Notes
docs
package is set up to use React 18, butdocusaurus
doesn't support this yet as a peer dependency. This means the--legacy-peer-deps
flag is required when doing annpm install
. Becausedocusaurus
hasn't been updated to support React 18 yet, it means it doesn't use thecreateRoot
API to render anything