-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
The top template is the one that adds the header with the class name, and inserts the rendered comment.
Hence most subclasses follow this template:
buildMicroDownUsing: aBuilder withComment: aString
super buildMicroDownUsing: aBuilder withComment: aString.
self addSomeSectionOfRelevanceToSpecificClass: aBuilder
I suggest the implementation in Class
is changed to:
buildMicroDownUsing: aBuilder withComment: aString
aBuilder
header: [ aBuilder text: 'Class: '.
aBuilder text: self name ] withLevel: 1;
horizontalLine;
text: aString.
self addDocumentationSections: aBuilder "empty method at class level"
And these methods then follow the pattern of:
addDocumentationSections: aBuilder
super addDocumentationSections: aBuilder.
"Add more stuff using aBuilder"
Metadata
Metadata
Assignees
Labels
No labels