Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Do not create collaboration diagrams in doxygen docs
The diagrams do not really add much value and do not highlight the important concepts of classes, confusing the user and making things looks more complicated than they are
- Loading branch information
8d598d4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@wonder-sk This was a great move. On the same topic, do you think we could remove the "References"/"Referenced by" sections from the API docs? IMO these clutter the api docs and again make the api seem MUCH more complicated than it is. They are only useful for QGIS devs (not plugin devs), and I suspect most devs would be using QtCreator or a similar IDE which would show this information anyway.
8d598d4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@wonder-sk ditto for private slots/private functions/private attributes...
8d598d4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nyalldawson Good idea, I'm removing those too...
8d598d4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@wonder-sk what about the "Definition at " - can we strip that too?
8d598d4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nyalldawson I think so - removed too. The docs look much better now!
8d598d4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@wonder-sk thanks! I totally agree... Simplifying the appearance of the docs is a huge step forward in usability.
8d598d4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sniff - I actually like and use those diagrams a lot....
8d598d4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(not saying you have to bring them back though because I am probably some sort of minority...)
8d598d4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@timlinux Hm... Do you like inheritance [1] or collaboration [2] diagrams? Because I have removed just the latter ones which were in most cases producing images without much sense - like [2] for QgsVectorLayer
[1] http://qgis.org/api/2.0/classQgsVectorLayer__inherit__graph.png
[2] http://qgis.org/api/2.0/classQgsVectorLayer__coll__graph.png
8d598d4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah I kinda referred to them both a lot - but no worries I agree they probably get a bit overwhelming.