Skip to content

Commit

Permalink
include getting started only for html output (avoid it for pdf.)
Browse files Browse the repository at this point in the history
  • Loading branch information
tito committed Aug 17, 2012
1 parent f762130 commit daeb188
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/sources/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

# Add any Sphinx extension module names here, as strings. They can be extensions
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = ['autodoc', 'sphinx.ext.todo', 'preprocess']
extensions = ['autodoc', 'sphinx.ext.todo', 'preprocess', 'sphinx.ext.ifconfig']

# Todo configuration
todo_include_todos = True
Expand Down
7 changes: 6 additions & 1 deletion doc/sources/contents.rst.inc
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,16 @@ and why you'd want to use it.
It goes on with a discussion of the architecture and shows you how to create
stunning applications in short time using the framework.
.. ifconfig:: format == 'html'
.. toctree::
:maxdepth: 1
gettingstarted/index
.. toctree::
:maxdepth: 2
gettingstarted/index
philosophy
installation/installation
guide-index
Expand Down

0 comments on commit daeb188

Please sign in to comment.