docpress-core

Metalsmith plugin to generate Docpress site data from a project. Part of the [Docpress] project.

MIT 17 个版本
安装
npm install docpress-core
yarn add docpress-core
pnpm add docpress-core
bun add docpress-core
README

docpress-core

Metalsmith plugin to generate Docpress site data from a project. Part of the Docpress project.

Last version Build Status Coverage Status Dependency status Dev Dependencies Status NPM Status

What it does

This plugin generates bare HTML files (just rendered from Markdown) from a project. It also creates a _docpress.json with table of contents and index. This is usually used with docpress-base, which will then prettify those pages into a full-fleged website.

API

You get these modules:

  • docpress-core The main Metalsmith middleware.
  • docpress-core/ms - Metalsmith instance generator.

In a bare Metalsmith site, you use them together like so:

var app = require('docpress-core/ms')(cwd)
  .use(require('docpress-core')())
  .use(require('docpress-base')())
版本列表
0.10.1 2019-12-01
0.10.0 2019-11-01
0.9.1 2019-11-01
0.9.0 2018-11-06
0.8.0 2018-04-16
0.7.1 2016-10-01
0.7.0 2016-10-01
0.6.13 2016-08-02
0.6.1 2016-02-03
0.6.0 2015-10-20
0.5.2 2015-10-15
0.4.0 2015-10-15
0.3.3 2015-10-14
0.3.1 2015-10-13
0.3.0 2015-10-13
0.2.0 2015-10-11
0.1.0 2015-10-11