exhale icon indicating copy to clipboard operation
exhale copied to clipboard

Generated file_view_hierarchy hitting line length limit

Open HarryMills-UL opened this issue 4 years ago • 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.

HarryMills-UL avatar Apr 09 '21 09:04 HarryMills-UL

Using exhale on a rather large project

I'm sorry for your build times and delayed response :no_mouth:

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.

https://github.com/svenevs/exhale/blob/58c6c771fe021d7487644a30c2575b3fcf1ae94b/testing/tests/configs_tree_view.py#L107-L113

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 :slightly_smiling_face:

svenevs avatar May 07 '21 09:05 svenevs

Setting minifyTreeView to False removes the line-length-limit warning. The Class Hierarchy & File Hierarchy shows up in the docs.

tempseptember avatar May 13 '23 20:05 tempseptember