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

Update RBS comments imported from RDoc #881

Merged
merged 2 commits into from
Jan 31, 2022
Merged

Update RBS comments imported from RDoc #881

merged 2 commits into from
Jan 31, 2022

Conversation

soutaro
Copy link
Member

@soutaro soutaro commented Jan 31, 2022

I'd like to add rbs annotate command to sync RDoc comments in RBS files. A single command $ rbs annotate core stdlib will synchronize the RBS comments with RDoc.

This can be done with three RBS annotations.

  • annotate:rdoc:skip is to skip annotating modules. This is typically for adding methods to existing modules/classes.
  • annotate:rdoc:source:from=PATH is to remove RDoc comments selectively based on the source file name. This is also for supplemental documents for extending existing modules/classes.
  • annotate:rdoc:copy:SOURCE is to copy a document from some method/class.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant