Generated file_view_hierarchy hitting line length limit
Opened this issue · 2 comments
Using exhale on a rather large project and the generated file_view_hierarchy.rst and sometimes class_view_hierarchy.rst files are hitting the line length. I think this is because the raw html in the rst is not split into multiple lines for the return statement.
<div id="class-treeView"></div>
<script type="text/javascript">
function getClassHierarchyTree() {
return [
{text: <<<< PROBLEMATIC LINE
]
}
</script><!-- end getClassHierarchyTree() function -->
Therefore when generating the library_root.rst it will not display the nice drop down for each.
Note: Using a bootstrap theme.
Using exhale on a rather large project
I'm sorry for your build times and delayed response 😶
I think this is because the raw html in the rst is not split into multiple lines for the return statement.
I confess, any html or js created by my project lacks any actual knowledge of either language.
exhale/testing/tests/configs_tree_view.py
Lines 107 to 113 in 58c6c77
If you set minifyTreeView
to False
does it produce something functional? I think that will make the page load time somewhat tragic, but exhale stumbles on large projects. It sounds like I need to do something differently? This should be fixable provided the rules are known 🙂
Setting minifyTreeView to False
removes the line-length-limit warning. The Class Hierarchy & File Hierarchy shows up in the docs.