diff options
author | Samy Pessé <samypesse@gmail.com> | 2014-06-02 18:22:07 +0200 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2014-06-02 18:22:07 +0200 |
commit | 0ad0403d4112ba16886724d513d1a18e5f56d634 (patch) | |
tree | dbd53c1cf5e849c48fe04d47419c3bfddf824c41 /bin/gitbook.js | |
parent | 718692de3b4725caa41a7c2371acf634d149e5f7 (diff) | |
parent | 2515c1dd73911e238b6aa1a513fcfcf5f91e3082 (diff) | |
download | gitbook-0ad0403d4112ba16886724d513d1a18e5f56d634.zip gitbook-0ad0403d4112ba16886724d513d1a18e5f56d634.tar.gz gitbook-0ad0403d4112ba16886724d513d1a18e5f56d634.tar.bz2 |
Merge pull request #283 from GitbookIO/feature/pdfoptions
Add more options for PDF
Diffstat (limited to 'bin/gitbook.js')
-rwxr-xr-x | bin/gitbook.js | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/bin/gitbook.js b/bin/gitbook.js index c2c2e31..b868925 100755 --- a/bin/gitbook.js +++ b/bin/gitbook.js @@ -80,17 +80,6 @@ build.command(prog.command('serve [source_dir]')) generate(); }); -build.commandEbook(prog.command('ebook [source_dir]')) -.description('Build a gitbook as a eBook (format detected according to the extension)') -.action(function(dir, options) { - var ext = options.output ? path.extname(options.output) : "epub"; - - build.file(dir, _.extend(options, { - extension: ext, - format: "ebook" - })); -}); - build.commandEbook(prog.command('pdf [source_dir]')) .description('Build a gitbook as a PDF') .action(function(dir, options) { |