This project is divided into 2 parts:
- docusaurus documentation
- live examples
Each part is managed separately by two distincts package.json
cd docusaurus
npm i
npm startcd examples
npm i
npm startpython deployIf you want to add a live-example to the documentation, best is to start in the examples directory:
- Create a folder containing your example
- Reference it in
/index.html - Reference it in
/vite.config.jsin theinputsection - Publish your code to GitHub and deploy examples container
- You are now able to include the github code in your markdown and a live exemple as an iframe