Changeset 829 for branches/4.x


Ignore:
Timestamp:
Feb 6, 2016, 4:31:33 PM (4 years ago)
Author:
cito
Message:

Always use index.rst as master page

Implement the case distinction on the home page with ifconfig.

Location:
branches/4.x/docs
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.x/docs/conf.py

    r828 r829  
    9393    'community/bugtracker.rst', 'community/support.rst',
    9494    'community/homes.rst']
    95 if use_cloud_theme:
    96     # We use a naviagtion bar instead of the table of contents
    97     # and we include the about page on the index page.
    98     exclude_patterns += ['toc.rst', 'about.rst']
    99 else:
    100     exclude_patterns += ['index.rst']
    10195
    10296# The reST default role (used for this markup: `text`) for all documents.
  • branches/4.x/docs/index.rst

    r826 r829  
    44===================
    55
    6 .. toctree::
    7     :hidden:
     6.. ifconfig:: html_theme != 'cloud'
    87
    9     copyright
    10     announce
    11     download/index
    12     contents/index
    13     community/index
     8    .. toctree::
     9        :maxdepth: 2
    1410
    15 .. include:: about.txt
     11        about
     12        copyright
     13        announce
     14        download/index
     15        contents/index
     16        community/index
     17
     18.. ifconfig:: html_theme == 'cloud'
     19
     20    .. toctree::
     21        :hidden:
     22
     23        copyright
     24        announce
     25        download/index
     26        contents/index
     27        community/index
     28
     29    .. include:: about.txt
Note: See TracChangeset for help on using the changeset viewer.