Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generated file_view_hierarchy hitting line length limit #107

Open
HarryMills-UL opened this issue Apr 9, 2021 · 2 comments
Open

Generated file_view_hierarchy hitting line length limit #107

HarryMills-UL opened this issue Apr 9, 2021 · 2 comments
Labels

Comments

@HarryMills-UL
Copy link

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.

@svenevs svenevs added the bug label May 7, 2021
@svenevs
Copy link
Owner

svenevs commented May 7, 2021

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.

function getClassHierarchyTree() {
return [
{
text: "<span class=\"text-muted\">Namespace</span> nested",
href: "namespace_nested.html#namespace-nested",
selectable: false,
tags: ['4'],

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 🙂

@tempseptember
Copy link

tempseptember commented May 13, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants