Skip to content

Instantly share code, notes, and snippets.

Last active May 9, 2018
What would you like to do?
Design Manual setup with Gather Components
const DesignManual = require('design-manual');
const scraper = require('gather-components');
url: '',
paths: ['patterns.html'],
components: 'docs/components.yaml',
output: 'docs/components.json'
}).then(() => {{
force: true,
output: 'docs/',
pages: 'docs/src/',
components: 'docs/components.json',
nav: [
{ label: 'Index', href: 'index.html' }
meta: {
domain: 'my-website',
title: 'My Design Manual',
version: 'v' + require('../package.json').version
prerender: {
port: 3000,
path: '/',
serveFolder: 'docs/',
onComplete: () => {}
name: hello world
description: hello world component description
- img

!{hello world}

<!DOCTYPE html>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<img src="" alt="" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment