src/source/conf.py
branchdoc-dc
changeset 56 60a1fbdbbed3
parent 55 949d496c4e96
child 61 cfb7276fdd33
equal deleted inserted replaced
55:949d496c4e96 56:60a1fbdbbed3
   105 # The language for content autogenerated by Sphinx. Refer to documentation
   105 # The language for content autogenerated by Sphinx. Refer to documentation
   106 # for a list of supported languages.
   106 # for a list of supported languages.
   107 #
   107 #
   108 # This is also used if you do content translation via gettext catalogs.
   108 # This is also used if you do content translation via gettext catalogs.
   109 # Usually you set "language" from the command line for these cases.
   109 # Usually you set "language" from the command line for these cases.
   110 language = None
   110 language = 'en'
   111 
   111 
   112 # List of patterns, relative to source directory, that match files and
   112 # List of patterns, relative to source directory, that match files and
   113 # directories to ignore when looking for source files.
   113 # directories to ignore when looking for source files.
   114 # This patterns also effect to html_static_path and html_extra_path
   114 # This patterns also effect to html_static_path and html_extra_path
   115 exclude_patterns = []
   115 exclude_patterns = []
   116 
   116 
   117 # The name of the Pygments (syntax highlighting) style to use.
   117 # The name of the Pygments (syntax highlighting) style to use.
   118 pygments_style = 'sphinx'
   118 pygments_style = 'sphinx'
   119 
   119 
       
   120 # The default language to highlight source code in.
       
   121 highlight_language = 'python3'
       
   122 
   120 # If true, `todo` and `todoList` produce output, else they produce nothing.
   123 # If true, `todo` and `todoList` produce output, else they produce nothing.
   121 todo_include_todos = False
   124 todo_include_todos = False
   122 
       
   123 
   125 
   124 # -- Options for HTML output ----------------------------------------------
   126 # -- Options for HTML output ----------------------------------------------
   125 
   127 
   126 # The theme to use for HTML and HTML Help pages.  See the documentation for
   128 # The theme to use for HTML and HTML Help pages.  See the documentation for
   127 # a list of builtin themes.
   129 # a list of builtin themes.
   239             return super(self.__class__, self).__doc__
   241             return super(self.__class__, self).__doc__
   240     FieldProperty.__doc__ = property(get_field_doc)
   242     FieldProperty.__doc__ = property(get_field_doc)
   241 
   243 
   242 
   244 
   243 def setup(app):
   245 def setup(app):
       
   246 
   244     app.add_stylesheet('css/custom.css')
   247     app.add_stylesheet('css/custom.css')
   245 
   248