Changeset 1665:9608dd9c7656 in orange-bioinformatics for docs/rst/conf.py


Ignore:
Timestamp:
05/21/12 16:02:46 (2 years ago)
Author:
mitar
Branch:
default
Message:

Unifying documentation.

File:
1 moved

Legend:

Unmodified
Added
Removed
  • docs/rst/conf.py

    r1662 r1665  
    1212 
    1313import imp 
    14 module_setup = imp.load_source('module_setup', os.path.join(os.path.dirname(__file__), '..', '..', '..', 'setup.py')) 
     14module_setup = imp.load_source('module_setup', os.path.join(os.path.dirname(__file__), '..', '..', 'setup.py')) 
    1515VERSION = module_setup.VERSION 
    1616AUTHOR = module_setup.AUTHOR 
    1717NAME = module_setup.NAME 
    1818 
    19 DOCUMENTATION_TYPE = "Widgets" 
    20  
    21 TITLE = "%s %s v%s documentation" % (NAME, DOCUMENTATION_TYPE, VERSION) 
     19TITLE = "%s v%s documentation" % (NAME, VERSION) 
    2220 
    2321# If extensions (or modules to document with autodoc) are in another directory, 
     
    172170 
    173171# Output file base name for HTML help builder. 
    174 htmlhelp_basename = DOCUMENTATION_TYPE.lower().replace(' ', '') 
     172htmlhelp_basename = 'addon' 
    175173 
    176174 
     
    186184# (source start file, target name, title, author, documentclass [howto/manual]). 
    187185latex_documents = [ 
    188   ('index', '%s.tex' % (DOCUMENTATION_TYPE.lower().replace(' ', ''),), html_title, 
     186  ('index', 'addon.tex', html_title, 
    189187   copyright, 'manual'), 
    190188] 
     
    218216# (source start file, name, description, authors, manual section). 
    219217man_pages = [ 
    220     ('index', DOCUMENTATION_TYPE.lower().replace(' ', ''), TITLE, 
     218    ('index', 'addon', TITLE, 
    221219     [AUTHOR], 1) 
    222220] 
Note: See TracChangeset for help on using the changeset viewer.