Class: Lutaml::UmlRepository::Exporters::MarkdownExporter
- Inherits:
-
BaseExporter
- Object
- BaseExporter
- Lutaml::UmlRepository::Exporters::MarkdownExporter
- Defined in:
- lib/lutaml/uml_repository/exporters/markdown_exporter.rb
Overview
Export UML repository to Markdown documentation.
Generates a complete documentation site in Markdown format with:
-
Index page with package tree
-
Package pages with class listings
-
Class pages with attributes and associations
-
Diagram references
Instance Attribute Summary
Attributes inherited from BaseExporter
Instance Method Summary collapse
-
#export(output_path, options = {}) ⇒ void
Export repository to Markdown documentation.
Methods inherited from BaseExporter
Constructor Details
This class inherits a constructor from Lutaml::UmlRepository::Exporters::BaseExporter
Instance Method Details
#export(output_path, options = {}) ⇒ void
This method returns an undefined value.
Export repository to Markdown documentation.
32 33 34 35 36 37 38 39 40 |
# File 'lib/lutaml/uml_repository/exporters/markdown_exporter.rb', line 32 def export(output_path, = {}) @output_dir = output_path @options = create_directory_structure generate_index_page generate_package_pages generate_class_pages end |