.\launch.ps1This will automatically:
- Start a local web server on port 8080
- Open your default browser to the documentation
- Display the server status in the console
Options:
.\launch.ps1 -Port 3000- Use a different port.\launch.ps1 -NoBrowser- Don't open browser automatically.\launch.ps1 -Browser firefox- Use a specific browser
Double-click launch-docs.bat or run:
launch-docs.bat# Open docs in browser automatically
npm run docs
# Just start the server (no browser)
npm run docs:serve
# Start with live reload (requires live-server)
npm run docs:watchnpx http-server doc/doc-html -p 8080 -oThe documentation is located in the doc/doc-html/ folder:
doc/
└── doc-html/
├── index.html # Main documentation page
├── css/ # Stylesheets
│ └── styles.css
├── js/ # JavaScript files
│ └── scripts.js
├── images/ # Images and logos
└── *.html # Additional documentation pages
- Responsive Design: Works on desktop and mobile devices
- Syntax Highlighting: Code examples with proper formatting
- Search: Built-in search functionality
- Navigation: Easy navigation between sections
- Examples: Interactive code examples
- API Reference: Complete API documentation
- Node.js 14.0.0 or higher
- npm or npx available in PATH
The launch script automatically finds an available port if 8080 is busy. You can also specify a different port:
.\launch.ps1 -Port 3000Install Node.js from https://nodejs.org/
Ensure the doc/doc-html folder exists and contains index.html
To modify the documentation:
- Edit files in the
doc/doc-htmlfolder - The server will serve updated content (refresh browser to see changes)
- For live reload, use:
npm run docs:watch
For questions or issues, contact:
- Email: support@devpossible.com
- Website: https://devpossible.com
© 2024 DevPossible, LLC. All rights reserved.