aglio-theme-onlicar
ONLICAR theme for the Aglio API Blueprint renderer
Last updated 2 years ago by danbovey .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install aglio-theme-onlicar 
SYNC missed versions from official npm registry.

Aglio ONLICAR Theme

NPM version License

This is the 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
$ 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:

Name Description
condense-nav Whether to condense nagivation for resources with only a single action (default is true).
full-width Whether to use the full page width or a responsive layout (default is responsive).
style LESS 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.
template Jade template to render HTML. Can be a path to your own file or one of the following presets: default.
variables LESS 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/

Current Tags

  • 1.6.4                                ...           latest (2 years ago)

2 Versions

  • 1.6.4                                ...           2 years ago
  • 1.6.3                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (11)
Dev Dependencies (6)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |