Skip to content

Commit

Permalink
Pre-render docs site at build time
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelcobain committed Apr 26, 2018
1 parent e4e676b commit 0236830
Show file tree
Hide file tree
Showing 5 changed files with 584 additions and 15 deletions.
4 changes: 4 additions & 0 deletions ember-cli-build.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
'use strict';

const EmberAddon = require('ember-cli/lib/broccoli/ember-addon');
const crawl = require('prember-crawler');

module.exports = function(defaults) {
let app = new EmberAddon(defaults, {
Expand All @@ -10,6 +11,9 @@ module.exports = function(defaults) {
'ember-prism': {
'theme': 'none',
'components': ['scss', 'javascript', 'handlebars', 'markup-templating', 'bash']
},
prember: {
urls: crawl
}
});

Expand Down
Loading

0 comments on commit 0236830

Please sign in to comment.