0.01
There's a lot of open issues
yard plugin to generate markdown documentation for gems
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 0
>= 0
 Project Readme

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
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. These docsets are used in POSH TUI.

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.