hyla 1.0.6 → 1.0.7.pre.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. checksums.yaml +8 -8
  2. data/README.adoc +7 -0
  3. data/lib/hyla/commands/generate.rb +288 -83
  4. data/lib/hyla/configuration.rb +62 -42
  5. data/lib/hyla/project.rb +1 -1
  6. data/lib/resources/backends/haml/deckjs/document.html.haml +2 -2
  7. data/lib/resources/backends/haml/html5/document.html.haml +2 -2
  8. data/lib/resources/backends/slim/html5/document.html.slim +2 -2
  9. data/lib/resources/backends/slim/revealjs/block_sidebar.html.slim +1 -1
  10. data/lib/resources/backends/slim/revealjs/document.html.slim +2 -2
  11. data/lib/resources/course/assessment.txt +7 -0
  12. data/lib/resources/course/audio.txt +3 -0
  13. data/lib/resources/course/cover.txt +13 -0
  14. data/lib/resources/course/footer.txt +10 -0
  15. data/lib/resources/course/header_index.txt +1 -0
  16. data/lib/resources/course/index.txt +3 -0
  17. data/lib/resources/course/labinstructions.txt +26 -0
  18. data/lib/resources/course/objectives.txt +28 -0
  19. data/lib/resources/course/summary.txt +27 -0
  20. data/lib/resources/cover.slim +1 -1
  21. data/lib/resources/revealjs/css/theme/conference-redhat.css +369 -61
  22. data/lib/resources/revealjs/css/theme/conference.css +179 -15
  23. data/lib/resources/revealjs/css/theme/gpe.css +362 -53
  24. data/lib/templates/_config.yaml +26 -2
  25. data/lib/templates/sample/{asciidoc_article.ad → asciidoc_article.adoc} +0 -0
  26. data/lib/templates/sample/{asciidoc_audio.ad → asciidoc_audio.adoc} +0 -0
  27. data/lib/templates/sample/{asciidoc_book.ad → asciidoc_book.adoc} +0 -0
  28. data/lib/templates/sample/{asciidoc_image.ad → asciidoc_image.adoc} +0 -0
  29. data/lib/templates/sample/{asciidoc_report.ad → asciidoc_report.adoc} +0 -0
  30. data/lib/templates/sample/{asciidoc_source.ad → asciidoc_source.adoc} +0 -0
  31. data/lib/templates/sample/{asciidoc_table.ad → asciidoc_table.adoc} +0 -0
  32. data/lib/templates/sample/{asciidoc_video.ad → asciidoc_video.adoc} +0 -0
  33. data/lib/templates/sample/{slideshow_deckjs.ad → slideshow_deckjs.adoc} +0 -0
  34. data/lib/templates/sample/{slideshow_revealjs.ad → slideshow_revealjs.adoc} +31 -0
  35. data/lib/templates/training-exercises/{README.ad → README.adoc} +0 -0
  36. metadata +24 -15
@@ -11,6 +11,11 @@ destination: generated_content # or . or ~/Hyla or generated_content
11
11
  #
12
12
  style: liberation
13
13
 
14
+ #
15
+ # Show snippet tag content
16
+ #
17
+ snippet_content: false # Change the value to true if you would like to generate the HTML content for the text wrapped around tag::[snippet] & end::snippet[]
18
+
14
19
  #
15
20
  # Asciidoctor and attributes options
16
21
  #
@@ -19,13 +24,32 @@ attributes:
19
24
  source-highlighter: coderay
20
25
  linkcss!: true
21
26
  data-uri: true
27
+
28
+ # Font Icons - http://fortawesome.github.io/Font-Awesome/icons/
29
+ arrow-left: <i class="fa fa-arrow-right"></i>
30
+ arrow-right: <i class="fa fa-arrow-right"></i>
31
+ icons: font
32
+ iconfont-remote: true
33
+ iconfont-cdn: http://maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css
34
+
22
35
  # stylesdir: path_of_the_styles directory
23
36
  # footer_copyright: # Co(Un)mment this line and add Copyright Text when required
24
37
  # header_image_path: # Co(Un)mment this line and add image path location when required
25
38
  # nofooter: true # Co(Un)mment this line when you don't want to see the footer - black line
26
39
  # noheader: true # Co(Un)mment this line when you don't want to see the header section
27
- revealjs_theme: # theme to be used default, ...
28
- # showscript: true # Co(Un)mment this line when you want to display scripts for instructors
40
+
41
+ # showscript: true # Co(Un)mment this line when you want to display notes for instructors
42
+ # audioscript: true # Co(Un)mment this line when you want to include the audio html tag
43
+
44
+ # Attributes required for slideshow
45
+ revealjs_theme: default # theme to be used default for revealjs slideshow : solarized, beige, blood, conference, default, moon, night, serif, simple, sky, solarized
46
+ revealjs_transition: fade # default/cube/page/concave/zoom/linear/fade/none
47
+ revealjs_history : true # To include the slide link into the url
48
+ # revealjs_vertical_alignment: true
49
+ revealjs_display_slide_number: true # display the number of the slide bottom of the screen
50
+ scrollbar: true # Support scrollbar into the browser for the slides
51
+ slideshow: true # Attribute that we use to include/remove title cover for revealjs
52
+
29
53
  # end asciidoctor attributes
