Skip to content

Commit

Permalink
put table of contents on its own page
Browse files Browse the repository at this point in the history
  • Loading branch information
dkg committed Nov 7, 2017
1 parent e8d8873 commit ed81f3d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,9 @@
# 'figure_align': 'htbp',
'sphinxsetup': 'verbatimhintsturnover=true',

# we will include the table of contents explicitly
'tableofcontents': '',

# the generated index was useless, hide it:
'printindex': '',
}
Expand Down
6 changes: 6 additions & 0 deletions doc/level1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ experiences as soon as possible.

.. contents::

.. raw:: latex

\newpage
\sphinxtableofcontents
\newpage

Overview
--------

Expand Down

0 comments on commit ed81f3d

Please sign in to comment.