Bug 198 – DDoc: superclass/interface decl expansion

Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2006-06-16T03:27:00Z
Last change time
2014-02-05T01:23:21Z
Keywords
ddoc
Assigned to
andrej.mitrovich
Creator
someidiot

Comments

Comment #0 by someidiot — 2006-06-16T03:27:32Z
would be very useful if the superclass/interface decls were each expanded as a symbol, and be a distinct symbol from the class decl. This would enable documentation to hyperlink components of the inheritance tree; particularly useful in conjunction with CandyDoc. For example: class Foo : Bar, IFoo, IWumpus would expand a DDOC_PSYMBOL for 'Foo' (as it does today), plus three DDOC_SUPER_SYMBOL for 'Bar' 'IFoo' and 'IWumpus'
Comment #1 by andrej.mitrovich — 2012-11-02T01:54:21Z
We could introduce DDOC_PSUPER_SYMBOL for base classes but also for enum base types. Can anyone chime in on whether this will be useful to have? I've got a pull ready if we're game.
Comment #2 by doob — 2012-11-02T11:03:34Z
I think this would be very useful.
Comment #3 by andrej.mitrovich — 2013-03-11T19:20:10Z
Comment #4 by github-bugzilla — 2014-02-05T00:57:19Z
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/525b35833090dc37be18077210425f996056ecf7 Fixes Issue 198 - Use new 'DDOC_PSUPER_SYMBOL' macro for base classes and enum base types https://github.com/D-Programming-Language/dmd/commit/96ae82a9afb9bda1a93b88dc21c2168e979c6b55 Merge pull request #1247 from AndrejMitrovic/Fix198 [enh] Issue 198 - Use new macro for base classes