Module: YDoc

Defined in:
lib/appcom-ydoc-ruby.rb,
lib/appcom-ydoc-ruby/config.rb,
lib/appcom-ydoc-ruby/html/html_builder.rb,
lib/appcom-ydoc-ruby/yaml/yaml_builder.rb,
lib/appcom-ydoc-ruby/email/email_builder.rb,
lib/appcom-ydoc-ruby/markdown/markdown_builder.rb

Overview

Add requires for other files you add to your project here, so you just need to require this one file in your bin file

Defined Under Namespace

Classes: Config, EmailBuilder, HtmlBuilder, MarkdownBuilder, YamlBuilder

Class Method Summary collapse

Class Method Details

.build_html(input_directory, temp_directory, output_directory, options) ⇒ Object



12
13
14
15
16
17
18
# File 'lib/appcom-ydoc-ruby.rb', line 12

def build_html input_directory, temp_directory, output_directory, options
  markdown_builder = MarkdownBuilder.new
  markdown_builder.to_markdown(input_directory, temp_directory)

  html_builder = HtmlBuilder.new
  html_builder.to_html(temp_directory, output_directory, options)
end