Permalink
Browse files

include getting started only for html output (avoid it for pdf.)

  • Loading branch information...
1 parent f762130 commit daeb1885ccb6069e73003fe57d1e9cf6cdfc3739 @tito tito committed Aug 17, 2012
Showing with 7 additions and 2 deletions.
  1. +1 −1 doc/sources/conf.py
  2. +6 −1 doc/sources/contents.rst.inc
View
@@ -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
@@ -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

0 comments on commit daeb188

Please sign in to comment.