Instruction file imported from gristlekinginc/metsci-site-v2 (
.cursor/rules/file-structure.mdc). Copyright stays with the author.
File Structure Guide
Key Directories
Content Directories
- docs/ - Main documentation with tutorials and guides
- docs/tutorial-basics/ - Core LoRaWAN tutorials (numbered 001-009)
- docs/tutorial-extras/ - Advanced topics and integrations
- docs/codecs/ - Device codec documentation
- blog/ - Industry articles and technical blog posts
- static/ - Static assets (images, files, scripts)
Source Code
- src/components/ - Reusable React components
- src/components/HomepageFeatures/ - Homepage feature cards
- src/components/InfoPanes/ - Information display components
- src/pages/ - Custom pages (about, contact, etc.)
- src/css/ - Custom styling and CSS variables
Configuration
- docusaurus.config.js - Main Docusaurus configuration
- sidebars.js - Documentation sidebar structure
- package.json - Dependencies and npm scripts
- vercel.json - Vercel deployment configuration
Assets Organization
- static/images/ - Tutorial and documentation images
- static/img/ - Branding, icons, and media assets
- static/flows/ - Node-RED flow JSON files
- static/scripts/ - Installation and utility scripts
Utility Scripts
- scripts/ - Build and optimization scripts
- extra_admin/ - Administrative files and backups