diff options
author | Daniel Kolesa <d.kolesa@osg.samsung.com> | 2016-08-02 17:35:14 +0100 |
---|---|---|
committer | Daniel Kolesa <d.kolesa@osg.samsung.com> | 2016-08-02 17:35:14 +0100 |
commit | a43fda4ddc3cb3367e300b7fe2be2b20eac07073 (patch) | |
tree | 1e77c0d132368d3dde301109b9f0a3eb45d0b960 /src | |
parent | e540a9864be5058bdfd93cdd4529e8589304e438 (diff) |
docs: put graph before hierarchy
Diffstat (limited to 'src')
-rw-r--r-- | src/scripts/elua/apps/gendoc.lua | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/scripts/elua/apps/gendoc.lua b/src/scripts/elua/apps/gendoc.lua index eee105eb92..cf63b1b9bc 100644 --- a/src/scripts/elua/apps/gendoc.lua +++ b/src/scripts/elua/apps/gendoc.lua | |||
@@ -734,9 +734,6 @@ local build_class = function(cl) | |||
734 | f:write_h(cl:full_name_get(), 2) | 734 | f:write_h(cl:full_name_get(), 2) |
735 | keyref.add(cl:full_name_get():gsub("%.", "_"), "c") | 735 | keyref.add(cl:full_name_get():gsub("%.", "_"), "c") |
736 | 736 | ||
737 | f:write_h("Inheritance hierarchy", 3) | ||
738 | f:write_list(build_inherits(cl)) | ||
739 | f:write_nl() | ||
740 | if use_dot then | 737 | if use_dot then |
741 | if use_folded then | 738 | if use_folded then |
742 | f:write_raw("++++ Inheritance graph |\n\n") | 739 | f:write_raw("++++ Inheritance graph |\n\n") |
@@ -748,6 +745,10 @@ local build_class = function(cl) | |||
748 | f:write_nl(2) | 745 | f:write_nl(2) |
749 | end | 746 | end |
750 | 747 | ||
748 | f:write_h("Inheritance hierarchy", 3) | ||
749 | f:write_list(build_inherits(cl)) | ||
750 | f:write_nl() | ||
751 | |||
751 | f:write_h("Description", 3) | 752 | f:write_h("Description", 3) |
752 | write_full_doc(f, cl:documentation_get()) | 753 | write_full_doc(f, cl:documentation_get()) |
753 | f:write_nl(2) | 754 | f:write_nl(2) |