src/source/conf.py
branchdev-dc
changeset 35 475ba5e42666
parent 27 4cddbff4269f
child 37 e7207459c429
equal deleted inserted replaced
34:f234f01d54f9 35:475ba5e42666
    15 
    15 
    16 # If extensions (or modules to document with autodoc) are in another directory,
    16 # If extensions (or modules to document with autodoc) are in another directory,
    17 # add these directories to sys.path here. If the directory is relative to the
    17 # add these directories to sys.path here. If the directory is relative to the
    18 # documentation root, use os.path.abspath to make it absolute, like shown here.
    18 # documentation root, use os.path.abspath to make it absolute, like shown here.
    19 #
    19 #
    20 # import sys
    20 import sys
    21 # sys.path.insert(0, '/var/local/env/pycharm/lib/python3.5/site-packages')
    21 #sys.path.insert(0, '/var/local/env/pycharm/lib/python3.5/site-packages')
       
    22 
       
    23 import os
       
    24 
       
    25 prefix_path = os.path.abspath('../../../') + os.path.sep
       
    26 sys.path[0:0] = list(map(lambda x: prefix_path + x,
       
    27                          [
       
    28                              'pyams_alchemy/src',
       
    29                              'pyams_cache/src',
       
    30                              'pyams_catalog/src',
       
    31                              'pyams_content/src',
       
    32                              'pyams_content_es/src',
       
    33                              'pyams_default_theme/src',
       
    34                              'pyams_file/src',
       
    35                              'pyams_form/src',
       
    36                              'pyams_gis/src',
       
    37                              'pyams_i18n/src',
       
    38                              'pyams_ldap/src',
       
    39                              'pyams_mail/src',
       
    40                              'pyams_media/src',
       
    41                              'pyams_notify/src',
       
    42                              'pyams_notify_ws/src',
       
    43                              'pyams_pagelet/src',
       
    44                              'pyams_portal/src',
       
    45                              'pyams_scheduler/src',
       
    46                              'pyams_security/src',
       
    47                              'pyams_sequence/src',
       
    48                              'pyams_skin/src',
       
    49                              'pyams_template/src',
       
    50                              'pyams_thesaurus/src',
       
    51                              'pyams_utils/src',
       
    52                              'pyams_viewlet/src',
       
    53                              'pyams_workflow/src',
       
    54                              'pyams_zmi/src',
       
    55                              'pyams_zmq/src',
       
    56                              'pyams_zodbbrowser/src',
       
    57                          ])
       
    58                      )
    22 
    59 
    23 # -- General configuration ------------------------------------------------
    60 # -- General configuration ------------------------------------------------
    24 
    61 
    25 # If your documentation needs a minimal Sphinx version, state it here.
    62 # If your documentation needs a minimal Sphinx version, state it here.
    26 #
    63 #