Module: Muwu

Included in:
Cli, Controller, Destination, DestinationBuilder, Helper::HtmlHrefHelper, Manifest, ManifestBuilder, ManifestTask::TextItem, ManifestTaskBuilders::ContentsBuilder, ManifestTaskBuilders::DocumentCssBuilder, ManifestTaskBuilders::DocumentHtmlBuilder, ManifestTaskBuilders::DocumentJsBuilder, ManifestTaskBuilders::MetadataBuilder, ManifestTaskBuilders::NavigatorBuilder, ManifestTaskBuilders::SubcontentsBuilder, ManifestTaskBuilders::TextBuilder, ManifestTaskBuilders::TextItemBuilder, ManifestTaskBuilders::TitleBuilder, Project, ProjectException::MetadataValueNotGiven, ProjectOptionValidator, ProjectOptionValidatorKey, ProjectOptionValidatorValue, ProjectOptionsReader, ProjectReader, ProjectResetCompiled, ProjectResetCss, ProjectStarter, ProjectValidator, ProjectWriter, Publish, RenderCssBuilder, RenderHtml, RenderHtmlBuilder, RenderHtmlPartial::Contents, RenderHtmlPartial::DocumentCss, RenderHtmlPartial::DocumentHtml, RenderHtmlPartial::DocumentJs, RenderHtmlPartial::JsLibrary, RenderHtmlPartial::Metadata, RenderHtmlPartial::Subcontents, RenderHtmlPartial::Text, RenderHtmlPartial::TextItem, RenderHtmlPartial::Title, RenderHtmlPartialBuilder::ContentsBuilder, RenderHtmlPartialBuilder::DocumentCssBuilder, RenderHtmlPartialBuilder::DocumentHtmlBuilder, RenderHtmlPartialBuilder::DocumentJsBuilder, RenderHtmlPartialBuilder::MetadataBuilder, RenderHtmlPartialBuilder::NavigatorBuilder, RenderHtmlPartialBuilder::SubcontentsBuilder, RenderHtmlPartialBuilder::TextBuilder, RenderHtmlPartialBuilder::TextItemBuilder, RenderHtmlPartialBuilder::TitleBuilder, RenderInspector, RenderJsBuilder, Sync, Viewer
Defined in:
lib/muwu.rb,
lib/muwu/cli/cli.rb,
lib/muwu/sync/sync.rb,
lib/muwu/cli/cli_help.rb,
lib/muwu/viewer/viewer.rb,
lib/muwu/var/deflistdiv.rb,
lib/muwu/default/default.rb,
lib/muwu/project/project.rb,
lib/muwu/publish/publish.rb,
lib/muwu/helper/regexp_lib.rb,
lib/muwu/manifest/manifest.rb,
lib/muwu/helper/hash_helper.rb,
lib/muwu/manifest_task/text.rb,
lib/muwu/manifest_task/title.rb,
lib/muwu/controller/controller.rb,
lib/muwu/helper/outline_helper.rb,
lib/muwu/manifest_task/contents.rb,
lib/muwu/manifest_task/metadata.rb,
lib/muwu/destination/destination.rb,
lib/muwu/helper/html_href_helper.rb,
lib/muwu/helper/sanitizer_helper.rb,
lib/muwu/manifest_task/navigator.rb,
lib/muwu/manifest_task/text_item.rb,
lib/muwu/render_html/render_html.rb,
lib/muwu/manifest_task/document_js.rb,
lib/muwu/manifest_task/subcontents.rb,
lib/muwu/manifest_task/document_css.rb,
lib/muwu/manifest_task/document_html.rb,
lib/muwu/render_concat/render_concat.rb,
lib/muwu/project_builder/project_reader.rb,
lib/muwu/project_builder/project_writer.rb,
lib/muwu/project_builder/project_starter.rb,
lib/muwu/project_exception_handler/fatal.rb,
lib/muwu/project_options/project_options.rb,
lib/muwu/render_html_partial/render_text.rb,
lib/muwu/render_html_partial/render_title.rb,
lib/muwu/controller/controller_interaction.rb,
lib/muwu/manifest_builder/manifest_builder.rb,
lib/muwu/project_builder/project_reset_css.rb,
lib/muwu/project_builder/project_validator.rb,
lib/muwu/project_exception/output_not_open.rb,
lib/muwu/render_html/render_markup_to_html.rb,
lib/muwu/render_inspector/render_inspector.rb,
lib/muwu/manifest_task_builder/text_builder.rb,
lib/muwu/manifest_task_builder/title_builder.rb,
lib/muwu/project_exception/scp_not_available.rb,
lib/muwu/render_html_partial/render_contents.rb,
lib/muwu/render_html_partial/render_metadata.rb,
lib/muwu/project_exception/lynx_not_available.rb,
lib/muwu/render_html_partial/render_navigator.rb,
lib/muwu/render_html_partial/render_text_item.rb,
lib/muwu/project_exception/output_already_open.rb,
lib/muwu/project_exception/rsync_not_available.rb,
lib/muwu/render_html_builder/render_js_builder.rb,
lib/muwu/render_html_partial/render_js_library.rb,
lib/muwu/manifest_task_builder/contents_builder.rb,
lib/muwu/manifest_task_builder/metadata_builder.rb,
lib/muwu/project_builder/project_reset_compiled.rb,
lib/muwu/render_html_builder/render_css_builder.rb,
lib/muwu/render_html_partial/render_document_js.rb,
lib/muwu/render_html_partial/render_subcontents.rb,
lib/muwu/destination_builder/destination_builder.rb,
lib/muwu/manifest_task_builder/navigator_builder.rb,
lib/muwu/manifest_task_builder/text_item_builder.rb,
lib/muwu/render_html_builder/render_html_builder.rb,
lib/muwu/render_html_partial/render_document_css.rb,
lib/muwu/project_exception/option_not_validatable.rb,
lib/muwu/project_exception/options_file_not_found.rb,
lib/muwu/project_exception/outline_file_not_found.rb,
lib/muwu/render_html_partial/render_document_html.rb,
lib/muwu/manifest_task_builder/document_js_builder.rb,
lib/muwu/manifest_task_builder/subcontents_builder.rb,
lib/muwu/project_exception/metadata_file_not_found.rb,
lib/muwu/manifest_task_builder/document_css_builder.rb,
lib/muwu/project_exception/metadata_value_not_given.rb,
lib/muwu/manifest_task_builder/document_html_builder.rb,
lib/muwu/project_exception/compiled_folder_not_found.rb,
lib/muwu/project_exception/option_key_not_understood.rb,
lib/muwu/project_exception/text_source_file_not_found.rb,
lib/muwu/project_exception/css_manifest_file_not_found.rb,
lib/muwu/project_exception/option_value_not_understood.rb,
lib/muwu/project_exception/outline_step_not_understood.rb,
lib/muwu/project_exception/option_remote_sync_value_nil.rb,
lib/muwu/project_options_builder/project_options_reader.rb,
lib/muwu/render_html_partial_builder/render_text_builder.rb,
lib/muwu/project_options_builder/project_option_validator.rb,
lib/muwu/render_html_partial_builder/render_title_builder.rb,
lib/muwu/project_exception/option_remote_publish_value_nil.rb,
lib/muwu/render_html_partial_builder/render_contents_builder.rb,
lib/muwu/render_html_partial_builder/render_metadata_builder.rb,
lib/muwu/project_options_builder/project_option_validator_key.rb,
lib/muwu/render_html_partial_builder/render_navigator_builder.rb,
lib/muwu/render_html_partial_builder/render_text_item_builder.rb,
lib/muwu/project_exception/target_project_folder_already_exists.rb,
lib/muwu/project_options_builder/project_option_validator_value.rb,
lib/muwu/render_html_partial_builder/render_document_js_builder.rb,
lib/muwu/render_html_partial_builder/render_subcontents_builder.rb,
lib/muwu/project_exception/navigator_not_recommended_with_stdout.rb,
lib/muwu/render_html_partial_builder/render_document_css_builder.rb,
lib/muwu/project_exception/multiple_formats_requested_with_stdout.rb,
lib/muwu/render_html_partial_builder/render_document_html_builder.rb,
lib/muwu/project_exception/multiple_documents_outlined_with_stdout.rb,
lib/muwu/project_exception/navigators_will_be_generated_automatically.rb,
lib/muwu/project_exception/dry_output_recommended_with_multiple_documents.rb,
lib/muwu/project_exception/subcontents_will_be_generated_automatically copy.rb

