bartleby
A next generation documentation site. This combines a lot of DITA-esque ideas with the relative ease of a markup language.
Last updated 5 years ago by gjtorikian .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install bartleby 
SYNC missed versions from official npm registry.

bartleby

A next generation documentation site. This combines a lot of DITA-esque ideas with the relative ease of a markup language.

Installation

npm install bartleby

Data concepts

  • config

  • data

  • page

  • Data files are read

  • Config is read

  • Frontmatter is read

  • Liquid is applied to frontmatter

Usage

var bartleby = require('bartleby')

bartleby([{
    source: "spec/fixtures/sample/content/dotcom/articles",
    destination: "_site/articles",
    directory: "spec/fixtures/sample/layouts",
    partials: "spec/fixtures/sample/layouts/includes"
  },
  {
    source: "spec/fixtures/content/post",
    destination: "_site/post",
    directory: "spec/fixtures/sample/layouts",
    partials: "spec/fixtures/sample/layouts/includes"
  }
]);

Returns a Promise.

Options

Option Description Default
base ``
destination ``
directory ``
partials ``
plugins ``
source ``

Redirects

Redirect_from array

Redirect_to

Plugins

Relationship

Build information passes down

Watching

is enabled

Current Tags

  • 0.0.3                                ...           latest (5 years ago)

3 Versions

  • 0.0.3                                ...           5 years ago
  • 0.0.2                                ...           6 years ago
  • 0.0.1                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 0
Last Month 0
Dependencies (16)
Dev Dependencies (13)

Copyright 2014 - 2016 © taobao.org |