Jason McVay wrote:
howdy all--
is there a way to dump all of class' docs (printed according to hierarchy) into a file?
With Squeak there almost always a way :-) The attached changeset has two ClassDescription methods which write class comments for a class and all of its subclasses into an html file. If you send this message to Object, the file will be large - mine is over 700K.
thanks all. I LOVE SQUEAK! jason
'From Squeak 2.4a of April 21, 1999 on 30 July 1999 at 10:34:28 am'!
!ClassDescription methodsFor: 'PASS' stamp: 'LPR 7/30/1999 10:29'! allCommentsOn: anHtmlFileStream self subclasses do: [:each | anHtmlFileStream command: 'h3'; nextPutAll: each name; command: '/h3'; cr; nextPutAll: each comment; command: 'blockquote'. each allCommentsOn: anHtmlFileStream. anHtmlFileStream command: '/blockquote']! !