30
54
 
31
55
  #
@@ -160,6 +160,37 @@ Pass reveal.js the +++backgroundTransition: 'slide'+++ config argument to make b
160
160
 
161
161
  You can override background transitions per slide by using +++[data-background-transition="slide"].
162
162
 
163
+ == Table
164
+
165
+ .Example
166
+ [cols="50,50",width="90"]
167
+ |===
168
+ ^|*Header1*
169
+ ^|*Header2*
170
+
171
+ |Entry First Line 1
172
+ |Entry First Line 2
173
+
174
+ |Entry Second Line 1
175
+ |Entry Second Line 2
176
+
177
+ |Entry Last Line 1
178
+ |Entry Last Line 2
179
+
180
+ |===
181
+
182
+ == Admonition
183
+
184
+ NOTE: NOTE. Lorem ipsum dolor sit amet, consectetur adipiscing.
185
+
186
+ WARNING: WARNING. Lorem ipsum dolor sit amet, consectetur adipiscing.
187
+
188
+ IMPORTANT: IMPORTANT. Lorem ipsum dolor sit amet, consectetur adipiscing.
189
+
190
+ TIP: TIP. Lorem ipsum dolor sit amet, consectetur adipiscing.
191
+
192
+ CAUTION: CAUTION. Lorem ipsum dolor sit amet, consectetur adipiscing.
193
+
163
194
  == Clever Quotes
164
195
 
165
196
  These guys come in two forms, inline: ``__The nice thing about standards is that there are so many to choose from
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hyla
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.6
4
+ version: 1.0.7.pre.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Charles Mouliard
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-08 00:00:00.000000000 Z
11
+ date: 2015-03-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -705,6 +705,15 @@ files:
705
705
  - lib/resources/backends/slim/revealjs/inline_menu.html.slim
706
706
  - lib/resources/backends/slim/revealjs/inline_quoted.html.slim
707
707
  - lib/resources/backends/slim/revealjs/section.html.slim
708
+ - lib/resources/course/assessment.txt
709
+ - lib/resources/course/audio.txt
710
+ - lib/resources/course/cover.txt
711
+ - lib/resources/course/footer.txt
712
+ - lib/resources/course/header_index.txt
713
+ - lib/resources/course/index.txt
714
+ - lib/resources/course/labinstructions.txt
715
+ - lib/resources/course/objectives.txt
716
+ - lib/resources/course/summary.txt
708
717
  - lib/resources/cover.slim
709
718
  - lib/resources/deck.js/core/deck.core.css
710
719
  - lib/resources/deck.js/core/deck.core.js
@@ -836,21 +845,21 @@ files:
836
845
  - lib/templates/book/introduction/image/hyla_frog.jpg
837
846
  - lib/templates/book/introduction/video/small.ogv
838
847
  - lib/templates/book/readme.adoc
839
- - lib/templates/sample/asciidoc_article.ad
840
- - lib/templates/sample/asciidoc_audio.ad
841
- - lib/templates/sample/asciidoc_book.ad
842
- - lib/templates/sample/asciidoc_image.ad
843
- - lib/templates/sample/asciidoc_report.ad
844
- - lib/templates/sample/asciidoc_source.ad
845
- - lib/templates/sample/asciidoc_table.ad
846
- - lib/templates/sample/asciidoc_video.ad
848
+ - lib/templates/sample/asciidoc_article.adoc
849
+ - lib/templates/sample/asciidoc_audio.adoc
850
+ - lib/templates/sample/asciidoc_book.adoc
851
+ - lib/templates/sample/asciidoc_image.adoc
852
+ - lib/templates/sample/asciidoc_report.adoc
853
+ - lib/templates/sample/asciidoc_source.adoc
854
+ - lib/templates/sample/asciidoc_table.adoc
855
+ - lib/templates/sample/asciidoc_video.adoc
847
856
  - lib/templates/sample/audio/ocean_waves.mp3
848
857
  - lib/templates/sample/image/hyla_arborea.jpg
849
- - lib/templates/sample/slideshow_deckjs.ad
850
- - lib/templates/sample/slideshow_revealjs.ad
858
+ - lib/templates/sample/slideshow_deckjs.adoc
859
+ - lib/templates/sample/slideshow_revealjs.adoc
851
860
  - lib/templates/sample/source/HelloWorld.java
852
861
  - lib/templates/sample/video/small.ogv
853
- - lib/templates/training-exercises/README.ad
862
+ - lib/templates/training-exercises/README.adoc
854
863
  - lib/templates/training-exercises/_config.yml
855
864
  - lib/templates/training-exercises/modules/introduction/docs/audio/ocean_waves.mp3
856
865
  - lib/templates/training-exercises/modules/introduction/docs/video/small.ogv
@@ -887,9 +896,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
887
896
  version: '0'
888
897
  required_rubygems_version: !ruby/object:Gem::Requirement
889
898
  requirements:
890
- - - ! '>='
899
+ - - ! '>'
891
900
  - !ruby/object:Gem::Version
892
- version: '0'
901
+ version: 1.3.1
893
902
  requirements: []
894
903
  rubyforge_project:
895
904
  rubygems_version: 2.3.0