1.7.0 • Published 4 years ago

aglio-theme-onlicar-lambda v1.7.0

Weekly downloads
132
License
MIT
Repository
github
Last release
4 years ago

Aglio ONLICAR Lambda Theme

NPM version License

This is a lambda compatible ONLICAR theme engine for Aglio. It is based off of the style of Apiary docs and forked from the default Aglio theme, Olio.

Screenshot

Example use:

$ npm install aglio-theme-onlicar-lambda
$ aglio -i blueprint.apib -t onlicar -o MyAPI.html

Theme Options

The theme comes with a handful of configurable theme options. These are set via the --theme-XXX parameter, where XXX is one of the following:

NameDescription
condense-navWhether to condense nagivation for resources with only a single action (default is true).
full-widthWhether to use the full page width or a responsive layout (default is responsive).
styleLESS or CSS to control the layout and style of the document using the variables from below. Can be a path to your own file or one of the following presets: default. May be an array of paths and/or presets.
templateJade template to render HTML. Can be a path to your own file or one of the following presets: default.
variablesLESS variables that control theme colors, fonts, and spacing. Can be a path to your own file or one of the following presets: default, flatly, slate, cyborg. May be an array of paths and/or presets.

Note: When using this theme programmatically, these options are cased like you would expect in Javascript: --theme-full-width becomes options.themeFullWidth.

License

Copyright © 2016 Daniel G. Taylor

http://dgt.mit-license.org/