Changeset 1531

Show
Ignore:
Timestamp:
07/14/08 15:13:37 (5 months ago)
Author:
thijs
Message:

Adding template based on py2.6 docs

Location:
doc/trunk
Files:
17 added
1 removed
1 modified

Legend:

Unmodified
Added
Removed
  • doc/trunk/conf.py

    r1526 r1531  
    1212 
    1313import sys, os, time 
     14import pyamf 
     15sys.path.append(os.path.abspath('html')) 
    1416 
    1517# If your extensions are in another directory, add it here. If the directory 
     
    2123# --------------------- 
    2224 
    23 # Add any paths that contain templates here, relative to this directory. 
    24 templates_path = ['templates'] 
     25# Paths that contain templates, relative to this directory. 
     26templates_path = ['html'] 
    2527 
    2628# The suffix of source filenames. 
     
    2830 
    2931# The master toctree document. 
    30 master_doc = 'index' 
     32#master_doc = 'index' 
    3133 
    3234# Location of the PyAMF source root folder. 
     
    4850# We look for the __init__.py file in the current PyAMF source tree 
    4951# and replace the values accordingly. 
    50 import pyamf 
    51 version = release = '.'.join(map(lambda x: str(x), pyamf.__version__)) 
     52release = '.'.join(map(lambda x: str(x), pyamf.__version__)) 
     53version = release[:3] 
    5254 
    5355# There are two options for replacing |today|: either, you set today to some 
     
    8789#html_title = None 
    8890 
    89 # The name of an image file (within the static path) to place at the top of 
    90 # the sidebar. 
    91 #html_logo = None 
    92  
    9391# Add any paths that contain custom static files (such as style sheets) here, 
    9492# relative to this directory. They are copied after the builtin static files, 
    9593# so a file named "default.css" will overwrite the builtin "default.css". 
    96 html_static_path = ['_static'] 
     94html_static_path = ['html/static'] 
     95 
     96# The name of an image file (.ico) that is the favicon of the docs. 
     97html_favicon = 'pyamf.ico' 
    9798 
    9899# If not '', a 'Last updated on:' timestamp is inserted at every page bottom, 
     
    105106 
    106107# Custom sidebar templates, maps document names to template names. 
    107 #html_sidebars = {} 
     108html_sidebars = { 
     109    'index': 'indexsidebar.html', 
     110} 
    108111 
    109112# Additional templates that should be rendered to pages, maps page names to 
    110113# template names. 
    111 #html_additional_pages = {} 
     114html_additional_pages = { 
     115    'download': 'download.html', 
     116    'index': 'indexcontent.html', 
     117} 
     118 
     119# Content template for the index page, filename relative to this file. 
     120html_index = 'indexcontent.html' 
    112121 
    113122# If false, no module index is generated.