Jose Guzman wrote:
> Hi everybody!
>
> I have almost finished to build the different blocks of the html 
> documentation for my software with template following the recommendation 
> of this group. Thank you!!!
>
> There is a problem, though. When I click on "manual" (see main page 
> http://stfdoc.neurohost.org and manual page in 
> http://stfdoc.neurohost.org/manual/index.html) the table of contents 
> does not appear on the left. However, If you click on "TOC" (up), you 
> can see it  . Is there any way to avoid the TOC in the left side of the 
> main document, but to show them in the different documentation pages?.
>
> Should I install something or modify the layout.html document?
>
> Thank very much in advance for your help.
>
> Jose.
> h
>
> This is what I have in layout:
>
> {% extends "!layout.html" %}
>
> {# put the sidebar before the body #}
> {% block sidebar1 %}{{ sidebar() }}{% endblock %}
> {% block sidebar2 %}{% endblock %}
>
> {# update static links in the relbar #}
> {% block rootrellink %}
> <li><a href={{ pathto('index') }}>Stf documentation</a> |&nbsp;</li>
> <li><a href={{ pathto(master_doc) }}>TOC </a> |&nbsp;</li>
> <li><a href={{ pathto('search') }}>Search </a></li>
> {% endblock %}
>
>   
Ok, I found it, just in case somebody had the same problem....edit in 
.layout.html and add the line:

{{ sidebar() }}





--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to