Defined Under Namespace

Modules: Default, Helper, ManifestTask, ManifestTaskBuilders, ProjectException, ProjectExceptionHandler, RenderHtmlPartial, RenderHtmlPartialBuilder, Var Classes: Cli, CliHelp, Controller, ControllerInteraction, Destination, DestinationBuilder, Manifest, ManifestBuilder, Project, ProjectOptionValidator, ProjectOptionValidatorKey, ProjectOptionValidatorValue, ProjectOptions, ProjectOptionsReader, ProjectReader, ProjectResetCompiled, ProjectResetCss, ProjectStarter, ProjectValidator, ProjectWriter, Publish, RenderConcat, RenderCssBuilder, RenderHtml, RenderHtmlBuilder, RenderInspector, RenderJsBuilder, RenderMarkupToHtml, Sync, Viewer

Constant Summary collapse

VERSION =
'3.0.0'
GEM_HOME_LIB =
File.absolute_path(File.join(File.dirname(__FILE__)))
GEM_HOME_LIB_MUWU =
File.absolute_path(File.join(GEM_HOME_LIB, 'muwu'))

Class Method Summary collapse

Class Method Details

.debug(file, line, info) ⇒ Object



28
29
30
# File 'lib/muwu.rb', line 28

def debug(file, line, info)
  Logger.new(STDERR).debug("#{file} #{line} #{info}")
end

.read(path) ⇒ Object



33
34
35
# File 'lib/muwu.rb', line 33

def read(path)
  ProjectReader.build { |b| b.load_path(path) }
end