[prev in list] [next in list] [prev in thread] [next in thread] 

List:       doxygen-users
Subject:    Re: [Doxygen-users] 'navtree.js': With v1.7.6.1 - no full tree
From:       Avraham Makeler <amakeler () gmail ! com>
Date:       2012-01-08 11:26:56
Message-ID: CANWj4+VQdKs1XZQpRGx+7-in3JnWv+29SUx2TRbtEkdCbn59Cw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Ok I see it. It's in the updated section in 'customize.html' as you wrote
earlier - as summarized below. Ok - I will try to use that method next time.
---------------------------------------------------

>> You can also group tabs together in a custom group using a tab with type
"usergroup". The following example puts the above tabs in a user defined
group with title "My Group":

  <navindex>

    ...

    <tab type="usergroup" title="My Group">

      <tab type="user" url="http://www.google.com" title="Google"/>

      <tab type="user" url="@ref mypage" title="My Page"/>

    </tab>

    ...

  </navindex>


Great thanks,

-avraham


On Sun, Jan 8, 2012 at 10:54 AM, Avraham Makeler <amakeler@gmail.com> wrote:

> Hi Dimitri,
>
> Thanks for commenting on this.
>
>
> >> >>       [ "OpenNI Overview", "index.html", "index" ],
> >> >>       [ "Related Pages", "pages.html", "pages" ],
> >> >>       [ "Modules", "modules.html", "modules" ],
>
> >> Note also that with 1.7.6.1 you can remove top-level branches of the
> tree using a custom layout file.
>
>
> I need some of the pages (branches) from ['"Related Pages"], and then to
> move them somewhere else. I.e., to redesign the whole menu the way *I* want
> it to look, rather  than just based on the default with limited
> adding/deleting.
>
> >> If you depend on internal, undocumented files (which navtree.js is),
> you should be prepared to deal with unexpected changes.
>
>  :-)
>
> Is there a *documented* way of doing what I need to do ?
>
> Great thanks,
> avraham
>
>
>
>
>
>
> On Fri, Jan 6, 2012 at 6:43 PM, Dimitri Van Heesch <doxygen@gmail.com>wrote:
>
>> Hi Avraham,
>>
>> This is not a bug nor an accidental change. Here is the relevant entry in
>> the changelog:
>>
>> ----------------------
>> + CHG: To improve the performance of loading the navigation tree,
>>       the data is now split into multiple javascript files which
>>       are loaded dynamically.
>> ----------------------
>>
>> If you depend on internal, undocumented files (which navtree.js is), you
>> should be prepared to deal with unexpected changes.
>>
>> Note that you can still reconstruct the whole tree from the parts (as the
>> new navtree.js demonstrates).
>>
>> Note also that with 1.7.6.1 you can remove top-level branches of the tree
>> using a custom layout file.
>>
>> Regards,
>>  Dimitri
>>
>> On Jan 6, 2012, at 9:13 , Avraham Makeler wrote:
>>
>> > End of emergency. After trying out my older versions of the Doxyfile
>> files, which did not help, I tried going back to Doxygen version 1.7.5.1.
>> >
>> > That did it.
>> >
>> > It gave me back the *full tree* 'navtree.js' file.   :-))))))
>> > So now  I can easily edit it to build the menu tree I need and hide the
>> inappropriate items.
>> >
>> > (However  v1.7.6.1 did correctly read  the 'navtree.js' file from
>>  v1.7.5.1.)
>> >
>> > That was not a nice thing to happen just before I had to release a
>> suite of documents...
>> >
>> > BTW, I noticed that v1.7.5.1 does not produce the 'navtreeindex.js'
>> file I noticed from  generated by v1.7.6.1.
>> >
>> > BTW#2, if you give a Doxyfile from a newer version to an older version
>> Doxygen app, it quietly gives up without saying why.
>> >
>> > Anyway, so I will be sticking with v1.7.5.1 for the time being.
>> >
>> > Nice weekend to all.
>> >
>> > -avraham
>> >
>> >
>> >
>> > On Thu, Jan 5, 2012 at 3:13 PM, Avraham Makeler <amakeler@gmail.com>
>> wrote:
>> > Hi all,
>> >
>> > With v1.7.6.1, do you no longer get a *full tree* 'navtree.js' file to
>> customize your menus?
>> >
>> > That's what I used to use. It was critical.
>> >
>> > Now I just get a *short* 'navtree.js' file as below.
>> >
>> > There is now a navtreeindex.js file, which I never noticed before. Is
>> that new?  It seems to do the same as the previous *full tree* format in
>> the previous version of 'navtree.js' file, but the  *full tree*
>> 'navtree.js' file was very much easier to edit.
>> >  think the previous version of Doxygen I used was 1.7.5
>> >
>> > -avraham
>> >
>> >
>> > var NAVTREE =
>> > [
>> >   [ "1.5.2", "index.html", [
>> >     [ "OpenNI Overview", "index.html", "index" ],
>> >     [ "Related Pages", "pages.html", "pages" ],
>> >     [ "Modules", "modules.html", "modules" ],
>> >     [ "Namespaces", null, [
>> >       [ "Namespace List", "namespaces.html", "namespaces" ],
>> >       [ "Namespace Members", "namespacemembers.html", [
>> >         [ "All", "namespacemembers.html", null ],
>> >         [ "Functions", "namespacemembers_func.html", null ],
>> >         [ "Typedefs", "namespacemembers_type.html", null ]
>> >       ] ]
>> >     ] ],
>> >     [ "Classes", null, [
>> >       [ "Class List", "annotated.html", "annotated" ],
>> >       [ "Class Index", "classes.html", null ],
>> >       [ "Class Hierarchy", "hierarchy.html", "hierarchy" ],
>> >       [ "Class Members", "functions.html", [
>> >         [ "All", "functions.html", "functions_dup" ],
>> >         [ "Functions", "functions_func.html", "functions_func" ],
>> >         [ "Variables", "functions_vars.html", "functions_vars" ],
>> >         [ "Typedefs", "functions_type.html", null ],
>> >         [ "Enumerator", "functions_eval.html", null ],
>> >         [ "Related Functions", "functions_rela.html", null ]
>> >       ] ]
>> >     ] ],
>> >     [ "Files", null, [
>> >       [ "File List", "files.html", "files" ],
>> >       [ "File Members", "globals.html", [
>> >         [ "All", "globals.html", "globals_dup" ],
>> >         [ "Functions", "globals_func.html", "globals_func" ],
>> >         [ "Variables", "globals_vars.html", null ],
>> >         [ "Typedefs", "globals_type.html", null ],
>> >         [ "Enumerations", "globals_enum.html", null ],
>> >         [ "Enumerator", "globals_eval.html", null ],
>> >         [ "Defines", "globals_defs.html", "globals_defs" ]
>> >       ] ]
>> >     ] ]
>> >   ] ]
>> > ];
>> >
>> >
>> >
>>
>


