Method: Jazzy::SourceDocument.make_index
- Defined in:
- lib/jazzy/source_document.rb
.make_index(readme_path) ⇒ Object
20 21 22 23 24 25 26 |
# File 'lib/jazzy/source_document.rb', line 20 def self.make_index(readme_path) SourceDocument.new.tap do |sd| sd.name = 'index' sd.url = sd.name + '.html' sd.readme_path = readme_path end end |