diff options
author | Samy Pessé <samypesse@gmail.com> | 2014-04-04 16:02:57 -0700 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2014-04-04 16:02:57 -0700 |
commit | 0c7e2b3557526bf74842096f5af0bba911380662 (patch) | |
tree | e6309b85a53557976c2a884a698532016257b5fe /lib/generate | |
parent | e34e65813ccb05ae29b7d47f9258663898315de9 (diff) | |
download | gitbook-0c7e2b3557526bf74842096f5af0bba911380662.zip gitbook-0c7e2b3557526bf74842096f5af0bba911380662.tar.gz gitbook-0c7e2b3557526bf74842096f5af0bba911380662.tar.bz2 |
Add base style for printing
Diffstat (limited to 'lib/generate')
-rw-r--r-- | lib/generate/page/index.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/generate/page/index.js b/lib/generate/page/index.js index a489066..111bb1e 100644 --- a/lib/generate/page/index.js +++ b/lib/generate/page/index.js @@ -92,6 +92,14 @@ Generator.prototype.finish = function() { output, html ); + }) + + // + .then(function() { + return fs.copy( + path.join(that.options.theme, "assets"), + path.join(that.options.output, "gitbook") + ); }); }; |