Skip to content

Commit

Permalink
Fix order of text in generated .pdf file (#323)
Browse files Browse the repository at this point in the history
* Fix order of text in generated .pdf file

Currently, in the generated .pdf file, the toctree gets expanded before the reader's guide of the Getting Started chapter (i.e. the reader's guide ends up on pp. 18 and 19)

* docs: move toctree directive to avoid ordering issue in pdf
  • Loading branch information
rogererens authored and MatthieuDartiailh committed Nov 8, 2018
1 parent e8600d0 commit e10abb3
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 19 deletions.
18 changes: 9 additions & 9 deletions docs/source/dev_guides/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,6 @@ variety of topics ranging from language features and syntax rules to
application development and best practices. For the implementation details of
the framework see the :ref:`arch_ref`.

.. toctree::
:hidden:

stylesheets
languagebasedtools
workbenches

.. This simply prevents the :doc: to create entries in the sidebar
.. container::

Expand All @@ -36,6 +29,13 @@ the framework see the :ref:`arch_ref`.
.. rubric:: :doc:`workbenches`

Enaml Workbenches provide a set of low-level components which can
be used to develop high-level plugin applications. Workbenches
enable the developer to write large UI applications which can be
be used to develop high-level plugin applications. Workbenches
enable the developer to write large UI applications which can be
*safely extended at runtime* by other developers.

.. toctree::
:hidden:

stylesheets
languagebasedtools
workbenches
21 changes: 11 additions & 10 deletions docs/source/get_started/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,6 @@ When you are comfortable with the topics here, have a look at the
:ref:`dev_guides` for in-depth articles about developing with the framework.


.. toctree::
:titlesonly:
:hidden:

introduction
installation
anatomy
syntax
layout

.. This simply prevents the :doc: to create entries in the sidebar
.. container::

Expand Down Expand Up @@ -59,3 +49,14 @@ When you are comfortable with the topics here, have a look at the
become tedious for all but the simplest of cases. Enaml sheds the
status quo and provides a flexible layout system which uses symbolic
constraints. This section covers the basics of constraints layout.


.. toctree::
:titlesonly:
:hidden:

introduction
installation
anatomy
syntax
layout

0 comments on commit e10abb3

Please sign in to comment.