0.3.0 • Published 6 years ago

ocelot-template v0.3.0

Weekly downloads
2
License
ISC
Repository
github
Last release
6 years ago

Ocelot Template

The default template when rendering Ocelot Docs

Template Structure

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

Useful Commands

# Build the docs once
npm run build

# Watch the webpack
npm run dev