Skip to content
Snippets Groups Projects
Select Git revision
  • cfd1773327fac76c9802a4561909e2d89210c75b
  • master default protected
2 results

conf.py

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    conf.py 1.13 KiB
    # Copyright (C) 2022 Savoir-faire Linux Inc.
    #
    # Copying and distribution of this file, with or without modification,
    # are permitted in any medium without royalty provided the copyright
    # notice and this notice are preserved.  This file is offered as-is,
    # without any warranty.
    
    # for a full list of Sphinx configuration options, see:
    # https://www.sphinx-doc.org/en/master/usage/configuration.html
    
    project = 'Jami'
    copyright = '2018-2022 Savoir-faire Linux Inc. and contributors'
    author = 'Savoir-faire Linux Inc. and contributors'
    
    extensions = [
        'myst_parser',
        'sphinx.ext.autosectionlabel',
    ]
    
    source_suffix = {
        '.rst': 'restructuredtext',
        '.md': 'markdown',
    }
    
    autosectionlabel_prefix_document = True
    autosectionlabel_maxdepth = 4
    
    templates_path = ['_templates']
    
    exclude_patterns = ['_build']
    
    html_theme = 'sphinx_rtd_theme'
    
    html_theme_options = {
        'navigation_depth': 3,
        'sticky_navigation': False,
        'collapse_navigation': False,
    }
    
    # paths containing custom static files
    # (copied after the builtin static files, so a "default.css"
    #  file there would overwrite the builtin "default.css")
    html_static_path = ['_static']