DocServer
Inherits from: Object
A simple documentation server for Maggie.
Serves generated HTML documentation and provides a /api/eval endpoint for running interactive examples from the browser.
Usage: DocServer start: './docs/api'. DocServer start: './docs/api' port: 3000.
Class Methods
uncategorized
class start:
Start the documentation server on the default port (8080). Serves static files from the given directory.
class start:port:
Start the documentation server on the given port. Serves static files from docDir and provides /api/eval endpoint.
Example
DocServer start: './docs/api' port: 3000