Antonin Stefanutti
08aafca1bc
Docker section formatting and overall polishing
2015-11-15 23:02:49 +01:00
Antonin Stefanutti
7f5fdcd033
Apply Docker conventions for Dockerfile
2015-11-15 20:29:34 +01:00
Antonin Stefanutti
487c3ccc15
Use explicit tag for Debian 8
2015-11-15 20:27:53 +01:00
Antonin Stefanutti
48ef3c0b54
Add .dockerignore file
2015-11-15 20:26:54 +01:00
Antonin Stefanutti
e804de27f8
Merge branch 'hadim-docker'
2015-11-15 20:25:31 +01:00
Antonin Stefanutti
26b1ee14c3
Docker instructions
2015-11-15 20:21:19 +01:00
Hadrien Mary
d4ea62751c
Add build instructions to README
2015-11-13 22:13:15 +01:00
Hadrien Mary
914ee840f8
Better Docker support and add instructions to README
2015-11-13 22:08:41 +01:00
Antonin Stefanutti
7c3d996372
Merge pull request #26 from ssanderson/dockerfile
...
ENH: Add a Dockerfile.
2015-11-13 09:26:38 +01:00
Scott Sanderson
43bc29bb10
ENH: Add a Dockerfile.
2015-11-12 22:53:55 -05:00
Antonin Stefanutti
12a7813aab
Add maxSlides option for the generic plugin
2015-09-07 21:40:41 +02:00
Antonin Stefanutti
a5fc5f9250
Complete DOM events sequence for end-user next slide keystroke emulation
...
SlimerJS support preparation.
2015-09-07 18:11:31 +02:00
Gavin Carr
5e1d2a24e2
Instruction for PhantomJS Linux CentOS 6 binary download
2015-09-07 17:12:58 +02:00
Antonin Stefanutti
362a4c73c8
Add execute permission step in install instructions
2015-09-07 17:07:12 +02:00
Martin-Jung
24afd24221
Instruction for PhantomJS Linux Debian 8 binary download
2015-09-07 17:06:25 +02:00
Gavin Carr
6ef79d04ef
Instruction for PhantomJS Linux CentOS 7 binary download
2015-09-07 17:06:09 +02:00
Antonin Stefanutti
4cbedc5945
Code formatting
2015-08-09 18:02:49 +02:00
Antonin Stefanutti
8292f2b131
Delay function returns a Promises/A+ compliant onFulfilled callback
2015-08-09 17:33:50 +02:00
astefanutti
5ac2f983c9
Use the unified onlyViewport option between PhantomJS and SlimerJS for the screenshots export
2015-08-06 17:31:06 +02:00
astefanutti
295f5d4ddb
Support non-ASCII characters URLs rendered as clickable links in PDF documents
2015-08-06 17:18:00 +02:00
Antonin Stefanutti
8ceecc1918
Correct link to forked PhantomJS decktape branch
2015-08-04 23:18:50 +02:00
Antonin Stefanutti
ba5006a1d6
Work-around TypeError thrown by Gecko with SlimerJS as module.exports is not configurable
2015-08-02 23:29:19 +02:00
Antonin Stefanutti
49914777d5
Add Promise polyfill Github project reference
2015-08-02 23:28:18 +02:00
Antonin Stefanutti
e2bb2c93c3
Colorized CLI with Chalk
...
Activates CLI string styling with Chalk except on Windows OS.
Adds the libs directory to the require paths for seamless referencing
of require libraries.
2015-08-02 23:01:32 +02:00
Antonin Stefanutti
8151e13640
Shallow clone DeckTape to truncate history to the master branch HEAD revision
2015-07-30 22:37:08 +02:00
astefanutti
ce2f851c4b
Use dot notation to access screenshot options
2015-07-21 18:24:18 +02:00
astefanutti
dd6065620a
Add short options for size and pause
2015-07-21 17:16:19 +02:00
astefanutti
56c4ecf158
Update usage with options before positional arguments
2015-07-21 16:36:34 +02:00
astefanutti
c63aa7f192
Display options before positional arguments in help and usage
2015-07-21 16:34:55 +02:00
astefanutti
1c9608d00d
Render screenshots by capturing the viewport instead of the page content
...
Uses the new 'mode' option from the PhantomJS render API so that
screenshots get captured based on the viewport size definition and not the
content size. Indeed, some HTML presentation frameworks use the position
and transform CSS properties that leads to having the visible content
larger than the viewport.
Increases the delay for the resize event to complete.
2015-07-21 12:28:41 +02:00
astefanutti
9f6c82e324
Add support for capturing viewport when rendering images
2015-07-21 11:48:24 +02:00
astefanutti
9b8bed6910
Add the screenshots-size option to set captured image resolutions
...
Changes the screenshots-scale in favor of the screenshots-size option
which is more flexible.
Promise-based viewportSize setting to support frameworks that rely on the
onresize event.
Removes the gif choice for image format as it's not working.
Documents the --screenshots option.
2015-07-16 15:10:28 +02:00
astefanutti
e7b6eb2711
Update CLI options help
2015-07-15 18:34:10 +02:00
astefanutti
ea977f61a8
Add an option to export each slide as an image
...
Fixes #9 .
Adds the --screenshots, --screenshots-directory, --screenshots-scale and
--screenshots-format options.
If the --screenshots flag option is set, each slide is exported as an
image, whose format is --screenshots-format, written in the
--screenshots-directory, and this for each --screenshots-scale.
Changes the viewport size option to follow the <width>x<height> notation.
2015-07-15 18:19:49 +02:00
astefanutti
c71fdb6fa6
Transform functions apply to default values
2015-07-15 18:19:33 +02:00
astefanutti
dd82bc2ae3
Merge branch 'ricklupton-plugins-search-path'
2015-07-15 14:03:41 +02:00
Rick Lupton
7aa0fb0cff
Look for plugins relative to decktape.js script
...
Otherwise you have to run it from the installation directory.
2015-07-15 14:02:58 +02:00
Antonin Stefanutti
513cf2c8e2
Plugins loading function uses reduce instead of forEach
2015-07-09 20:19:36 +02:00
astefanutti
3f06784c5f
Add missing 'this' pointers (prepare SlimerJS support)
2015-07-09 18:19:26 +02:00
astefanutti
ea2c868173
Fix remark.js plugin activation condition
2015-07-09 17:32:59 +02:00
astefanutti
2f5987ba5d
Better help messages for the automatic and generic commands
2015-07-09 15:07:55 +02:00
astefanutti
4c3db561f9
Generic plugin documentation and updated CLI usage
2015-07-09 15:00:57 +02:00
astefanutti
6a91d6d7b6
Add Bespoke.js example
2015-07-09 13:53:47 +02:00
Antonin Stefanutti
e4e03501e7
Merge pull request #10 from steshaw/master
...
Ignore downloaded file `bin/phantomjs`.
2015-07-09 11:10:03 +02:00
Steven Shaw
eb2e81d62d
Ignore downloaded file bin/phantomjs
.
2015-07-09 10:05:10 +10:00
astefanutti
591e14155b
Add generic plugin to support any kind of presentation frameworks
...
The generic plugin emulates the end-user interaction by pressing the
specified key [--keycode] and iterating over the presentation as long as
any change to the DOM is detected by observing mutation events to the body
element and its subtree.
To support the generic plugin feature, the following enhancements are
introduced:
- Move to promises based navigation scheduling
- Build CLI commands directly from available plugins
- Enable per plugin CLI help and options
- Enable by-command overriding of the selected plugin
2015-07-08 17:41:40 +02:00
astefanutti
ef545c0081
Support positional arguments for fallback command
2015-07-08 17:41:39 +02:00
Antonin Stefanutti
3c4e3d8d77
Merge pull request #8 from mojavelinux/submodule-update-init
...
Simplify submodule update command
2015-07-07 11:47:48 +02:00
Dan Allen
7fca4d15be
Simplify submodule update command
...
Simplify the submodule update command by combining it with the `--init` flag. Also addresses the typo in the submodule command.
2015-07-07 02:17:24 -06:00
astefanutti
a5ed42d5d0
Add Shower plugin and example
2015-07-03 14:58:11 +02:00