react-native-paper
react-native-paper copied to clipboard
refactor(docs): replace component-docs with docusaurus
Summary
This PR replaces component-docs with docusaurus for documentation since other modern OSS projects are using it.
Test plan
TBD
Todo
- [x] Initialize new docs site (using docusaurus)
- [x] Write custom plugin that utilizes component-docs’s parser to parse components' description and props (using this approach we won't need to do any changes to existing components docs)
- [x] Fix: components categories structure does not match previous docs version
- [x] Fix: icons preview on the Icons page
- [x] Fix: component props table (better styling and references support like in the previous docs version)
- [x] Configure homepage
- [ ] Get the new site reviewed
- [ ] Actualize guides pages with the latest changes
- [ ] Update internal links the docs/pages
- [ ] Remove old docs site (using component-docs) (it might be done as the latest step to reduce the potential merge conflicts)