Patch #28996
closed
Update Redmine::Plugin documentation
Added by Sho HASHIMOTO over 6 years ago.
Updated about 6 years ago.
Description
I want to more information to Redmine methods for plugin development.
As a trial, I created a patch to add below information to Redmine::Plugin.
- Add Marc Since to each Redmine::Plugin methods
- Add reference to Plugin_Tutorial wiki and Redmine::Plugin#requires_redmine
- Add description to a few methods
I checked Marc Since info with using yard diff(the result pasted below).
I will create patches to add Marc Since information to Redmine methods after this tickets was closed.
Files
+1
I think this is necessary information for plugin developers.
- Assignee set to Jean-Philippe Lang
- Target version set to 4.0.0
I think the comment suggested by Sho is useful. However, I wonder if we can continuously update the comments in the future versions.
I would like Jean-Philippe to decide whether we can commit this change.
Please remove Marc Since tags from patch if it is difficult to maintain version info. I'll publish unofficial document.
I'll publish unofficial document.
Like below. This is auto generated table by using yard diff version1 version2 under redmine repository.
- Subject changed from Update Redmine::Plugin document to Update Redmine::Plugin documentation
- Status changed from New to Closed
It's perfectly right to improve the documentation. I've committed the proposed additions with slight changes, thanks. But the yard tags are not used anywhere in the code, it doesn't sound so good to me to introduce them in a single class.
Thanks to merge documentation!!
But the yard tags are not used anywhere in the code, it doesn't sound so good to me to introduce them in a single class.
No. Redmine already has yard tags.
application_helper.rb has yardoc tag because rdoc has no @<tagname>. See below.
Also available in: Atom
PDF