asciidoctor-revealjs 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.adoc +53 -6
- data/HACKING.adoc +10 -1
- data/README.adoc +19 -0
- data/asciidoctor-revealjs.gemspec +1 -1
- data/lib/asciidoctor-revealjs/version.rb +1 -1
- data/templates/slim/document.html.slim +17 -16
- data/templates/slim/helpers.rb +4 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 434ed83856289905d3e973d999753978a107b76e
|
4
|
+
data.tar.gz: f4f0bcb010732a583ce8633d9bf0fb05d525645f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7fbdbbe8f7ed737b894c2fe07470bb73d707dcb7b37ffb4e8b30d79c97192f31ed5b14b7f7904a1db8419df270ddd4ba32088025e97ab13f602ad07691410958
|
7
|
+
data.tar.gz: '09c4f2c195192cac068163c4a09fe1911885efdae50456d4320af052ca5a3030c6324cd227b405c4ab3588f15a41abd00445859449acc750fbb8263272cad8ff'
|
data/CHANGELOG.adoc
CHANGED
@@ -1,32 +1,80 @@
|
|
1
1
|
= {project-name} Changelog
|
2
2
|
:project-name: asciidoctor-reveal.js
|
3
3
|
:uri-repo: https://github.com/asciidoctor/asciidoctor-reveal.js
|
4
|
+
:uri-issue: {uri-repo}/issues/
|
4
5
|
|
5
6
|
This document provides a high-level view of the changes introduced in {project-name} by release.
|
6
7
|
For a detailed view of what has changed, refer to the {uri-repo}/commits/master[commit history] on GitHub.
|
7
8
|
|
8
|
-
== 1.0.
|
9
|
+
== 1.0.3 (2017-08-28) - @obilodeau
|
9
10
|
|
10
11
|
Enhancements::
|
11
|
-
*
|
12
|
+
* Documentation improvements
|
12
13
|
|
13
|
-
////
|
14
14
|
Compliance::
|
15
|
-
*
|
15
|
+
* Added `data-state: title` to the title slide ({uri-issue}123[#123])
|
16
16
|
|
17
17
|
Bug fixes::
|
18
|
-
*
|
18
|
+
* Pinned Asciidoctor version requirement to 1.5.4 to avoid dealing with {uri-issue}132[#132] in the 1.0.x series
|
19
|
+
* Fixed consistency issues with boolean values handling in revealjs settings ({uri-issue}125[#125])
|
19
20
|
|
21
|
+
////
|
20
22
|
Infrastructure::
|
21
23
|
* item
|
22
24
|
////
|
23
25
|
|
26
|
+
=== Release meta
|
27
|
+
|
28
|
+
{uri-repo}/releases/tag/v1.0.3[git tag] |
|
29
|
+
{uri-repo}/compare/v1.0.2...v1.0.3[full diff]
|
30
|
+
|
31
|
+
=== Credits
|
32
|
+
|
33
|
+
Thanks to the following people who contributed to this release:
|
34
|
+
|
35
|
+
Dan Allen, nipa, Olivier Bilodeau, Pi3r
|
36
|
+
|
37
|
+
|
38
|
+
== 1.0.2 (2016-12-22) - @obilodeau
|
39
|
+
|
40
|
+
Enhancements::
|
41
|
+
* Ruby back-end is now compiled in Javascript with Opal (#115)
|
42
|
+
* Documentation improvements
|
43
|
+
|
44
|
+
=== Release meta
|
45
|
+
|
46
|
+
{uri-repo}/issues?q=milestone%3A1.0.2[issues resolved] |
|
47
|
+
{uri-repo}/releases/tag/v1.0.2[git tag] |
|
48
|
+
{uri-repo}/compare/v1.0.1...v1.0.2[full diff]
|
49
|
+
|
50
|
+
=== Credits
|
51
|
+
|
52
|
+
Thanks to the following people who contributed to this release:
|
53
|
+
|
54
|
+
Dan Allen, Guillaume Grossetie, Olivier Bilodeau
|
55
|
+
|
56
|
+
|
24
57
|
== 1.0.1 (2016-10-12) - @obilodeau
|
25
58
|
|
26
59
|
Enhancements::
|
27
60
|
* Documentation: aligned release process for both npm and ruby gems packages
|
28
61
|
* npm package in sync with ruby gem
|
29
62
|
|
63
|
+
=== Release meta
|
64
|
+
|
65
|
+
Released by @obilodeau
|
66
|
+
|
67
|
+
{uri-repo}/issues?q=milestone%3A1.0.1[issues resolved] |
|
68
|
+
{uri-repo}/releases/tag/v1.0.1[git tag] |
|
69
|
+
{uri-repo}/compare/v1.0.0...v1.0.1[full diff]
|
70
|
+
|
71
|
+
=== Credits
|
72
|
+
|
73
|
+
Thanks to the following people who contributed to this release:
|
74
|
+
|
75
|
+
Olivier Bilodeau
|
76
|
+
|
77
|
+
|
30
78
|
== 1.0.0 (2016-10-06) - @obilodeau
|
31
79
|
|
32
80
|
Since this is the first ever "release" of asciidoctor-reveal.js (we used to do continuous improvements w/o releases in the past), this list focuses on the major enhancements introduced over the last few weeks.
|
@@ -48,7 +96,6 @@ Released by @obilodeau
|
|
48
96
|
|
49
97
|
{uri-repo}/issues?q=milestone%3A1.0.0[issues resolved] |
|
50
98
|
{uri-repo}/releases/tag/v1.0.0[git tag]
|
51
|
-
// TODO full-diff when we can at the next release
|
52
99
|
|
53
100
|
=== Credits
|
54
101
|
|
data/HACKING.adoc
CHANGED
@@ -98,6 +98,14 @@ You can render the tests files and then load them in a browser and check if `asc
|
|
98
98
|
|
99
99
|
=== Initial Setup
|
100
100
|
|
101
|
+
Make sure to have a working version of `asciidoctor-reveals` this is usually
|
102
|
+
done with `bundler`:
|
103
|
+
|
104
|
+
bundle config --local github.https true
|
105
|
+
bundle --path=.bundle/gems --binstubs=.bundle/.bin
|
106
|
+
|
107
|
+
Go to `test/` folder and install `reveal.js`:
|
108
|
+
|
101
109
|
cd test/
|
102
110
|
git clone https://github.com/hakimel/reveal.js.git
|
103
111
|
|
@@ -218,7 +226,7 @@ Then proceed as documented in the `README.adoc`.
|
|
218
226
|
. Update the changelog
|
219
227
|
** Generate author list with:
|
220
228
|
+
|
221
|
-
git log <
|
229
|
+
git log <prev-version-tag>.. --format="%aN" --reverse | perl -e 'my %dedupe; while (<STDIN>) { print unless $dedupe{$_}++}' | sort
|
222
230
|
|
223
231
|
. Prepare release commit
|
224
232
|
** commit msg: Prepare %version% release
|
@@ -226,6 +234,7 @@ Then proceed as documented in the `README.adoc`.
|
|
226
234
|
. Tag the release commit
|
227
235
|
** Annotated Tag msg: Version %version%
|
228
236
|
. Push your changes (including the tag)
|
237
|
+
. Make a release on github (from changelog and copy from previous releases)
|
229
238
|
. Pushing the gem on rubygems.org:
|
230
239
|
+
|
231
240
|
$ gem build asciidoctor-revealjs.gemspec
|
data/README.adoc
CHANGED
@@ -531,6 +531,25 @@ section[data-state="topic"] h2 {
|
|
531
531
|
}
|
532
532
|
----
|
533
533
|
|
534
|
+
=== Admonitions
|
535
|
+
|
536
|
+
Asciidoctor font-based http://asciidoctor.org/docs/user-manual/#admonition[admonitions] are supported.
|
537
|
+
Make sure to add the following attribute to your document:
|
538
|
+
|
539
|
+
----
|
540
|
+
:icons: font
|
541
|
+
----
|
542
|
+
|
543
|
+
Here is an example slide:
|
544
|
+
|
545
|
+
----
|
546
|
+
== But first
|
547
|
+
|
548
|
+
WARNING: This presentation is dangerous!
|
549
|
+
----
|
550
|
+
|
551
|
+
Here are details about Asciidoctor's http://asciidoctor.org/docs/user-manual/#admonition-icons[Admonition icons] support.
|
552
|
+
|
534
553
|
|
535
554
|
// FIXME this is no longer accurate
|
536
555
|
== About Jade Templates
|
@@ -24,7 +24,7 @@ Gem::Specification.new do |s|
|
|
24
24
|
s.extra_rdoc_files = Dir['README.adoc', 'LICENSE.adoc', 'HACKING.adoc']
|
25
25
|
s.require_paths = ['lib']
|
26
26
|
|
27
|
-
s.add_runtime_dependency 'asciidoctor', '
|
27
|
+
s.add_runtime_dependency 'asciidoctor', '= 1.5.4'
|
28
28
|
s.add_runtime_dependency 'slim', '~> 3.0.6'
|
29
29
|
s.add_runtime_dependency 'thread_safe', '~> 0.3.5'
|
30
30
|
|
@@ -75,6 +75,7 @@ html lang=(attr :lang, 'en' unless attr? :nolang)
|
|
75
75
|
- bg_image = (attr? 'title-slide-background-image') ? (image_uri(attr 'title-slide-background-image')) : nil
|
76
76
|
- bg_video = (attr? 'title-slide-background-video') ? (media_uri(attr 'title-slide-background-video')) : nil
|
77
77
|
section.title(class = role
|
78
|
+
data-state='title'
|
78
79
|
data-transition=(attr 'title-slide-transition')
|
79
80
|
data-transition-speed=(attr 'title-slide-transition-speed')
|
80
81
|
data-background=(attr 'title-slide-background')
|
@@ -105,42 +106,42 @@ html lang=(attr :lang, 'en' unless attr? :nolang)
|
|
105
106
|
// See https://github.com/hakimel/reveal.js#configuration for a full list of configuration options
|
106
107
|
Reveal.initialize({
|
107
108
|
// Display controls in the bottom right corner
|
108
|
-
controls: #{attr 'revealjs_controls',
|
109
|
+
controls: #{to_boolean(attr 'revealjs_controls', true)},
|
109
110
|
// Display a presentation progress bar
|
110
|
-
progress: #{attr 'revealjs_progress',
|
111
|
+
progress: #{to_boolean(attr 'revealjs_progress', true)},
|
111
112
|
// Display the page number of the current slide
|
112
|
-
slideNumber: #{attr 'revealjs_slidenumber',
|
113
|
+
slideNumber: #{to_boolean(attr 'revealjs_slidenumber', false)},
|
113
114
|
// Push each slide change to the browser history
|
114
|
-
history: #{attr 'revealjs_history',
|
115
|
+
history: #{to_boolean(attr 'revealjs_history', false)},
|
115
116
|
// Enable keyboard shortcuts for navigation
|
116
|
-
keyboard: #{attr 'revealjs_keyboard',
|
117
|
+
keyboard: #{to_boolean(attr 'revealjs_keyboard', true)},
|
117
118
|
// Enable the slide overview mode
|
118
|
-
overview: #{attr 'revealjs_overview',
|
119
|
+
overview: #{to_boolean(attr 'revealjs_overview', true)},
|
119
120
|
// Vertical centering of slides
|
120
|
-
center: #{attr 'revealjs_center',
|
121
|
+
center: #{to_boolean(attr 'revealjs_center', true)},
|
121
122
|
// Enables touch navigation on devices with touch input
|
122
|
-
touch: #{attr 'revealjs_touch',
|
123
|
+
touch: #{to_boolean(attr 'revealjs_touch', true)},
|
123
124
|
// Loop the presentation
|
124
|
-
loop: #{attr 'revealjs_loop',
|
125
|
+
loop: #{to_boolean(attr 'revealjs_loop', false)},
|
125
126
|
// Change the presentation direction to be RTL
|
126
|
-
rtl: #{attr 'revealjs_rtl',
|
127
|
+
rtl: #{to_boolean(attr 'revealjs_rtl', false)},
|
127
128
|
// Turns fragments on and off globally
|
128
|
-
fragments: #{attr 'revealjs_fragments',
|
129
|
+
fragments: #{to_boolean(attr 'revealjs_fragments', true)},
|
129
130
|
// Flags if the presentation is running in an embedded mode,
|
130
131
|
// i.e. contained within a limited portion of the screen
|
131
|
-
embedded: #{attr 'revealjs_embedded',
|
132
|
+
embedded: #{to_boolean(attr 'revealjs_embedded', false)},
|
132
133
|
// Number of milliseconds between automatically proceeding to the
|
133
134
|
// next slide, disabled when set to 0, this value can be overwritten
|
134
135
|
// by using a data-autoslide attribute on your slides
|
135
136
|
autoSlide: #{attr 'revealjs_autoslide', 0},
|
136
137
|
// Stop auto-sliding after user input
|
137
|
-
autoSlideStoppable: #{attr 'revealjs_autoslidestoppable',
|
138
|
+
autoSlideStoppable: #{to_boolean(attr 'revealjs_autoslidestoppable', true)},
|
138
139
|
// Enable slide navigation via mouse wheel
|
139
|
-
mouseWheel: #{attr 'revealjs_mousewheel',
|
140
|
+
mouseWheel: #{to_boolean(attr 'revealjs_mousewheel', false)},
|
140
141
|
// Hides the address bar on mobile devices
|
141
|
-
hideAddressBar: #{attr 'revealjs_hideaddressbar',
|
142
|
+
hideAddressBar: #{to_boolean(attr 'revealjs_hideaddressbar', true)},
|
142
143
|
// Opens links in an iframe preview overlay
|
143
|
-
previewLinks: #{attr 'revealjs_previewlinks',
|
144
|
+
previewLinks: #{to_boolean(attr 'revealjs_previewlinks', false)},
|
144
145
|
// Theme (e.g., beige, black, league, night, serif, simple, sky, solarized, white)
|
145
146
|
// NOTE setting the theme in the config no longer works in reveal.js 3.x
|
146
147
|
//theme: Reveal.getQueryHash().theme || '#{attr 'revealjs_theme', 'black'}',
|
data/templates/slim/helpers.rb
CHANGED
metadata
CHANGED
@@ -1,27 +1,27 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: asciidoctor-revealjs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Olivier Bilodeau
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-08-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: asciidoctor
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 1.5.4
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 1.5.4
|
27
27
|
- !ruby/object:Gem::Dependency
|
@@ -178,7 +178,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
178
178
|
version: '0'
|
179
179
|
requirements: []
|
180
180
|
rubyforge_project:
|
181
|
-
rubygems_version: 2.
|
181
|
+
rubygems_version: 2.6.11
|
182
182
|
signing_key:
|
183
183
|
specification_version: 4
|
184
184
|
summary: Converts AsciiDoc to HTML for a Reveal.js presentation
|