changeset 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 85d2bbbb943e
children 7dfcfc96f533
files README doc/index.rst
diffstat 2 files changed, 21 insertions(+), 19 deletions(-) [+]
line wrap: on
line diff
--- a/README	Thu Mar 01 00:11:54 2018 +0100
+++ b/README	Thu Mar 01 00:12:19 2018 +0100
@@ -1,8 +1,7 @@
 .. -*- coding: utf-8; mode: rst; -*-
 
-===========
- ConfigMix
-===========
+README
+======
 
 :Author:   Franz Glasner
 :Version:  |release|	   
@@ -15,7 +14,7 @@
 
 
 Links
-=====
+-----
 
 Search for "yaml" on `PyPi`
 
--- 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`