This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const DesignManual = require('design-manual'); | |
const scraper = require('collect-components'); | |
// gather components | |
scraper({ | |
url: 'http://localhost:8000/', | |
paths: ['patterns.html'], | |
output: 'docs/components.json', | |
complete: function() { | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const DesignManual = require('design-manual'); | |
const scraper = require('gather-components'); | |
scraper({ | |
url: 'http://website.com', | |
paths: ['patterns.html'], | |
components: 'docs/components.yaml', | |
output: 'docs/components.json' | |
}).then(() => { | |
DesignManual.build({ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//- @pugdoc | |
name: hello world | |
div hello world |