src/source/conf.py
changeset 53 05a4f2c07b84
parent 50 6ed429390935
child 55 949d496c4e96
equal deleted inserted replaced
46:5fe8d5ffccde 53:05a4f2c07b84
    67 # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
    67 # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
    68 # ones.
    68 # ones.
    69 extensions = [
    69 extensions = [
    70     'sphinx.ext.autodoc',
    70     'sphinx.ext.autodoc',
    71     'sphinx.ext.todo',
    71     'sphinx.ext.todo',
    72     'sphinx.ext.coverage',
    72     #'sphinx.ext.coverage',
    73     'sphinx.ext.viewcode'
    73     'sphinx.ext.viewcode',
    74 ]
    74     'repoze.sphinx.autointerface',
       
    75 ]
       
    76 
       
    77 autoclass_content = 'both'
    75 
    78 
    76 # Add any paths that contain templates here, relative to this directory.
    79 # Add any paths that contain templates here, relative to this directory.
    77 templates_path = ['_templates']
    80 templates_path = ['_templates']
    78 
    81 
    79 # The suffix(es) of source filenames.
    82 # The suffix(es) of source filenames.
   233         elif field.title:
   236         elif field.title:
   234             return field.title
   237             return field.title
   235         else:
   238         else:
   236             return super(self.__class__, self).__doc__
   239             return super(self.__class__, self).__doc__
   237     FieldProperty.__doc__ = property(get_field_doc)
   240     FieldProperty.__doc__ = property(get_field_doc)
       
   241 
       
   242 
       
   243 def setup(app):
       
   244     app.add_stylesheet('css/custom.css')
       
   245