22
33Complete documentation for the Monodog monorepo analytics and health dashboard API.
44
5- ## 📚 Overview
5+ ## Overview
66
77This documentation covers everything you need to know to install and use Monodog in your monorepo:
88
@@ -11,9 +11,8 @@ This documentation covers everything you need to know to install and use Monodog
1111- ** Usage Guide** : How to use the dashboard and API
1212- ** Features** : Detailed feature documentation
1313- ** API Reference** : Complete REST API documentation
14- - ** Troubleshooting** : Common issues and solutions
1514
16- ## 🚀 Quick Start
15+ ## Quick Start
1716
1817### Prerequisites
1918
@@ -33,207 +32,3 @@ This documentation covers everything you need to know to install and use Monodog
3332 ```
3433
35343 . Open browser to ` http://localhost:3001 `
36-
37- ### Build Production Version
38-
39- ``` bash
40- npm run build
41- ```
42-
43- This generates static HTML in the ` build/ ` directory that can be deployed to any static hosting.
44-
45- ## 📁 Project Structure
46-
47- ```
48- docs/
49- ├── docs/ # Documentation content
50- │ ├── intro.md # Introduction page
51- │ ├── getting-started/ # Getting started guides
52- │ ├── installation/ # Installation guides
53- │ ├── features/ # Features documentation
54- │ ├── api-reference/ # API documentation
55- │ ├── future-section/ # Future Enhancements
56- │ └── troubleshooting/ # Troubleshooting guides
57- ├── src/
58- │ └── css/
59- │ └── custom.css # Custom styles
60- │ └── monodog.css # fontpage styles
61- ├── static/ # Static assets (images, etc)
62- ├── docusaurus.config.js # Docusaurus configuration
63- ├── sidebars.js # Sidebar structure
64- └── package.json # Project configuration
65- ```
66-
67- ## 📝 Adding New Documentation
68-
69- 1 . Create a new ` .md ` file in the appropriate ` docs/ ` subdirectory
70- 2 . Add frontmatter with title and sidebar position:
71- ``` markdown
72- ---
73- sidebar_position: 1
74- title: Your Page Title
75- ---
76-
77- # Page Content
78- ```
79- 3 . Update ` sidebars.js ` if adding a new section
80- 4 . Pages automatically appear in the sidebar!
81-
82- ## 🔗 Available Commands
83-
84- | Command | Description |
85- | ---------| -------------|
86- | ` npm start ` | Start dev server on port 3001 |
87- | ` npm run build ` | Build static site |
88- | ` npm run serve ` | Serve built site |
89- | ` npm run clear ` | Clear cache |
90- | ` npm run swizzle ` | Customize Docusaurus theme |
91-
92- ## 🌐 Deployment
93-
94- ### Build
95- ``` bash
96- npm run build
97- ```
98-
99- ### Deploy to GitHub Pages
100- ``` bash
101- npm run deploy
102- ```
103-
104- ### Deploy to Static Hosting
105- Copy the ` build/ ` folder to your static hosting service (Vercel, Netlify, GitHub Pages, etc.)
106-
107- ## 📖 Documentation Content
108-
109- ### 30 Documentation Files Created
110-
111- - ** Getting Started** (3 files)
112- - Overview
113- - Prerequisites
114- - Quick Start
115-
116- - ** Installation** (4 files)
117- - NPM Installation
118- - Monorepo Configuration
119- - Environment Setup
120- - First Run
121-
122- - ** Usage** (4 files)
123- - Dashboard Guide
124- - Available Commands
125- - Configuration
126- - Examples
127-
128- - ** Features** (5 files)
129- - Package Scanning
130- - Health Monitoring
131- - CI Integration
132- - Dependency Analysis
133- - Git Integration
134-
135- - ** API Reference** (5 files)
136- - API Overview
137- - Packages Endpoint
138- - Health Endpoint
139- - Commits Endpoint
140- - Config Endpoint
141-
142- - ** Advanced** (4 files)
143- - Custom Configuration
144- - Database Setup
145- - Security
146- - Performance
147-
148- - ** Troubleshooting** (4 files)
149- - Common Issues
150- - FAQ
151- - Debug Mode
152- - Getting Support
153-
154- ## 🎨 Customization
155-
156- ### Colors and Theme
157-
158- Edit ` src/css/custom.css ` to customize colors:
159-
160- ``` css
161- :root {
162- --ifm-color-primary : #2e8555 ;
163- --ifm-color-primary-light : #33925d ;
164- }
165- ```
166-
167- ### Configuration
168-
169- Edit ` docusaurus.config.js ` to change:
170- - Site title and tagline
171- - Base URL and deployment
172- - Navbar and footer links
173- - Branding and metadata
174-
175- ## 🔍 Search
176-
177- The documentation includes built-in search functionality powered by Docusaurus.
178-
179- ## 📱 Mobile Responsive
180-
181- The documentation is fully responsive and works perfectly on mobile devices.
182-
183- ## 🌙 Dark Mode
184-
185- Automatic dark mode support with theme toggle in navbar.
186-
187- ## ✅ Features
188-
189- - ✅ Full-text search
190- - ✅ Dark mode support
191- - ✅ Mobile responsive
192- - ✅ SEO optimized
193- - ✅ Syntax highlighting
194- - ✅ Sidebar navigation
195- - ✅ Breadcrumbs
196- - ✅ Edit links
197- - ✅ Table of contents
198-
199- ## 📄 License
200-
201- Same as Monodog project
202-
203- ## �� Contributing
204-
205- To contribute to the documentation:
206-
207- 1 . Edit or create ` .md ` files in ` docs/ `
208- 2 . Update ` sidebars.js ` if needed
209- 3 . Test locally with ` npm start `
210- 4 . Submit a pull request
211-
212- ## 📚 Technology Stack
213-
214- - ** Docusaurus** : Documentation generator
215- - ** React** : UI framework
216- - ** MDX** : Markdown + React
217- - ** Tailwind CSS** : Styling (via custom CSS)
218- - ** Prism** : Syntax highlighting
219-
220- ## 🆘 Support
221-
222- For issues with the documentation:
223-
224- 1 . Check [ Troubleshooting] ( /troubleshooting/common-issues )
225- 2 . Review [ FAQ] ( /troubleshooting/faq )
226- 3 . Open an issue on GitHub
227- 4 . Check discussions
228-
229- ## 📊 Statistics
230-
231- - ** Total Files** : 30 markdown files
232- - ** Total Content** : ~ 10,000+ words
233- - ** Build Size** : 2.0 MB
234- - ** Pages** : 30+
235- - ** Code Examples** : 50+
236-
237- ---
238-
239- ** Built with ❤️ for developers by developers**
0 commit comments