https://github.com/docpress/docpress-core
Parses projects and turns them into a documentation website
https://github.com/docpress/docpress-core
docpress
Last synced: 5 months ago
JSON representation
Parses projects and turns them into a documentation website
- Host: GitHub
- URL: https://github.com/docpress/docpress-core
- Owner: docpress
- Created: 2015-10-05T14:53:40.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2022-12-30T18:59:46.000Z (over 3 years ago)
- Last Synced: 2026-01-12T00:58:46.431Z (5 months ago)
- Topics: docpress
- Language: JavaScript
- Homepage:
- Size: 1.77 MB
- Stars: 3
- Watchers: 2
- Forks: 6
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# docpress-core
Metalsmith plugin to generate Docpress site data from a project. Part of the [Docpress] project.

[](https://travis-ci.org/docpress/docpress-core)
[](https://coveralls.io/github/docpress/docpress-core)
[](https://david-dm.org/docpress/docpress-core)
[](https://david-dm.org/docpress/docpress-core#info=devDependencies)
[](https://www.npmjs.org/package/docpress-core)
## 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:
```js
var app = require('docpress-core/ms')(cwd)
.use(require('docpress-core')())
.use(require('docpress-base')())
```
[Docpress]: https://github.com/docpress/docpress
[docpress-base]: https://github.com/docpress/docpress-base