https://github.com/rubyworks/yard-tomdoc
Implements TomDoc syntax markup for YARD
https://github.com/rubyworks/yard-tomdoc
Last synced: 6 months ago
JSON representation
Implements TomDoc syntax markup for YARD
- Host: GitHub
- URL: https://github.com/rubyworks/yard-tomdoc
- Owner: rubyworks
- License: mit
- Created: 2011-04-30T16:16:09.000Z (almost 15 years ago)
- Default Branch: master
- Last Pushed: 2014-08-15T15:45:32.000Z (over 11 years ago)
- Last Synced: 2024-06-27T15:07:46.284Z (over 1 year ago)
- Language: Ruby
- Homepage: http://rubyworks.github.com/yard-tomdoc
- Size: 554 KB
- Stars: 31
- Watchers: 4
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: HISTORY.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# YARD TomDoc
[Website](http://rubyworks.github.com/yard-tomdoc) /
[Documentation](http://rubydoc.info/gems/yard-tomdoc/frames) /
[Issues](http://github.com/rubyworks/yard-tomdoc/issues) /
[Source Code](http://github.com/rubyworks/yard-tomdoc)
[](http://badge.fury.io/rb/yard-tomdoc)
[](http://travis-ci.org/rubyworks/yard-tomdoc)
[](http://flattr.com/thing/324911/Rubyworks-Ruby-Development-Fund)
## Description
Implements [TomDoc](http://tomdoc.org) syntax for YARD. 'Nuff said.
## Instruction
Since `yard-tomdoc` is a standard YARD plugin, utilize it with yard's
`--plugin` option.
$ yard --plugin tomdoc [...]
## Limitations
Before you use yard-tomdoc you should read [Loren Segal's blog post](http://gnuu.org/2010/05/12/whats-missing-from-tomdoc/)
about the differences between YARD and TomDoc syntax. But note that the YARD
TomDoc plugin now supports a superset of TomDoc's syntax which provides additional
YARD functionality via *cap-tags*. For example using `Author: James Deam` in the
documentation is equivalent to using `@author James Dean` in regular YARD syntax.
Support is limited, but it opens up much more of YARD's goodness to TomDoc
users then Loren's blog post suggests.
## Acknowledgements
Huge thanks to Loren Segal, the creator of YARD and the original author of this
plugin. Without his patient assistance and coding genius, this library would not
have been possible.
## Licensing
YARD TomDoc is copyrighted open-source software.
Copyright (c) 2010 Rubyworks. All rights reserved.
YARD TomDoc can be modified and redistributed in accordance with the terms
of the **MIT** licsnse.
See the `LICENSE.txt` file for details.