The default template when rendering Ocelot Docs
This template is compiled through Webpack and fulfils the requirement for an Ocelot template, providing the info.yml
, index.pug
and error.pug
files.
Webpack is used to build the static assets which are copied in when the template is used, for this it uses Stylus for css and Vue for simple js interactions. The stylus compiled to minified css into assets/css
. The javascript is polyfilled using Babel and minified into assets/js
# Build the docs once
npm run build
# Watch the webpack
npm run dev