Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure YARD to document protected code #1133

Merged
merged 1 commit into from
May 30, 2019

Conversation

pyrmont
Copy link
Contributor

@pyrmont pyrmont commented May 29, 2019

By default, YARD does not document code marked private or protected. There are important elements of Rouge (such as the Rouge::RegexLexer::StateDSL#rule method) that are marked protected but are intended for broad use. This ensures that documentation is generated for those elements.

By default, YARD does not document code marked private or protected.
There are important elements of Rouge (such as the
`Rouge::RegexLexer::StateDSL#rule` method) that are marked protected but
are intended for broad use. This ensures that documentation is generated
for those elements.
@pyrmont pyrmont added the needs-review The PR needs to be reviewed label May 29, 2019
@pyrmont pyrmont merged commit fdf5ad9 into rouge-ruby:master May 30, 2019
@pyrmont pyrmont removed the needs-review The PR needs to be reviewed label May 30, 2019
@pyrmont pyrmont deleted the bugfix.yard-opts branch January 8, 2020 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant