diff doc/index.rst @ 62:617aa948e155

Proper layout for HTML and LaTeX output
author Franz Glasner <hg@dom66.de>
date Thu, 01 Mar 2018 00:12:19 +0100
parents 95034b28f285
children e78f307f81a0
line wrap: on
line diff
--- a/doc/index.rst	Thu Mar 01 00:11:54 2018 +0100
+++ b/doc/index.rst	Thu Mar 01 00:12:19 2018 +0100
@@ -5,29 +5,32 @@
    You can adapt this file completely to your liking, but it should at least
    contain the root `toctree` directive.
 
-
-.. include:: ../README
-
-License
-=======
+===========
+ ConfigMix
+===========
 
-.. literalinclude:: ../LICENSE
-   :language: none
+.. only:: builder_html
 
-
-Contents
-========
+   This is the documentation of the :mod:`configmix` package, a
+   library for helping with configuration files.
 
 .. toctree::
-   :maxdepth: 2
+   :maxdepth: 3
 
+   readme
+   license
    apidoc
 
 
-
 Indices and tables
 ==================
 
-* :ref:`genindex`
-* :ref:`modindex`
-* :ref:`search`
+.. only:: builder_html
+
+   * :ref:`genindex`
+   * :ref:`modindex`
+   * :ref:`search`
+
+.. only:: not builder_html
+
+   * :ref:`modindex`