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 start
cd examples
npm i
npm start
python deploy
If 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.js
in theinput
section - 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