This website is built using Docusaurus. It serves as the official documentation and learning platform for Rubix.
npm installnpm startThis command starts a local development server and opens up a browser window at http://localhost:3000. Most changes are reflected live without having to restart the server.
npm run buildThis command generates static content into the build directory and can be served using any static contents hosting service.
npm run serveThis command serves the built website locally for testing the production build.
This website is automatically deployed to GitHub Pages when changes are pushed to the main branch. The deployment is handled by GitHub Actions workflow located at .github/workflows/github-pages.yml.
Using SSH:
USE_SSH=true npm run deployNot using SSH:
GIT_USER=<Your GitHub username> npm run deploy- Create a new branch from
main - Make your changes
- Test locally with
npm start - Build and test with
npm run buildandnpm run serve - Submit a pull request
learn/
├── docs/ # Documentation files
├── src/ # Custom React components and pages
├── static/ # Static assets (images, files, etc.)
├── docusaurus.config.js # Docusaurus configuration
├── sidebars.js # Sidebar navigation configuration
└── package.json # Dependencies and scripts
- Live Site: https://rubixchain.github.io/learn
- Docusaurus Documentation: https://docusaurus.io/
- Rubix Main Repository: https://github.com/rubixchain