hyla 1.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/Gemfile.lock +35 -7
- data/README.adoc +10 -2
- data/bin/hyla +16 -13
- data/hyla.gemspec +6 -3
- data/lib/hyla.rb +5 -1
- data/lib/hyla/command.rb +12 -10
- data/lib/hyla/commands/create.rb +21 -12
- data/lib/hyla/commands/generate.rb +168 -59
- data/lib/hyla/commands/new.rb +36 -15
- data/lib/hyla/commands/watch.rb +6 -2
- data/lib/hyla/configuration.rb +169 -27
- data/lib/hyla/core_ext.rb +24 -0
- data/lib/hyla/project.rb +1 -1
- data/lib/resources/backends/haml/deckjs/block_admonition.html.haml +14 -0
- data/lib/resources/backends/haml/deckjs/block_audio.html.haml +7 -0
- data/lib/resources/backends/haml/deckjs/block_colist.html.haml +21 -0
- data/lib/resources/backends/haml/deckjs/block_dlist.html.haml +54 -0
- data/lib/resources/backends/haml/deckjs/block_example.haml.haml +5 -0
- data/lib/resources/backends/haml/deckjs/block_floating_title.html.haml +1 -0
- data/lib/resources/backends/haml/deckjs/block_image.html.haml +11 -0
- data/lib/resources/backends/haml/deckjs/block_listing.html.haml +32 -0
- data/lib/resources/backends/haml/deckjs/block_literal.html.haml +5 -0
- data/lib/resources/backends/haml/deckjs/block_olist.html.haml +11 -0
- data/lib/resources/backends/haml/deckjs/block_open.html.haml +5 -0
- data/lib/resources/backends/haml/deckjs/block_page_break.html.haml +1 -0
- data/lib/resources/backends/haml/deckjs/block_paragraph.html.haml +4 -0
- data/lib/resources/backends/haml/deckjs/block_pass.html.haml +1 -0
- data/lib/resources/backends/haml/deckjs/block_preamble.html.haml +3 -0
- data/lib/resources/backends/haml/deckjs/block_quote.html.haml +12 -0
- data/lib/resources/backends/haml/deckjs/block_ruler.html.haml +1 -0
- data/lib/resources/backends/haml/deckjs/block_sidebar.html.haml +5 -0
- data/lib/resources/backends/haml/deckjs/block_table.html.haml +48 -0
- data/lib/resources/backends/haml/deckjs/block_ulist.html.haml +25 -0
- data/lib/resources/backends/haml/deckjs/block_verse.html.haml +13 -0
- data/lib/resources/backends/haml/deckjs/block_video.html.haml +24 -0
- data/lib/resources/backends/haml/deckjs/document.html.haml +182 -0
- data/lib/resources/backends/haml/deckjs/embedded.html.haml +10 -0
- data/lib/resources/backends/haml/deckjs/inline_anchor.html.haml +12 -0
- data/lib/resources/backends/haml/deckjs/inline_break.html.haml +2 -0
- data/lib/resources/backends/haml/deckjs/inline_callout.html.haml +7 -0
- data/lib/resources/backends/haml/deckjs/inline_footnote.html.haml +8 -0
- data/lib/resources/backends/haml/deckjs/inline_image.html.haml +24 -0
- data/lib/resources/backends/haml/deckjs/inline_indexterm.html.haml +2 -0
- data/lib/resources/backends/haml/deckjs/inline_quoted.html.haml +19 -0
- data/lib/resources/backends/haml/deckjs/section.html.haml +7 -0
- data/lib/resources/backends/haml/docbook45/block_admonition.xml.haml +7 -0
- data/lib/resources/backends/haml/docbook45/block_colist.xml.haml +8 -0
- data/lib/resources/backends/haml/docbook45/block_dlist.xml.haml +61 -0
- data/lib/resources/backends/haml/docbook45/block_example.xml.haml +14 -0
- data/lib/resources/backends/haml/docbook45/block_floating_title.xml.haml +1 -0
- data/lib/resources/backends/haml/docbook45/block_image.xml.haml +8 -0
- data/lib/resources/backends/haml/docbook45/block_listing.xml.haml +14 -0
- data/lib/resources/backends/haml/docbook45/block_literal.xml.haml +7 -0
- data/lib/resources/backends/haml/docbook45/block_olist.xml.haml +8 -0
- data/lib/resources/backends/haml/docbook45/block_open.xml.haml +25 -0
- data/lib/resources/backends/haml/docbook45/block_page_break.xml.haml +1 -0
- data/lib/resources/backends/haml/docbook45/block_paragraph.xml.haml +6 -0
- data/lib/resources/backends/haml/docbook45/block_pass.xml.haml +1 -0
- data/lib/resources/backends/haml/docbook45/block_preamble.xml.haml +7 -0
- data/lib/resources/backends/haml/docbook45/block_quote.xml.haml +13 -0
- data/lib/resources/backends/haml/docbook45/block_ruler.xml.haml +2 -0
- data/lib/resources/backends/haml/docbook45/block_sidebar.xml.haml +7 -0
- data/lib/resources/backends/haml/docbook45/block_table.xml.haml +37 -0
- data/lib/resources/backends/haml/docbook45/block_ulist.xml.haml +18 -0
- data/lib/resources/backends/haml/docbook45/block_verse.xml.haml +10 -0
- data/lib/resources/backends/haml/docbook45/document.xml.haml +63 -0
- data/lib/resources/backends/haml/docbook45/embedded.xml.haml +1 -0
- data/lib/resources/backends/haml/docbook45/helpers.rb +7 -0
- data/lib/resources/backends/haml/docbook45/inline_anchor.xml.haml +13 -0
- data/lib/resources/backends/haml/docbook45/inline_break.xml.haml +2 -0
- data/lib/resources/backends/haml/docbook45/inline_callout.xml.haml +1 -0
- data/lib/resources/backends/haml/docbook45/inline_footnote.xml.haml +5 -0
- data/lib/resources/backends/haml/docbook45/inline_image.xml.haml +5 -0
- data/lib/resources/backends/haml/docbook45/inline_indexterm.xml.haml +18 -0
- data/lib/resources/backends/haml/docbook45/inline_quoted.xml.haml +21 -0
- data/lib/resources/backends/haml/docbook45/section.xml.haml +5 -0
- data/lib/resources/backends/haml/html5/block_admonition.html.haml +14 -0
- data/lib/resources/backends/haml/html5/block_audio.html.haml +7 -0
- data/lib/resources/backends/haml/html5/block_colist.html.haml +21 -0
- data/lib/resources/backends/haml/html5/block_dlist.html.haml +54 -0
- data/lib/resources/backends/haml/html5/block_example.haml.haml +5 -0
- data/lib/resources/backends/haml/html5/block_floating_title.html.haml +1 -0
- data/lib/resources/backends/haml/html5/block_image.html.haml +11 -0
- data/lib/resources/backends/haml/html5/block_listing.html.haml +31 -0
- data/lib/resources/backends/haml/html5/block_literal.html.haml +5 -0
- data/lib/resources/backends/haml/html5/block_math.html.haml +10 -0
- data/lib/resources/backends/haml/html5/block_olist.html.haml +9 -0
- data/lib/resources/backends/haml/html5/block_open.html.haml +15 -0
- data/lib/resources/backends/haml/html5/block_page_break.html.haml +1 -0
- data/lib/resources/backends/haml/html5/block_paragraph.html.haml +4 -0
- data/lib/resources/backends/haml/html5/block_pass.html.haml +1 -0
- data/lib/resources/backends/haml/html5/block_preamble.html.haml +6 -0
- data/lib/resources/backends/haml/html5/block_quote.html.haml +12 -0
- data/lib/resources/backends/haml/html5/block_ruler.html.haml +1 -0
- data/lib/resources/backends/haml/html5/block_sidebar.html.haml +5 -0
- data/lib/resources/backends/haml/html5/block_table.html.haml +47 -0
- data/lib/resources/backends/haml/html5/block_toc.html.haml +11 -0
- data/lib/resources/backends/haml/html5/block_ulist.html.haml +25 -0
- data/lib/resources/backends/haml/html5/block_verse.html.haml +13 -0
- data/lib/resources/backends/haml/html5/block_video.html.haml +27 -0
- data/lib/resources/backends/haml/html5/document.html.haml +114 -0
- data/lib/resources/backends/haml/html5/embedded.html.haml +10 -0
- data/lib/resources/backends/haml/html5/helpers.rb +7 -0
- data/lib/resources/backends/haml/html5/inline_anchor.html.haml +11 -0
- data/lib/resources/backends/haml/html5/inline_break.html.haml +2 -0
- data/lib/resources/backends/haml/html5/inline_button.html.haml +1 -0
- data/lib/resources/backends/haml/html5/inline_callout.html.haml +7 -0
- data/lib/resources/backends/haml/html5/inline_footnote.html.haml +8 -0
- data/lib/resources/backends/haml/html5/inline_image.html.haml +24 -0
- data/lib/resources/backends/haml/html5/inline_indexterm.html.haml +2 -0
- data/lib/resources/backends/haml/html5/inline_kbd.html.haml +8 -0
- data/lib/resources/backends/haml/html5/inline_menu.html.haml +15 -0
- data/lib/resources/backends/haml/html5/inline_quoted.html.haml +22 -0
- data/lib/resources/backends/haml/html5/section.html.haml +21 -0
- data/lib/resources/backends/haml/revealjs/block_image.html.haml +11 -0
- data/lib/resources/backends/haml/revealjs/block_olist.html.haml +8 -0
- data/lib/resources/backends/haml/revealjs/block_ulist.html.haml +8 -0
- data/lib/resources/backends/haml/revealjs/document.html.haml +61 -0
- data/lib/resources/backends/haml/revealjs/section.html.haml +10 -0
- data/lib/resources/backends/slim/docbook45/block_admonition.xml.slim +7 -0
- data/lib/resources/backends/slim/docbook45/block_colist.xml.slim +8 -0
- data/lib/resources/backends/slim/docbook45/block_dlist.xml.slim +61 -0
- data/lib/resources/backends/slim/docbook45/block_example.xml.slim +13 -0
- data/lib/resources/backends/slim/docbook45/block_floating_title.xml.slim +1 -0
- data/lib/resources/backends/slim/docbook45/block_image.xml.slim +7 -0
- data/lib/resources/backends/slim/docbook45/block_listing.xml.slim +14 -0
- data/lib/resources/backends/slim/docbook45/block_literal.xml.slim +7 -0
- data/lib/resources/backends/slim/docbook45/block_olist.xml.slim +8 -0
- data/lib/resources/backends/slim/docbook45/block_open.xml.slim +25 -0
- data/lib/resources/backends/slim/docbook45/block_page_break.xml.slim +1 -0
- data/lib/resources/backends/slim/docbook45/block_paragraph.xml.slim +6 -0
- data/lib/resources/backends/slim/docbook45/block_pass.xml.slim +1 -0
- data/lib/resources/backends/slim/docbook45/block_preamble.xml.slim +7 -0
- data/lib/resources/backends/slim/docbook45/block_quote.xml.slim +13 -0
- data/lib/resources/backends/slim/docbook45/block_ruler.xml.slim +2 -0
- data/lib/resources/backends/slim/docbook45/block_sidebar.xml.slim +7 -0
- data/lib/resources/backends/slim/docbook45/block_table.xml.slim +36 -0
- data/lib/resources/backends/slim/docbook45/block_ulist.xml.slim +18 -0
- data/lib/resources/backends/slim/docbook45/block_verse.xml.slim +10 -0
- data/lib/resources/backends/slim/docbook45/document.xml.slim +63 -0
- data/lib/resources/backends/slim/docbook45/embedded.xml.slim +1 -0
- data/lib/resources/backends/slim/docbook45/helpers.rb +9 -0
- data/lib/resources/backends/slim/docbook45/inline_anchor.xml.slim +13 -0
- data/lib/resources/backends/slim/docbook45/inline_break.xml.slim +2 -0
- data/lib/resources/backends/slim/docbook45/inline_callout.xml.slim +1 -0
- data/lib/resources/backends/slim/docbook45/inline_footnote.xml.slim +4 -0
- data/lib/resources/backends/slim/docbook45/inline_image.xml.slim +4 -0
- data/lib/resources/backends/slim/docbook45/inline_indexterm.xml.slim +16 -0
- data/lib/resources/backends/slim/docbook45/inline_quoted.xml.slim +21 -0
- data/lib/resources/backends/slim/docbook45/section.xml.slim +5 -0
- data/lib/resources/backends/slim/document.html.bk.slim +335 -0
- data/lib/resources/backends/slim/dzslides/block_admonition.html.slim +19 -0
- data/lib/resources/backends/slim/dzslides/block_colist.html.slim +20 -0
- data/lib/resources/backends/slim/dzslides/block_dlist.html.slim +10 -0
- data/lib/resources/backends/slim/dzslides/block_example.html.slim +4 -0
- data/lib/resources/backends/slim/dzslides/block_floating_title.html.slim +1 -0
- data/lib/resources/backends/slim/dzslides/block_image.html.slim +14 -0
- data/lib/resources/backends/slim/dzslides/block_listing.html.slim +8 -0
- data/lib/resources/backends/slim/dzslides/block_literal.html.slim +11 -0
- data/lib/resources/backends/slim/dzslides/block_olist.html.slim +6 -0
- data/lib/resources/backends/slim/dzslides/block_open.html.slim +4 -0
- data/lib/resources/backends/slim/dzslides/block_paragraph.html.slim +1 -0
- data/lib/resources/backends/slim/dzslides/block_pass.html.slim +1 -0
- data/lib/resources/backends/slim/dzslides/block_quote.html.slim +11 -0
- data/lib/resources/backends/slim/dzslides/block_ruler.html.slim +1 -0
- data/lib/resources/backends/slim/dzslides/block_table.html.slim +45 -0
- data/lib/resources/backends/slim/dzslides/block_ulist.html.slim +6 -0
- data/lib/resources/backends/slim/dzslides/block_verse.html.slim +12 -0
- data/lib/resources/backends/slim/dzslides/block_video.html.slim +6 -0
- data/lib/resources/backends/slim/dzslides/document.html.slim +67 -0
- data/lib/resources/backends/slim/dzslides/embedded.html.slim +1 -0
- data/lib/resources/backends/slim/dzslides/helpers.rb +9 -0
- data/lib/resources/backends/slim/dzslides/inline_anchor.html.slim +11 -0
- data/lib/resources/backends/slim/dzslides/inline_break.html.slim +2 -0
- data/lib/resources/backends/slim/dzslides/inline_callout.html.slim +7 -0
- data/lib/resources/backends/slim/dzslides/inline_footnote.html.slim +6 -0
- data/lib/resources/backends/slim/dzslides/inline_image.html.slim +24 -0
- data/lib/resources/backends/slim/dzslides/inline_indexterm.html.slim +2 -0
- data/lib/resources/backends/slim/dzslides/inline_kbd.html.slim +8 -0
- data/lib/resources/backends/slim/dzslides/inline_quoted.html.slim +23 -0
- data/lib/resources/backends/slim/dzslides/section.html.slim +4 -0
- data/lib/resources/backends/slim/html5/block_admonition.html.slim +13 -0
- data/lib/resources/backends/slim/html5/block_audio.html.slim +6 -0
- data/lib/resources/backends/slim/html5/block_colist.html.slim +20 -0
- data/lib/resources/backends/slim/html5/block_dlist.html.slim +53 -0
- data/lib/resources/backends/slim/html5/block_example.html.slim +4 -0
- data/lib/resources/backends/slim/html5/block_floating_title.html.slim +1 -0
- data/lib/resources/backends/slim/html5/block_image.html.slim +10 -0
- data/lib/resources/backends/slim/html5/block_listing.html.slim +31 -0
- data/lib/resources/backends/slim/html5/block_literal.html.slim +4 -0
- data/lib/resources/backends/slim/html5/block_math.html.slim +10 -0
- data/lib/resources/backends/slim/html5/block_olist.html.slim +9 -0
- data/lib/resources/backends/slim/html5/block_open.html.slim +15 -0
- data/lib/resources/backends/slim/html5/block_page_break.html.slim +1 -0
- data/lib/resources/backends/slim/html5/block_paragraph.html.slim +4 -0
- data/lib/resources/backends/slim/html5/block_pass.html.slim +1 -0
- data/lib/resources/backends/slim/html5/block_preamble.html.slim +6 -0
- data/lib/resources/backends/slim/html5/block_quote.html.slim +14 -0
- data/lib/resources/backends/slim/html5/block_ruler.html.slim +1 -0
- data/lib/resources/backends/slim/html5/block_sidebar.html.slim +5 -0
- data/lib/resources/backends/slim/html5/block_table.html.slim +45 -0
- data/lib/resources/backends/slim/html5/block_toc.html.slim +12 -0
- data/lib/resources/backends/slim/html5/block_ulist.html.slim +25 -0
- data/lib/resources/backends/slim/html5/block_verse.html.slim +14 -0
- data/lib/resources/backends/slim/html5/block_video.html.slim +27 -0
- data/lib/resources/backends/slim/html5/document.html.slim +112 -0
- data/lib/resources/backends/slim/html5/embedded.html.slim +9 -0
- data/lib/resources/backends/slim/html5/helpers.rb +8 -0
- data/lib/resources/backends/slim/html5/inline_anchor.html.slim +11 -0
- data/lib/resources/backends/slim/html5/inline_break.html.slim +2 -0
- data/lib/resources/backends/slim/html5/inline_button.html.slim +1 -0
- data/lib/resources/backends/slim/html5/inline_callout.html.slim +7 -0
- data/lib/resources/backends/slim/html5/inline_footnote.html.slim +6 -0
- data/lib/resources/backends/slim/html5/inline_image.html.slim +24 -0
- data/lib/resources/backends/slim/html5/inline_indexterm.html.slim +2 -0
- data/lib/resources/backends/slim/html5/inline_kbd.html.slim +8 -0
- data/lib/resources/backends/slim/html5/inline_menu.html.slim +15 -0
- data/lib/resources/backends/slim/html5/inline_quoted.html.slim +22 -0
- data/lib/resources/backends/slim/html5/section.html.slim +20 -0
- data/lib/resources/backends/slim/revealjs/block_admonition.html.slim +13 -0
- data/lib/resources/backends/slim/revealjs/block_audio.html.slim +6 -0
- data/lib/resources/backends/slim/revealjs/block_colist.html.slim +20 -0
- data/lib/resources/backends/slim/revealjs/block_dlist.html.slim +53 -0
- data/lib/resources/backends/slim/revealjs/block_example.html.slim +4 -0
- data/lib/resources/backends/slim/revealjs/block_floating_title.html.slim +1 -0
- data/lib/resources/backends/slim/revealjs/block_image.html.slim +10 -0
- data/lib/resources/backends/slim/revealjs/block_listing.html.slim +31 -0
- data/lib/resources/backends/slim/revealjs/block_literal.html.slim +4 -0
- data/lib/resources/backends/slim/revealjs/block_math.html.slim +10 -0
- data/lib/resources/backends/slim/revealjs/block_olist.html.slim +9 -0
- data/lib/resources/backends/slim/revealjs/block_open.html.slim +15 -0
- data/lib/resources/backends/slim/revealjs/block_page_break.html.slim +1 -0
- data/lib/resources/backends/slim/revealjs/block_paragraph.html.slim +4 -0
- data/lib/resources/backends/slim/revealjs/block_pass.html.slim +1 -0
- data/lib/resources/backends/slim/revealjs/block_preamble.html.slim +6 -0
- data/lib/resources/backends/slim/revealjs/block_quote.html.slim +14 -0
- data/lib/resources/backends/slim/revealjs/block_ruler.html.slim +1 -0
- data/lib/resources/backends/slim/revealjs/block_sidebar.html.slim +5 -0
- data/lib/resources/backends/slim/revealjs/block_table.html.slim +45 -0
- data/lib/resources/backends/slim/revealjs/block_toc.html.slim +12 -0
- data/lib/resources/backends/slim/revealjs/block_ulist.html.slim +25 -0
- data/lib/resources/backends/slim/revealjs/block_verse.html.slim +14 -0
- data/lib/resources/backends/slim/revealjs/block_video.html.slim +27 -0
- data/lib/resources/backends/slim/revealjs/document.html.slim +87 -0
- data/lib/resources/backends/slim/revealjs/embedded.html.slim +9 -0
- data/lib/resources/backends/slim/revealjs/helpers.rb +8 -0
- data/lib/resources/backends/slim/revealjs/inline_anchor.html.slim +11 -0
- data/lib/resources/backends/slim/revealjs/inline_break.html.slim +2 -0
- data/lib/resources/backends/slim/revealjs/inline_button.html.slim +1 -0
- data/lib/resources/backends/slim/revealjs/inline_callout.html.slim +7 -0
- data/lib/resources/backends/slim/revealjs/inline_footnote.html.slim +6 -0
- data/lib/resources/backends/slim/revealjs/inline_image.html.slim +24 -0
- data/lib/resources/backends/slim/revealjs/inline_indexterm.html.slim +2 -0
- data/lib/resources/backends/slim/revealjs/inline_kbd.html.slim +8 -0
- data/lib/resources/backends/slim/revealjs/inline_menu.html.slim +15 -0
- data/lib/resources/backends/slim/revealjs/inline_quoted.html.slim +22 -0
- data/lib/resources/backends/slim/revealjs/section.html.slim +3 -0
- data/lib/resources/deck.js/core/deck.core.css +407 -0
- data/lib/resources/deck.js/core/deck.core.js +498 -0
- data/lib/resources/deck.js/extensions/deck.js-blank/README.md +10 -0
- data/lib/resources/deck.js/extensions/deck.js-blank/deck.blank.js +33 -0
- data/lib/resources/deck.js/extensions/goto/deck.goto.css +41 -0
- data/lib/resources/deck.js/extensions/goto/deck.goto.html +7 -0
- data/lib/resources/deck.js/extensions/goto/deck.goto.js +170 -0
- data/lib/resources/deck.js/extensions/hash/deck.hash.css +13 -0
- data/lib/resources/deck.js/extensions/hash/deck.hash.html +2 -0
- data/lib/resources/deck.js/extensions/hash/deck.hash.js +142 -0
- data/lib/resources/deck.js/extensions/menu/deck.menu.css +47 -0
- data/lib/resources/deck.js/extensions/menu/deck.menu.js +187 -0
- data/lib/resources/deck.js/extensions/navigation/deck.navigation.css +43 -0
- data/lib/resources/deck.js/extensions/navigation/deck.navigation.html +3 -0
- data/lib/resources/deck.js/extensions/navigation/deck.navigation.js +92 -0
- data/lib/resources/deck.js/extensions/scale/deck.scale.css +28 -0
- data/lib/resources/deck.js/extensions/scale/deck.scale.js +170 -0
- data/lib/resources/deck.js/extensions/split/README.md +30 -0
- data/lib/resources/deck.js/extensions/split/deck.split.js +59 -0
- data/lib/resources/deck.js/extensions/status/deck.status.css +18 -0
- data/lib/resources/deck.js/extensions/status/deck.status.html +6 -0
- data/lib/resources/deck.js/extensions/status/deck.status.js +95 -0
- data/lib/resources/deck.js/extensions/toc/deck.toc.css +40 -0
- data/lib/resources/deck.js/extensions/toc/deck.toc.html +12 -0
- data/lib/resources/deck.js/extensions/toc/deck.toc.js +271 -0
- data/lib/resources/deck.js/jquery-1.7.2.min.js +4 -0
- data/lib/resources/deck.js/jquery.min.js +4 -0
- data/lib/resources/deck.js/modernizr.custom.js +4 -0
- data/lib/resources/deck.js/themes/style/beamer.css +286 -0
- data/lib/resources/deck.js/themes/style/neon.css +123 -0
- data/lib/resources/deck.js/themes/style/swiss.css +84 -0
- data/lib/resources/deck.js/themes/style/web-2.0.css +214 -0
- data/lib/resources/deck.js/themes/transition/beamer.css +66 -0
- data/lib/resources/deck.js/themes/transition/fade.css +43 -0
- data/lib/resources/deck.js/themes/transition/horizontal-slide.css +76 -0
- data/lib/resources/deck.js/themes/transition/vertical-slide.css +94 -0
- data/lib/resources/revealjs/LICENSE +19 -0
- data/lib/resources/revealjs/css/print/paper.css +176 -0
- data/lib/resources/revealjs/css/print/pdf.css +190 -0
- data/lib/resources/revealjs/css/reveal.css +1880 -0
- data/lib/resources/revealjs/css/reveal.min.css +7 -0
- data/lib/resources/revealjs/css/theme/README.md +25 -0
- data/lib/resources/revealjs/css/theme/beige.css +148 -0
- data/lib/resources/revealjs/css/theme/blood.css +175 -0
- data/lib/resources/revealjs/css/theme/default.css +148 -0
- data/lib/resources/revealjs/css/theme/moon.css +148 -0
- data/lib/resources/revealjs/css/theme/night.css +136 -0
- data/lib/resources/revealjs/css/theme/serif.css +138 -0
- data/lib/resources/revealjs/css/theme/simple.css +138 -0
- data/lib/resources/revealjs/css/theme/sky.css +145 -0
- data/lib/resources/revealjs/css/theme/solarized.css +148 -0
- data/lib/resources/revealjs/css/theme/source/beige.scss +50 -0
- data/lib/resources/revealjs/css/theme/source/blood.scss +91 -0
- data/lib/resources/revealjs/css/theme/source/default.scss +42 -0
- data/lib/resources/revealjs/css/theme/source/moon.scss +68 -0
- data/lib/resources/revealjs/css/theme/source/night.scss +35 -0
- data/lib/resources/revealjs/css/theme/source/serif.scss +35 -0
- data/lib/resources/revealjs/css/theme/source/simple.scss +38 -0
- data/lib/resources/revealjs/css/theme/source/sky.scss +46 -0
- data/lib/resources/revealjs/css/theme/source/solarized.scss +74 -0
- data/lib/resources/revealjs/css/theme/template/mixins.scss +29 -0
- data/lib/resources/revealjs/css/theme/template/settings.scss +34 -0
- data/lib/resources/revealjs/css/theme/template/theme.scss +170 -0
- data/lib/resources/revealjs/js/reveal.js +3382 -0
- data/lib/resources/revealjs/js/reveal.min.js +9 -0
- data/lib/resources/revealjs/lib/css/zenburn.css +114 -0
- data/lib/resources/revealjs/lib/font/league_gothic-webfont.eot +0 -0
- data/lib/resources/revealjs/lib/font/league_gothic-webfont.svg +230 -0
- data/lib/resources/revealjs/lib/font/league_gothic-webfont.ttf +0 -0
- data/lib/resources/revealjs/lib/font/league_gothic-webfont.woff +0 -0
- data/lib/resources/revealjs/lib/font/league_gothic_license +2 -0
- data/lib/resources/revealjs/lib/js/classList.js +2 -0
- data/lib/resources/revealjs/lib/js/head.min.js +8 -0
- data/lib/resources/revealjs/lib/js/html5shiv.js +7 -0
- data/lib/resources/revealjs/plugin/highlight/highlight.js +32 -0
- data/lib/resources/revealjs/plugin/leap/leap.js +157 -0
- data/lib/resources/revealjs/plugin/markdown/example.html +129 -0
- data/lib/resources/revealjs/plugin/markdown/example.md +31 -0
- data/lib/resources/revealjs/plugin/markdown/markdown.js +392 -0
- data/lib/resources/revealjs/plugin/markdown/marked.js +37 -0
- data/lib/resources/revealjs/plugin/math/math.js +64 -0
- data/lib/resources/revealjs/plugin/multiplex/client.js +13 -0
- data/lib/resources/revealjs/plugin/multiplex/index.js +56 -0
- data/lib/resources/revealjs/plugin/multiplex/master.js +51 -0
- data/lib/resources/revealjs/plugin/notes-server/client.js +57 -0
- data/lib/resources/revealjs/plugin/notes-server/index.js +59 -0
- data/lib/resources/revealjs/plugin/notes-server/notes.html +142 -0
- data/lib/resources/revealjs/plugin/notes/notes.html +267 -0
- data/lib/resources/revealjs/plugin/notes/notes.js +78 -0
- data/lib/resources/revealjs/plugin/postmessage/example.html +39 -0
- data/lib/resources/revealjs/plugin/postmessage/postmessage.js +42 -0
- data/lib/resources/revealjs/plugin/print-pdf/print-pdf.js +44 -0
- data/lib/resources/revealjs/plugin/remotes/remotes.js +39 -0
- data/lib/resources/revealjs/plugin/search/search.js +196 -0
- data/lib/resources/revealjs/plugin/zoom-js/zoom.js +258 -0
- data/lib/resources/styles/asciidoctor.css +652 -0
- data/lib/resources/styles/colony.css +660 -0
- data/lib/resources/styles/foundation-lime.css +657 -0
- data/lib/resources/styles/foundation-potion.css +657 -0
- data/lib/resources/styles/foundation.css +648 -0
- data/lib/resources/styles/github.css +669 -0
- data/lib/resources/styles/golo.css +669 -0
- data/lib/resources/styles/iconic.css +692 -0
- data/lib/resources/styles/maker.css +668 -0
- data/lib/resources/styles/readthedocs.css +669 -0
- data/lib/resources/styles/redhat.css +654 -0
- data/lib/resources/styles/riak.css +689 -0
- data/lib/resources/styles/rocket-panda.css +662 -0
- data/lib/resources/styles/rubygems.css +650 -0
- data/lib/templates/_config.yml +27 -0
- data/lib/templates/{training → book}/GemFile +2 -1
- data/lib/templates/{training → book}/development/audio/ocean_waves.mp3 +0 -0
- data/lib/templates/book/development/book.adoc +121 -0
- data/lib/templates/{training → book}/development/image/hyla_frog.jpg +0 -0
- data/lib/templates/{training → book}/development/video/small.ogv +0 -0
- data/lib/templates/{training → book}/introduction/audio/ocean_waves.mp3 +0 -0
- data/lib/templates/book/introduction/book.adoc +121 -0
- data/lib/templates/{training → book}/introduction/image/hyla_frog.jpg +0 -0
- data/lib/templates/{training → book}/introduction/video/small.ogv +0 -0
- data/lib/templates/book/readme.adoc +10 -0
- data/lib/templates/sample/asciidoc_article.adoc +101 -10
- data/lib/templates/sample/asciidoc_audio.adoc +1 -1
- data/lib/templates/sample/asciidoc_book.adoc +125 -0
- data/lib/templates/sample/asciidoc_image.adoc +26 -0
- data/lib/templates/sample/asciidoc_report.adoc +66 -0
- data/lib/templates/sample/asciidoc_source.adoc +53 -0
- data/lib/templates/sample/asciidoc_table.adoc +36 -0
- data/lib/templates/sample/asciidoc_video.adoc +9 -1
- data/lib/templates/sample/slideshow_revealjs.adoc +26 -0
- data/lib/templates/training-exercises/_config.yml +3 -0
- data/lib/templates/training/{introduction → module-1}/article.adoc +7 -2
- data/lib/templates/training/module-1/audio/ocean_waves.mp3 +0 -0
- data/lib/templates/training/module-1/image/hyla_arborea.jpg +0 -0
- data/lib/templates/training/module-1/video/small.ogv +0 -0
- data/lib/templates/training/{development → module-2}/article.adoc +7 -2
- data/lib/templates/training/module-2/audio/ocean_waves.mp3 +0 -0
- data/lib/templates/training/module-2/image/hyla_arborea.jpg +0 -0
- data/lib/templates/training/module-2/video/small.ogv +0 -0
- data/lib/templates/training/readme.adoc +10 -1
- data/scenario.adoc +113 -20
- data/test/reports/test-1.0.x-11-12-2013.txt +123 -0
- data/todo.adoc +39 -0
- metadata +473 -51
- data/lib/hyla/training.rb +0 -25
- data/lib/templates/sample/asciidoc_source_highlight.adoc +0 -37
- data/lib/templates/training-exercises/Gemfile +0 -4
@@ -0,0 +1,26 @@
|
|
1
|
+
== Asciidoc(tor) Reference
|
2
|
+
|
3
|
+
- http://asciidoctor.org/docs/user-manual/#images[Images]
|
4
|
+
|
5
|
+
== A block centered image with subtitle, id and link to refer
|
6
|
+
|
7
|
+
[[id_of_hyla_picture]]
|
8
|
+
.Title of the picture displayed under the picture
|
9
|
+
image::image/hyla_arborea.jpg[Hyla Arborea,width="40%",height="40%", align="center"]
|
10
|
+
|
11
|
+
[.text-center]
|
12
|
+
Link to Figure Image : <<id_of_hyla_picture,A beautiful Hyla Arborea Picture>>
|
13
|
+
|
14
|
+
== A block image pulled to the right and centered within the block
|
15
|
+
|
16
|
+
image::image/hyla_arborea.jpg[Hyla Arborea,40,40,float="right",align="center"]
|
17
|
+
|
18
|
+
== An inline image pulled to the left of the paragraph text
|
19
|
+
|
20
|
+
image::image/hyla_arborea.jpg[Hyla Arborea,30,30,float="left"]
|
21
|
+
You can find Hyla in American, Europe or Asian Tropical Rain forrests !
|
22
|
+
|
23
|
+
== A hyperlinked image with caption
|
24
|
+
[[img-sunset]]
|
25
|
+
.A mountain sunset
|
26
|
+
image::image/hyla_arborea.jpg[Sunset, 300, 200, link="http://www.flickr.com/photos/javh/5448336655"]
|
@@ -0,0 +1,66 @@
|
|
1
|
+
:data-uri:
|
2
|
+
:author: Bob Moran
|
3
|
+
:firstname: Bob
|
4
|
+
:middlename:
|
5
|
+
:lastname: Moran
|
6
|
+
:authorinitials: bmo
|
7
|
+
:email: bmoran@redhat.com
|
8
|
+
:date: January 7, 2013
|
9
|
+
|
10
|
+
== image:images/hyla_arborea.jpg[{author}, 40%, 35%, float="left"] {author}'s weekly Report - {date}
|
11
|
+
|
12
|
+
=== {email}
|
13
|
+
|
14
|
+
[width="100%"]
|
15
|
+
|==============================================
|
16
|
+
|*Completed Activities* |*Weekly Meetings* |*To Do Activities*
|
17
|
+
|Completed Modules - Lab Setup, Package Management, Networking, Device Management, Storage |11/6/2013 BLD migration to BPMS6|Review Materials and Upload to Dokeos
|
18
|
+
|Fuse Service Works |11/6/2013 SumTotal UAT Checkpoint|Review Demos and Connect to EC2 to create new ones with updated interface
|
19
|
+
|Updated materials from html to asciidoc Transfered rest of project to Zach |11/7/2013 asciidoc Overview |asciidoc Themes - update themes to match Branding Guidelines fonts, colors and backgrounds
|
20
|
+
|BPMS6 | |RHEL Implementation Take Home
|
21
|
+
|Updated BAM files into asciidoc | |Complete the Services, Authentication, Virtualization, Security and Advanced Installation Labs
|
22
|
+
|https://mojo.redhat.com/docs/DOC-30653 | |
|
23
|
+
|==============================================
|
24
|
+
|
25
|
+
== Issues
|
26
|
+
====
|
27
|
+
- *Dokeos Support Issues*
|
28
|
+
* Request #13857: **** TIME SENSITIVE **** progress bar not working in SumTotal - Not Resolved - Getting 404 Page not Found errors when viewing Dokeos content in SumTotal
|
29
|
+
** The resolution to this issue is the following:
|
30
|
+
. Export a module from Dokeos (Navigation inside content) and uploaded it in SumTotal and now you can see the progress as 100% when the whole module is finished by the learner.
|
31
|
+
. Clear cache in RDC Windows Internet Explorer envionment, Reload SCORM materials move into Production, As Learner you are able to register and open the course. When contents are loading get 404 error that goes to the content when click OK
|
32
|
+
. The issue with this resolution is that when I click on the arrows from SumTotal and pass the test it returns with the Not Attempted in the Topic Status window
|
33
|
+
. The exported with Navigation inside content allows for the next/previous buttons but no table of contents to show how many sections there are in the module
|
34
|
+
** Another issue is that when the module is not completed it starts back at the beginning and not where the user left off like it should
|
35
|
+
|
36
|
+
====
|
37
|
+
|
38
|
+
== Meeting(s)
|
39
|
+
====
|
40
|
+
- Demo/presentation of Project Hyla - Tooling & Template for Modules Training creation
|
41
|
+
- Discuss/Reivew Bob's issues
|
42
|
+
====
|
43
|
+
|
44
|
+
== General
|
45
|
+
====
|
46
|
+
- Project Hyla (on going)
|
47
|
+
- Admin tasks : cash reward, expenses
|
48
|
+
====
|
49
|
+
|
50
|
+
== Partners
|
51
|
+
====
|
52
|
+
- Meeting with Finavia customer
|
53
|
+
====
|
54
|
+
|
55
|
+
== Community
|
56
|
+
====
|
57
|
+
- Problems fixed for Hyla :
|
58
|
+
* Dependency issue with listen 1.3.1 & 2.0. Remove `2.0` from gemspec file
|
59
|
+
* Watch command does not work with files having names `.asciidoc, .ad, .adoc` as extensions
|
60
|
+
* Import asciidoctor backends (haml and slim)
|
61
|
+
* Improve rendering adoc2slides to support deckjs, revealjs
|
62
|
+
* Add a YAML config file to each project created to reduce options to be added for command line
|
63
|
+
* Merge JSON YAML config file with DEFAULTS & options keys
|
64
|
+
* Add control if no yaml config file is find to use DEFAULT and Commad Lines Options
|
65
|
+
* Allow to generate content with relative directories --> source is '.' and destination 'generated_content'
|
66
|
+
====
|
@@ -0,0 +1,53 @@
|
|
1
|
+
:source-highlighter: coderay
|
2
|
+
|
3
|
+
== Asciidoc(tor) Reference
|
4
|
+
|
5
|
+
- http://asciidoctor.org/docs/user-manual/#syntax-highlighting[Source Highlighting]
|
6
|
+
- http://asciidoctor.org/docs/user-manual/#passthrough-macros[Pass through Macros]
|
7
|
+
|
8
|
+
== Syntax HighLighter
|
9
|
+
|
10
|
+
=== Text
|
11
|
+
|
12
|
+
Text explaining where the code is located in *+++<span style="font-family: 'courier new', courier, monospace;">/directory structure</span>+++*
|
13
|
+
|
14
|
+
Instructions of what the code is doing
|
15
|
+
|
16
|
+
[source, txt, indent=0, subs="macros"]
|
17
|
+
+++[directory structure]#+++ pass:quotes[*command syntax*]
|
18
|
+
|
19
|
+
Remark : Asciidoctor substitution with macros is used
|
20
|
+
|
21
|
+
=== Java
|
22
|
+
[source,java]
|
23
|
+
----
|
24
|
+
public class HelloWorld {
|
25
|
+
|
26
|
+
public static void main(String[] args) {
|
27
|
+
System.out.println(">> Hello Hyla Students");
|
28
|
+
}
|
29
|
+
|
30
|
+
}
|
31
|
+
----
|
32
|
+
|
33
|
+
=== XML
|
34
|
+
[source,xml]
|
35
|
+
----
|
36
|
+
<note>
|
37
|
+
<to>Tove</to>
|
38
|
+
<from>Jani</from>
|
39
|
+
<heading>Reminder</heading>
|
40
|
+
<body>Don't forget me this weekend!</body>
|
41
|
+
</note>
|
42
|
+
----
|
43
|
+
|
44
|
+
=== Ruby
|
45
|
+
|
46
|
+
[source,ruby]
|
47
|
+
----
|
48
|
+
require 'asciidoctor'
|
49
|
+
|
50
|
+
puts Asciidoctor.render_file('sample.adoc', :header_footer => true)
|
51
|
+
----
|
52
|
+
|
53
|
+
|
@@ -0,0 +1,36 @@
|
|
1
|
+
:data-uri:
|
2
|
+
|
3
|
+
== Asciidoc(tor) Reference
|
4
|
+
|
5
|
+
- http://www.methods.co.nz/asciidoc/chunked/ch23.html[Asciidoc Table]
|
6
|
+
- http://asciidoctor.org/docs/user-manual/#tables[Table]
|
7
|
+
- http://asciidoctor.org/docs/user-manual/#column-specifiers[Columns alignments]
|
8
|
+
|
9
|
+
== Table with 2 columns left aligned with header
|
10
|
+
[cols="2*<", options="header"]
|
11
|
+
.Table Title
|
12
|
+
|===
|
13
|
+
| Column 1 | Column 2
|
14
|
+
| Text 1 | Text 1
|
15
|
+
| Text 2 | Text 2
|
16
|
+
| Text 3 | Text 3
|
17
|
+
|===
|
18
|
+
|
19
|
+
Remarks :
|
20
|
+
|
21
|
+
- Columns can be aligned to the top +++(<)+++, middle +++(^)+++, or bottom +++(>)+++
|
22
|
+
- To vertically align the content to the middle of the cells in all of the columns, add a . and then the ^ operator after the multiplier : +++[cols="2*.<"]+++
|
23
|
+
|
24
|
+
== Table with colored header
|
25
|
+
[cols="2*<", options="header"]
|
26
|
+
.Table Title
|
27
|
+
|===
|
28
|
+
| Column 1 {set:cellbgcolor:red} | Column 2 {set:cellbgcolor:red}
|
29
|
+
| Text 1 {set:cellbgcolor:white} | Text 1
|
30
|
+
| Text 2 {set:cellbgcolor:grey} | Text 2
|
31
|
+
| Text 3 {set:cellbgcolor:white} | Text 3
|
32
|
+
|===
|
33
|
+
|
34
|
+
Remark:
|
35
|
+
|
36
|
+
- should be better to define colors using css instead of +++{set:cellbgcolor:red}+++
|
@@ -1,4 +1,12 @@
|
|
1
|
+
== Asciidoc(tor) Reference
|
2
|
+
|
3
|
+
- http://asciidoctor.org/docs/user-manual/#video[Video]
|
4
|
+
|
1
5
|
== Video
|
2
6
|
|
3
|
-
|
7
|
+
.Video Caption Title
|
8
|
+
video::../video/small.ogv[options=autoplay]
|
9
|
+
|
10
|
+
'''
|
11
|
+
[.big]#Video Text or Directions#
|
4
12
|
|
@@ -0,0 +1,26 @@
|
|
1
|
+
= Getting Started with Reveal.js
|
2
|
+
:description: RevealJS Template to create a beautiful HTML Slideshow
|
3
|
+
:backend: revealjs
|
4
|
+
:author: Charles Moulliard
|
5
|
+
// Themes : default, beige, moon, blood, night, serif, simple, sky, solarized
|
6
|
+
:revealjs_theme: solarized
|
7
|
+
|
8
|
+
== Reveal.js
|
9
|
+
|
10
|
+
HTML Presentations Made Easy
|
11
|
+
|
12
|
+
[small]#Created by
|
13
|
+
http://cmoulliard.github.io[Charles Moulliard] / http://twitter.com/cmoulliard[@cmoulliard]#
|
14
|
+
|
15
|
+
== Heads Up
|
16
|
+
|
17
|
+
reveal.js is a framework for easily creating beautiful presentations using HTML. You'll need a browser with
|
18
|
+
support for CSS 3D transforms to see it in its full glory.
|
19
|
+
|
20
|
+
[sidebar]
|
21
|
+
Oh hey, these are some notes. They'll be hidden in your presentation, but you can see them if you open the speaker notes window (hit 's' on your keyboard).
|
22
|
+
|
23
|
+
== Another Slide
|
24
|
+
|
25
|
+
|
26
|
+
|
@@ -1,5 +1,7 @@
|
|
1
1
|
:icons: font
|
2
2
|
:data-uri:
|
3
|
+
:sectlink: true // to turn section titles into links
|
4
|
+
:sectanchors: true // An anchor (empty link) is added before the section title
|
3
5
|
|
4
6
|
== Links
|
5
7
|
|
@@ -40,8 +42,11 @@ Nullam tristique mauris vitae feugiat consectetur. Ut pellentesque turpis faucib
|
|
40
42
|
*** Reflection pool
|
41
43
|
|
42
44
|
== Image
|
43
|
-
|
44
|
-
|
45
|
+
[[id_of_hyla_picture]]
|
46
|
+
.Title of the picture displayed under the picture
|
47
|
+
image::image/hyla_arborea.jpg[width="40%"]
|
48
|
+
|
49
|
+
Link to Figure Image : <<id_of_hyla_picture,A beautiful Hyla Arborea Picture>>
|
45
50
|
|
46
51
|
== Admonition
|
47
52
|
|
Binary file
|
Binary file
|
Binary file
|
@@ -1,5 +1,7 @@
|
|
1
1
|
:icons: font
|
2
2
|
:data-uri:
|
3
|
+
:sectlink: true // to turn section titles into links
|
4
|
+
:sectanchors: true // An anchor (empty link) is added before the section title
|
3
5
|
|
4
6
|
== Links
|
5
7
|
|
@@ -40,8 +42,11 @@ Nullam tristique mauris vitae feugiat consectetur. Ut pellentesque turpis faucib
|
|
40
42
|
*** Reflection pool
|
41
43
|
|
42
44
|
== Image
|
43
|
-
|
44
|
-
|
45
|
+
[[id_of_hyla_picture]]
|
46
|
+
.Title of the picture displayed under the picture
|
47
|
+
image::image/hyla_arborea.jpg[width="40%"]
|
48
|
+
|
49
|
+
Link to Figure Image : <<id_of_hyla_picture,A beautiful Hyla Arborea Picture>>
|
45
50
|
|
46
51
|
== Admonition
|
47
52
|
|
Binary file
|
Binary file
|
Binary file
|
@@ -1 +1,10 @@
|
|
1
|
-
|
1
|
+
= Training Asciidoctor Project
|
2
|
+
|
3
|
+
This is an empty Training project.
|
4
|
+
|
5
|
+
- To create **asciidoc(tor)** content, more info are available http://asciidoctor.org/docs/user-manual[here]
|
6
|
+
- Otherwise, you can add content to this newly project created using this hyla command :
|
7
|
+
|
8
|
+
hyla create --t asciidoc --a xxx --d pathToProjectCreated
|
9
|
+
|
10
|
+
where xxx can be article, book, source, audio, video, ..."
|
data/scenario.adoc
CHANGED
@@ -3,56 +3,149 @@
|
|
3
3
|
==== 1. Delete Temp directory
|
4
4
|
|
5
5
|
rm -rf ~/hyla/MyBlankProject/
|
6
|
+
rm -rf ~/hyla/MyBookProject
|
6
7
|
rm -rf ~/hyla/MyTocProject/
|
7
8
|
rm -rf ~/hyla/MyTrainingProject/
|
9
|
+
rm -rf ~/hyla/MyTrainingExercisesProject/
|
10
|
+
rm -rf ~/hyla/MyDeckSlideShow/
|
11
|
+
rm -rf ~/hyla/MyRevealSlideShow/
|
8
12
|
|
9
|
-
|
13
|
+
==== 2. Install Gem Hyla 1.0.x
|
10
14
|
|
11
|
-
|
15
|
+
gem install hyla -v 1.0.x
|
12
16
|
|
13
|
-
|
17
|
+
== 1. Blank Project & Artefacts
|
14
18
|
|
15
|
-
|
19
|
+
Using hyla we will create a new project (= directory) and add artefacts (article, audio, video, image, source, table)
|
16
20
|
|
17
|
-
|
21
|
+
== 1. Create a Blank Project (with or without --force option)
|
18
22
|
|
19
|
-
|
23
|
+
hyla new --blank ~/hyla/MyBlankProject
|
24
|
+
hyla new --blank ~/hyla/MyBlankProject --force
|
20
25
|
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
26
|
+
== 2. Create a Blank Project without _config.yaml config file, add artefact
|
27
|
+
|
28
|
+
cd ~/hyla
|
29
|
+
rm -rf MyBlankProject/
|
30
|
+
hyla new --blank MyBlankProject --force
|
31
|
+
hyla create --t asciidoc --a article --d ~/hyla/MyBlankProject
|
32
|
+
hyla create --t asciidoc --a book --d ~/hyla/MyBlankProject
|
33
|
+
hyla create --t asciidoc --a image --d ~/hyla/MyBlankProject
|
34
|
+
hyla create --t asciidoc --a audio --d ~/hyla/MyBlankProject
|
35
|
+
hyla create --t asciidoc --a video --d ~/hyla/MyBlankProject
|
36
|
+
hyla create --t asciidoc --a source --d ~/hyla/MyBlankProject
|
37
|
+
hyla create --t asciidoc --a table --d ~/hyla/MyBlankProject
|
38
|
+
|
39
|
+
== 3. Create a Blank Project using _config.yaml config file, add artefacts
|
40
|
+
|
41
|
+
cd ~/hyla
|
42
|
+
rm -rf MyBlankProject/
|
43
|
+
hyla new --blank MyBlankProject --force
|
44
|
+
cd MyBlankProject
|
45
|
+
hyla create --a article
|
46
|
+
hyla create --a book
|
47
|
+
hyla create --a image
|
48
|
+
hyla create --a audio
|
49
|
+
hyla create --a video
|
50
|
+
hyla create --a source
|
51
|
+
hyla create --a table
|
25
52
|
|
26
53
|
=== 4. Generate HTML Content of an existing project (asciidoc 2 html)
|
27
54
|
|
28
|
-
|
55
|
+
hyla generate --r adoc2html --s ~/hyla/MyBlankProject/ --d ~/hyla/MyBlankProject/generated_content
|
56
|
+
|
57
|
+
=== 5. Generate HTML Content of an existing project (asciidoc 2 html) with a different style
|
58
|
+
|
59
|
+
Styles available : redhat, asciidoctor, colony, foundation, foundation-lime, foundation-potion, github, golo, iconic, maker, readthedocs, riak, rocket-panda, rubygems
|
60
|
+
|
61
|
+
hyla generate --r adoc2html --s ~/hyla/MyBlankProject/ --d ~/hyla/MyBlankProject/generated_content --style redhat
|
62
|
+
hyla generate --r adoc2html --s ~/hyla/MyBlankProject/ --d ~/hyla/MyBlankProject/generated_content --style github
|
63
|
+
hyla generate --r adoc2html --s ~/hyla/MyBlankProject/ --d ~/hyla/MyBlankProject/generated_content --style foundation
|
64
|
+
|
65
|
+
=== 6. Generate HTML Content within project
|
66
|
+
|
67
|
+
hyla generate --r adoc2html --s . --d generated_content
|
68
|
+
|
69
|
+
=== 7. Generate HTML Content within project & using Config File
|
70
|
+
|
71
|
+
As destination directory is not longer '.' (which is the case when we add artefacts using `hyla create` command, then we must change the destination directory to `generated_content`. the original file is
|
72
|
+
still available as it will backuped by ruby
|
73
|
+
|
74
|
+
ruby -i.bak -pe 'sub(%r{destination: .},"destination: generated_content")' _config.yml
|
75
|
+
hyla generate
|
76
|
+
|
29
77
|
|
30
78
|
== 2. Project from Template
|
31
79
|
|
32
80
|
=== 1. Create a project using a template (training)
|
33
81
|
|
34
|
-
|
35
|
-
|
82
|
+
hyla new --t training ~/hyla/MyTrainingProject --force
|
83
|
+
hyla new --t training-exercises ~/hyla/MyTrainingExercisesProject --force
|
84
|
+
hyla new --t book --force ~/hyla/MyBookProject --force
|
36
85
|
|
37
86
|
=== 2. Generate content and watch it
|
38
87
|
|
39
|
-
|
88
|
+
cd ~/hyla/MyTrainingProject
|
89
|
+
ruby -i.bak -pe 'sub(%r{destination: .},"destination: generated_content")' _config.yml
|
90
|
+
hyla generate
|
40
91
|
|
41
|
-
|
92
|
+
hyla watch --s ~/hyla/MyTrainingProject/ --d ~/hyla/MyTrainingProject/generated_content
|
42
93
|
|
43
94
|
== 3. Table Of Content To asciidoc
|
44
95
|
|
45
96
|
=== 1. Generate an asciidoctor project from a Table of Content
|
46
97
|
|
47
|
-
|
98
|
+
hyla generate --r toc2adoc --p my-project --d ~/hyla/MyTocProject/ --toc ~/MyProjects/hyla/data/toc.adoc
|
99
|
+
hyla generate --r adoc2html --s ~/hyla/MyTocProject/ --d ~/hyla/MyTocProject/generated_content
|
100
|
+
|
101
|
+
hyla watch --s ~/hyla/MyTocProject/ --d ~/hyla/MyTocProject/generated_content
|
102
|
+
|
103
|
+
=== 2. Generate an asciidoctor project from a Table of Content using YAML config file and watch content
|
104
|
+
|
105
|
+
rm -rf ~/hyla/MyTocProject
|
106
|
+
cd ~/hyla
|
107
|
+
hyla new --blank MyTocProject
|
108
|
+
cd MyTocProject
|
109
|
+
hyla generate --r toc2adoc
|
110
|
+
|
111
|
+
# Change destination in config files or pass info as option
|
112
|
+
# cd ../MyTocProject/
|
113
|
+
# subl _config.yml
|
114
|
+
hyla generate --r adoc2html
|
115
|
+
|
116
|
+
hyla watch --s ~/hyla/MyTocProject/ --d generated_content
|
117
|
+
|
118
|
+
== 4. Generate a DeckJS Slideshow from Table Of Content
|
119
|
+
|
120
|
+
hyla generate --backend deckjs --s ~/hyla/MyTocProject/A_Introduction_module/ --d ~/hyla/MyTocProject/A_Introduction_module/generated_content --r adoc2slide
|
121
|
+
|
122
|
+
== 5. Server content locally - HTTP Server
|
123
|
+
|
124
|
+
hyla serve -P 4000 -H localhost --out_dir ~/hyla/MyTrainingProject/generated_content/ -b /hyla/
|
125
|
+
|
126
|
+
== 6. Generate a Slideshow
|
127
|
+
|
128
|
+
=== 1. DeckJS using a template
|
129
|
+
|
130
|
+
rm -rf ~/hyla/MyDeckSlideShow
|
131
|
+
cd ~/hyla
|
132
|
+
hyla new --blank MyDeckSlideShow
|
133
|
+
hyla create --t slideshow --a deckjs --d MyDeckSlideShow
|
134
|
+
hyla generate --backend deckjs --s ~/hyla/MyDeckSlideShow --d ~/hyla/MyDeckSlideShow/generated_content --r adoc2slide
|
48
135
|
|
49
|
-
|
136
|
+
=== 2. Different DeckJS Style options
|
50
137
|
|
51
|
-
|
138
|
+
hyla generate --backend deckjs --s ~/hyla/MyDeckSlideShow --d ~/hyla/MyDeckSlideShow/generated_content --r adoc2slide --a deckjs_theme=swiss,deckjs_transition=fade
|
139
|
+
hyla generate --backend deckjs --s ~/hyla/MyDeckSlideShow --d ~/hyla/MyDeckSlideShow/generated_content --r adoc2slide --a deckjs_theme=web-2.0,deckjs_transition=horizontal-slide
|
52
140
|
|
53
|
-
|
141
|
+
=== 3. RevealJS
|
54
142
|
|
55
|
-
|
143
|
+
rm -rf ~/hyla/MyRevealSlideShow
|
144
|
+
cd ~/hyla
|
145
|
+
hyla new --blank MyRevealSlideShow
|
146
|
+
hyla create --t slideshow --a revealjs --d MyRevealSlideShow
|
147
|
+
cd MyRevealSlideShow
|
148
|
+
hyla generate --backend revealjs --s . --d generated_content --r adoc2slide
|
56
149
|
|
57
150
|
|
58
151
|
|