:icons: font :date-uri: :linkatts: image:https://raw.github.com/cmoulliard/hyla/master/documentation/image/hyla_frog.jpg[Hyla, 100, 100, role="left"] **Hyla** is a Ruby command line tool to create a new documentation/training/blog/static web site project, add artefacts (articles, blog, audio, video, content, code source, ...), render it in HTML, SlideShow, ... using asciidoc(tor) as markup language. Until now, hyla looks like asciidoctor client but is is more similar to Jekyll on the principle but here we support 'asciidoc, asciidoctor' formats and not markdown. The tool allows to : - Generate slideshow presentations (deckJs, RevealJS) - https://twitter.com/cmoulliard/status/421587832159756288, - Setup a blank project, - Setup a project from template (book, training, training-exercises, documentation/training content, ... - Create a documentation/training project (including directories + files) from a Table of Content - Generate a one HTML file (= sum of all the asciidoc files) for slideshow (or trainer presentation) using index files (= file containing links to include other files) - Render html content from asciidoc (http://asciidoctor.org/docs/user-manual) - Render html using different styles - Watch files (LiveReload - WebSocket) and render them if a modification has been detected or file added ... It is not a replacement or a concurrent of 'awestruct'. Idea is to package in hyla css styles, backends, samples (article, image, table, audio, video, book, report) and collection of templates (blog, static web site, awestruct, training, documentation = collection of modules, ... ) to boost process to develop documentation, training content (reason why hyla will assist you to create from a Table of content the structure of directories + asciidoc files (a file = a chapter =a module)), blog web, book, articles, static web site site ... without the need to install git projects (everything is packaged in one tool like jekyll). Reason / Motivation about the packaging : many end users are not developers/engineers and they enjoy to have one tool to use and not a procedure they should clone git repo, build, copy resources manually to finally build a documentation/training/blog .... hyla should be released regularly and will contain last releases of styles/backends/awestructs ... hyla will reuse stylesheets created from 'asciidoctor-stylesheet-factory' and 'asciidoctor-backends' for HTML5, RevealJS, DeckJS, DockBook ... hyla will include 'awestruct' The Hyla project name comes from an arboreal http://en.wikipedia.org/wiki/Hyla[frog] living in equatorial regions of Europe, Asia or Americas. Its name was inspired by the companion of Hercule (Hylas) in Greek mythology. == Prerequisites - https://www.ruby-lang.org/en/[Ruby] > 1.9.3 - http://guides.rubygems.org/[RubyGems] to install Ruby Applications - https://github.com/sstephenson/rbenv[rbenv] to manage different versions of Ruby == Installation Use `gem install` command to deploy Hyla : $ gem install hyla -y NOTE : The option `-y` will tell to rubyGems to deploy the gem but also the dependencies required An alternative is to create a Gemfile and add this line : gem 'hyla' And then execute: $ bundle **Or** install it yourself as: $ gem install hyla -v 1.0.1 == For Developer's only Clone Git project locally, move to Hyla directory and execute the following commands gem build hyla.gemspec sudo gem install hyla-1.0.x.gem == To publish Hyla to Gem Repo gem build hyla.gemspec gem install hyla-1.0.x.gem gem yank hyla -v 1.0.x gem push hyla-1.0.x.gem == Usage Open a terminal and move to the folder where you would like to create a new project or develop an existing. As Hyla is command line tool, it will be used with one of the following commands : create Creates a new file from asciidoc artefacts for an existing project generate Generate modules and asciidoc files from an asciidoc Table Of Content file help Display global or [command] help documentation. new Creates a new Hyla project using a template or blank to the PATH specified serve Serve locally your site watch Watch directories for any change, add or file deleted and render document (HTML5) More info about options and commands available can be find by running the `command line tool` hyla --help == Documentation The `hyla`documentation is available at the link:documentation/introduction.adoc[following address]