Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
|
Download web_docs/README.md from CommunityOne/open-navigator: direct link, hf CLI and curl.
- Browser
- Download file 1.73 kB
-
https://huggingface.co/spaces/CommunityOne/open-navigator/resolve/main/web_docs/README.md
- Command line
-
hf download hf://spaces/CommunityOne/open-navigator/web_docs/README.md
-
curl -L -o README.md https://huggingface.co/spaces/CommunityOne/open-navigator/resolve/main/web_docs/README.md
1.73 kB
Open Navigator - Documentation Site
This directory contains the Docusaurus documentation website for the Open Navigator project.
Quick Start
# Install dependencies
npm install
# Start development server
npm start
# Open http://localhost:3000
Available Commands
npm start # Start development server (localhost:3000)
npm run build # Build static site for production
npm run serve # Serve production build locally
npm run deploy # Deploy to GitHub Pages
npm run clear # Clear Docusaurus cache
Documentation Structure
docs/- All documentation markdown filesblog/- removed (see #731)src/pages/- Custom React pages (home, redirect to app)static/- Static assets (images, files)docusaurus.config.ts- Site configurationsidebars.ts- Documentation sidebar structure
Integration with Main Project
The documentation site is part of the larger Open Navigator project:
- Documentation:
http://localhost:3000(this site) - Open Navigator: React app at
frontend/(separate Vite app) - API: FastAPI backend at
api/
The /dashboard page in this site redirects users to the React application.
Deployment
Local Testing
npm run build
npm run serve
GitHub Pages
GIT_USER=<username> npm run deploy
Integration with Main App
The built static site can be served alongside the FastAPI backend for production.
Resources
Built with Docusaurus 🦖