RTD does not have a dynamic side bar, it is static, a dynamic side bar is
not possible with pure HTML. If you find a solution though please let me
know.

On Thu, Sep 27, 2018, 10:09 AM Tzach Livyatan <[email protected]> wrote:

> Hello
> I have a static navigation bar generated using the templates below.
> It works perfectly, but I'm looking for a dynamic menu, similar to the one
> used in readthedocs.
> Can anyone point me to an example I can use?
>
> Thanks
> Tzach
>
> What I have now:
>
> 1. layout.html
> <section id="content">
>     <div class="row">
>
>         <div class="large-9 large-push-3 columns">
>             {% block body %} {% endblock %}
>         </div>
>
>         <div id="sidebar" class="large-3 large-pull-9 columns">
>             {%- if sidebars != None %}
>             {%- for sidebartemplate in sidebars %}
>             {%- include sidebartemplate %}
>             {%- endfor %}
>             {%- endif %}
>         </div>
>
>     </div>
> </section>
>
>
>  2. side-nav.html
> <div class="side-nav">
> {{ toctree(includehidden=True,maxdepth=-1,titles_only=True) }}
> </div>
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "sphinx-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/sphinx-users.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to