ruby / ruby/rdoc

Class documentation doesn't show `prepend`ed classes

Open
#784 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Ruby
Stars
930
Forks
465
Avg merge
3d 10h
Merged PRs (30d)
27

Description

The class documentation does have code to identify included and extended classes. However, prepended classes are not shown. See for example https://hexapdf.gettalong.org/documentation/reference/api/HexaPDF/Encryption/FastAES.html and https://github.com/gettalong/hexapdf/blob/master/lib/hexapdf/encryption/fast_aes.rb#L54

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by examining the class-documentation handling for included and extended classes, then compare its output with the example in lib/hexapdf/encryption/fast_aes.rb at line 54. Done means the generated class documentation also shows classes prepended with prepend, matching the existing include and extend behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
documentation
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.