Sha256: 9329622da36af0cc4cd511dc6b56fc4f5011e984a254ec16900ceb7b489ac93e
Contents?: true
Size: 1.06 KB
Versions: 2
Compression:
Stored size: 1.06 KB
Contents
# Yard::Markdown Yard plugin to generate markdown documentation ## Goals: - Compatible with Github Flavored Markdown - Mimick yard html layout where it makes sense to maintain familiarity - Produce .csv index file alonside markdown documentation to act as file index ## Usage Yard doesn't load plugin by default, so you need to load plugin through `~/.yard/config`: ```yaml !!!yaml load_plugins: true autoload_plugins: - markdown ``` Install a plugin ``` gem install yard-markdown ``` Run `yardoc --format=markdown` to generate markdown documentation. ## Backstory This is a successor to [rdoc-mardown gem](https://github.com/skatkov/rdoc-markdown/tree/main/example). These docsets are used in [POSH TUI](https://poshtui.com). ## Testing Unit tests can't really test this gem properly. So it's semi-manual process of making changes and reviewing output. ### Testing Rdoc conversion to markdown: `yardoc example_rdoc.rb` -> outputs everything into example/ folder. ### Testing Yard conversion to markdown: `yardoc example_yard.rb` -> outputs everything into example/ folder.
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
yard-markdown-0.4.2 | README.md |
yard-markdown-0.4.1 | README.md |