This directory contains the Docusaurus-based documentation website for ore-ui.
This website is built using Docusaurus 2, a modern static website generator.
The documentation site uses React 16 (required by Docusaurus 2.4.3), which is different from the main project's React 18. This is why the documentation is kept as a separate workspace with its own dependencies.
# From project root
yarn docs:install && yarn docs:start
# Or from docs directory
cd docs && yarn install && yarn startThis command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
# From project root
yarn docs:build
# Or from docs directory
cd docs && yarn buildThis command generates static content into the build directory and can be served using any static contents hosting service.
The documentation is automatically deployed to GitHub Pages when changes are pushed to the docs/ directory on the main branch.
- Framework: Docusaurus 2.4.3
- React Version: 16.9.0 (required by Docusaurus)
- Deployment: GitHub Pages
- Build Output:
docs/build/
The documentation is maintained as a separate workspace (not included in the main yarn workspaces) because:
- React Version Conflict: Main project uses React 18, while Docusaurus requires React 16
- Independent Dependencies: Documentation has different tooling and build requirements
- Separate Build Pipeline: Different CI/CD requirements for documentation vs library packages
- Deployment Independence: Documentation can be deployed separately from library releases