-- 
Regards,

avraham
~~~~~~~~~
(+972) (0)54-3084886


"Mercy on all, coz everyone's fighting some sort of battle"

[Attachment #5 (text/html)]

<div dir="ltr"><div style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><br></div><div \
style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Ok \
I see it. It&#39;s in the updated section in &#39;customize.html&#39; as you wrote \
earlier - as summarized below. Ok - I will try to use that method next time.</div> \
<div style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">---------------------------------------------------</div><div \
style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
 <br></div><div style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">&gt;&gt; \
You can also group tabs together in a custom group using a tab with type \
&quot;usergroup&quot;. The following example puts the above tabs in a user defined \
group with title &quot;My Group&quot;:</div> <blockquote style="margin:0 0 0 \
40px;border:none;padding:0px"><div \
style="font-family:arial,sans-serif;background-color:rgb(255,255,255)"><div><pre \
style="white-space:pre-wrap"><font size="1">  &lt;navindex&gt;</font></pre> \
</div></div><div style="font-family:arial,sans-serif;background-color:rgb(255,255,255)"><div><pre \
style="white-space:pre-wrap"><font size="1">    ...</font></pre></div></div><div \
style="font-family:arial,sans-serif;background-color:rgb(255,255,255)"> <div><pre \
style="white-space:pre-wrap"><font size="1">    &lt;tab type=&quot;usergroup&quot; \
title=&quot;My Group&quot;&gt;</font></pre></div></div><div \
style="font-family:arial,sans-serif;background-color:rgb(255,255,255)"> <div><pre \
style="white-space:pre-wrap"><font size="1">      &lt;tab type=&quot;user&quot; \
url=&quot;<a href="http://www.google.com/" target="_blank" \
style="color:rgb(42,93,176)">http://www.google.com</a>&quot; \
title=&quot;Google&quot;/&gt;</font></pre> </div></div><div \
style="font-family:arial,sans-serif;background-color:rgb(255,255,255)"><div><pre \
style="white-space:pre-wrap"><font size="1">      &lt;tab type=&quot;user&quot; \
url=&quot;@ref mypage&quot; title=&quot;My Page&quot;/&gt;</font></pre> \
</div></div><div style="font-family:arial,sans-serif;background-color:rgb(255,255,255)"><div><pre \
style="white-space:pre-wrap"><font size="1">    \
&lt;/tab&gt;</font></pre></div></div><div \
style="font-family:arial,sans-serif;background-color:rgb(255,255,255)"> <div><pre \
style="white-space:pre-wrap"><font size="1">    ...</font></pre></div></div><div \
style="font-family:arial,sans-serif;background-color:rgb(255,255,255)"><div><pre \
style="white-space:pre-wrap"><font size="1">  &lt;/navindex&gt;</font></pre> \
</div></div></blockquote><div><br></div>Great \
thanks,<div><br></div><div>-avraham</div><div><br></div><div><br><div \
class="gmail_quote">On Sun, Jan 8, 2012 at 10:54 AM, Avraham Makeler <span \
dir="ltr">&lt;<a href="mailto:amakeler@gmail.com">amakeler@gmail.com</a>&gt;</span> \
wrote:<br> <blockquote class="gmail_quote" \
style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left \
-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div \
dir="ltr"> <span style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Hi \
Dimitri,</span><div><font face="arial, sans-serif"><br></font></div><div><font \
face="arial, sans-serif">Thanks for commenting on this.</font></div>

<blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div \
class="im"><div><font face="arial, sans-serif" size="1"><br></font></div><div><span \
style="font-size:x-small">&gt;&gt; &gt;&gt;       [ &quot;OpenNI Overview&quot;, \
&quot;index.html&quot;, &quot;index&quot; ],</span></div>

<font size="1">&gt;&gt; &gt;&gt;       [ &quot;Related Pages&quot;, \
&quot;pages.html&quot;, &quot;pages&quot; ],<br></font><font size="1">&gt;&gt; \
&gt;&gt;       [ &quot;Modules&quot;, &quot;modules.html&quot;, &quot;modules&quot; \
],</font><div>

<font size="1"><br></font></div></div><div class="im"><div><font size="1">&gt;&gt; \
Note also that with 1.7.6.1 you can remove top-level branches of the tree using a \
custom layout file.</font></div></div></blockquote><div> <br></div>I need some of the \
pages (branches) from [&#39;&quot;Related Pages&quot;], and then to move them \
somewhere else. I.e., to redesign the whole menu the way *I* want it to look, rather  \
than just based on the default with limited adding/deleting.<div class="im"> <div>
<br></div><div><span \
style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">&gt;&gt; \
If you depend on internal, undocumented files (which navtree.js is), you should be \
prepared to deal with unexpected changes.</span> </div>

<div><br></div></div><div> :-)</div><div><br></div><div>Is there a *<span \
style="background-color:rgb(255,255,255);font-family:arial,sans-serif;font-size:13px">documented* \
</span>way of doing what I need to do ?</div><div> <br></div>
<div>Great thanks,</div><div>avraham</div><div><div></div><div \
class="h5"><div><br></div><div><br></div><div><div><br></div><div><br></div><div><font \
face="arial, sans-serif"><br></font><br><div class="gmail_quote">On Fri, Jan 6, 2012 \
at 6:43 PM, Dimitri Van Heesch <span dir="ltr">&lt;<a href="mailto:doxygen@gmail.com" \
target="_blank">doxygen@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" \
style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left \
-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi \
Avraham,<br>


<br>
This is not a bug nor an accidental change. Here is the relevant entry in the \
changelog:<br> <br>
----------------------<br>
+ CHG: To improve the performance of loading the navigation tree,<br>
       the data is now split into multiple javascript files which<br>
       are loaded dynamically.<br>
----------------------<br>
<br>
If you depend on internal, undocumented files (which navtree.js is), you should be \
prepared to deal with unexpected changes.<br> <br>
Note that you can still reconstruct the whole tree from the parts (as the new \
navtree.js demonstrates).<br> <br>
Note also that with 1.7.6.1 you can remove top-level branches of the tree using a \
custom layout file.<br> <br>
Regards,<br>
  Dimitri<br>
<div><div></div><div><br>
On Jan 6, 2012, at 9:13 , Avraham Makeler wrote:<br>
<br>
&gt; End of emergency. After trying out my older versions of the Doxyfile files, \
which did not help, I tried going back to Doxygen version 1.7.5.1.<br> &gt;<br>
&gt; That did it.<br>
&gt;<br>
&gt; It gave me back the *full tree* &#39;navtree.js&#39; file.   :-))))))<br>
&gt; So now  I can easily edit it to build the menu tree I need and hide the \
inappropriate items.<br> &gt;<br>
&gt; (However  v1.7.6.1 did correctly read  the &#39;navtree.js&#39; file from  \
v1.7.5.1.)<br> &gt;<br>
&gt; That was not a nice thing to happen just before I had to release a suite of \
documents...<br> &gt;<br>
&gt; BTW, I noticed that v1.7.5.1 does not produce the &#39;navtreeindex.js&#39; file \
I noticed from  generated by v1.7.6.1.<br> &gt;<br>
&gt; BTW#2, if you give a Doxyfile from a newer version to an older version Doxygen \
app, it quietly gives up without saying why.<br> &gt;<br>
&gt; Anyway, so I will be sticking with v1.7.5.1 for the time being.<br>
&gt;<br>
&gt; Nice weekend to all.<br>
&gt;<br>
&gt; -avraham<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Thu, Jan 5, 2012 at 3:13 PM, Avraham Makeler &lt;<a \
href="mailto:amakeler@gmail.com" target="_blank">amakeler@gmail.com</a>&gt; \
wrote:<br> &gt; Hi all,<br>
&gt;<br>
&gt; With v1.7.6.1, do you no longer get a *full tree* &#39;navtree.js&#39; file to \
customize your menus?<br> &gt;<br>
&gt; That&#39;s what I used to use. It was critical.<br>
&gt;<br>
&gt; Now I just get a *short* &#39;navtree.js&#39; file as below.<br>
&gt;<br>
&gt; There is now a navtreeindex.js file, which I never noticed before. Is that new?  \
It seems to do the same as the previous *full tree* format in the previous version of \
&#39;navtree.js&#39; file, but the  *full tree* &#39;navtree.js&#39; file was very \
much easier to edit.<br>


&gt;  think the previous version of Doxygen I used was 1.7.5<br>
&gt;<br>
&gt; -avraham<br>
&gt;<br>
&gt;<br>
&gt; var NAVTREE =<br>
&gt; [<br>
&gt;   [ &quot;1.5.2&quot;, &quot;index.html&quot;, [<br>
&gt;     [ &quot;OpenNI Overview&quot;, &quot;index.html&quot;, &quot;index&quot; \
],<br> &gt;     [ &quot;Related Pages&quot;, &quot;pages.html&quot;, \
&quot;pages&quot; ],<br> &gt;     [ &quot;Modules&quot;, &quot;modules.html&quot;, \
&quot;modules&quot; ],<br> &gt;     [ &quot;Namespaces&quot;, null, [<br>
&gt;       [ &quot;Namespace List&quot;, &quot;namespaces.html&quot;, \
&quot;namespaces&quot; ],<br> &gt;       [ &quot;Namespace Members&quot;, \
&quot;namespacemembers.html&quot;, [<br> &gt;         [ &quot;All&quot;, \
&quot;namespacemembers.html&quot;, null ],<br> &gt;         [ &quot;Functions&quot;, \
&quot;namespacemembers_func.html&quot;, null ],<br> &gt;         [ \
&quot;Typedefs&quot;, &quot;namespacemembers_type.html&quot;, null ]<br> &gt;       ] \
]<br> &gt;     ] ],<br>
&gt;     [ &quot;Classes&quot;, null, [<br>
&gt;       [ &quot;Class List&quot;, &quot;annotated.html&quot;, \
&quot;annotated&quot; ],<br> &gt;       [ &quot;Class Index&quot;, \
&quot;classes.html&quot;, null ],<br> &gt;       [ &quot;Class Hierarchy&quot;, \
&quot;hierarchy.html&quot;, &quot;hierarchy&quot; ],<br> &gt;       [ &quot;Class \
Members&quot;, &quot;functions.html&quot;, [<br> &gt;         [ &quot;All&quot;, \
&quot;functions.html&quot;, &quot;functions_dup&quot; ],<br> &gt;         [ \
&quot;Functions&quot;, &quot;functions_func.html&quot;, &quot;functions_func&quot; \
],<br> &gt;         [ &quot;Variables&quot;, &quot;functions_vars.html&quot;, \
&quot;functions_vars&quot; ],<br> &gt;         [ &quot;Typedefs&quot;, \
&quot;functions_type.html&quot;, null ],<br> &gt;         [ &quot;Enumerator&quot;, \
&quot;functions_eval.html&quot;, null ],<br> &gt;         [ &quot;Related \
Functions&quot;, &quot;functions_rela.html&quot;, null ]<br> &gt;       ] ]<br>
&gt;     ] ],<br>
&gt;     [ &quot;Files&quot;, null, [<br>
&gt;       [ &quot;File List&quot;, &quot;files.html&quot;, &quot;files&quot; ],<br>
&gt;       [ &quot;File Members&quot;, &quot;globals.html&quot;, [<br>
&gt;         [ &quot;All&quot;, &quot;globals.html&quot;, &quot;globals_dup&quot; \
],<br> &gt;         [ &quot;Functions&quot;, &quot;globals_func.html&quot;, \
&quot;globals_func&quot; ],<br> &gt;         [ &quot;Variables&quot;, \
&quot;globals_vars.html&quot;, null ],<br> &gt;         [ &quot;Typedefs&quot;, \
&quot;globals_type.html&quot;, null ],<br> &gt;         [ &quot;Enumerations&quot;, \
&quot;globals_enum.html&quot;, null ],<br> &gt;         [ &quot;Enumerator&quot;, \
&quot;globals_eval.html&quot;, null ],<br> &gt;         [ &quot;Defines&quot;, \
&quot;globals_defs.html&quot;, &quot;globals_defs&quot; ]<br> &gt;       ] ]<br>
&gt;     ] ]<br>
&gt;   ] ]<br>
&gt; ];<br>
&gt;<br>
&gt;<br>
&gt;</div></div></blockquote></div>
</div></div></div></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div \
dir="ltr">Regards,<br><br>avraham<br>~~~~~~~~~<br>(+972) \
(0)54-3084886<br><br><br>&quot;Mercy on all, coz everyone&#39;s fighting some sort of \
battle&quot;</div> <br>
</div></div>



------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox

_______________________________________________
Doxygen-users mailing list
Doxygen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/doxygen-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic