Skip to content

Question: yard plugin creation #1569

Answered by lsegal
LRFalk01 asked this question in Q&A
Discussion options

You must be logged in to vote

YARD has guides on the website that walk through the process, both for building parsers and for custom templates (your plugin can do one or ther other, or even both): https://yardoc.org/guides

If it's not fully explained there, you can peruse yard doc help to see how to activate plugins (packaged RubyGems) or custom code (.rb files not part of an explicit plugin).

For example code, you can look at existing plugins as an example of how to build package and publish them. You can even look at YARD's own use of custom code in the docs/ directory of this repository.

As far as testing goes, this should be no different than testing any other Ruby component. Since plugins are effectively just add…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lsegal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants
Converted from issue

This discussion was converted from issue #1402 on September 03, 2024 08:30.