The rst code in index.rst page is:
--------------------------------------------------------------
Developers guide
################

Application overview
---------------------

.. toctree::
   :maxdepth: 1

   dev_manual_overview
   dev_manual_integration_layer
   dev_manual_scene_data
   dev_manual_gui_system
   dev_manual_opengl_notes

Coding style, rules and environment
------------------------------------

.. toctree::
   :maxdepth: 1

   dev_manual_environment
   dev_manual_obtain_source

Writing plugins
----------------

.. toctree::
   :maxdepth: 1

   dev_manual_plugins
   dev_manual_gui
   dev_manual_morph_target
   dev_manual_undo_redo
   dev_manual_meshes
   dev_manual_camera
   dev_manual_gui_controls
   dev_manual_layout_guidelines
   dev_manual_asynchronous

Modules
#######

.. toctree::
   :maxdepth: 1

   module_aljabr
   module_animation3d
   module_events3d
   module_font3d
   module_geometry3d
   module_gui3d
   module_module3d

-----------------------------------------------------------

The Sphinx code in layout.html is:

{%- if display_toc %}
  <h3><a href="{{ pathto(master_doc) }}">{{ _('Table Of Contents') }}</
a></h3>
  {{ toc }}
{%- endif %}

and the result is:

-------------------------------------------------------------------------
  <h3><a href="#">Table Of Contents</a></h3>
  <ul>
<li><a class="reference internal" href="#">Welcome to MakeHuman
documentation</a><ul>
<li><a class="reference internal" href="#developers-guide">Developers
guide</a><ul>
<li><a class="reference internal" href="#application-
overview">Application overview</a><ul>
</ul>
</li>
<li><a class="reference internal" href="#coding-style-rules-and-
environment">Coding style, rules and environment</a><ul>
</ul>

</li>
<li><a class="reference internal" href="#writing-plugins">Writing
plugins</a><ul>
</ul>
</li>
</ul>
</li>
<li><a class="reference internal" href="#modules">Modules</a><ul>
</ul>
</li>
<li><a class="reference internal" href="#doc-writers-guide">Doc
Writers Guide</a><ul>
</ul>
</li>
</ul>
</li>

<li><a class="reference internal" href="#indices-and-tables">Indices
and tables</a></li>
</ul>

----------------------------------------

This is weird.
I think, for example, that:

  <ul>
<li><a class="reference internal" href="#">Welcome to MakeHuman
documentation</a><ul>
<li><a class="reference internal" href="#developers-guide">Developers
guide</a><ul>
<li><a class="reference internal" href="#application-
overview">Application overview</a><ul>
</ul>

should be:

  <ul>
<li><a class="reference internal" href="#">Welcome to MakeHuman
documentation</a></li>
<li><a class="reference internal" href="#developers-guide">Developers
guide</a></li>
<li><a class="reference internal" href="#application-
overview">Application overview</a></li>
</ul>

----------------------------------------------

Using latest sphinx with python 2.6.

Best,

Manuel

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

Reply via email to