mono-docs: Allow derived classes to have external examples
authorXavi Artigas <xavierartigas@yahoo.es>
Thu, 11 Apr 2019 10:40:21 +0000 (12:40 +0200)
committerShinwoo Kim <cinoo.kim@samsung.com>
Wed, 17 Apr 2019 01:20:03 +0000 (10:20 +0900)
commit7ddb0c17210f86428a088ed06ead36017bd71524
tree196803f07717a06b35ddc425f4438cd2ed42b85c
parent96d583fd67db91065f795f0bfb0a048a31a356a9
mono-docs: Allow derived classes to have external examples

Summary:
You can now have external example files for derived classes (Efl.Ui.Button.SetText)
as well as for base classes (Efl.IText.SetText).
If both files are present, both examples are embedded in the docs. The more
examples the better!

Examples for classes in-between the hierarchy (Efl.Ui.Widget.SetText) are not
picked up. Might be worth examining in the future.

Test Plan:
Create example files for both `Efl.Ui.Button.AutorepeatEnabled.cs` and `Efl.Ui.IAutorepeat.AutorepeatEnabled.cs`.
You should see both examples appearing in the docs.

Reviewers: lauromoura, vitor.sousa

Reviewed By: vitor.sousa

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8597
src/bin/eolian_mono/eolian/mono/documentation.hh
src/bin/eolian_mono/eolian/mono/generation_contexts.hh
src/bin/eolian_mono/eolian/mono/klass.hh