# Project information project = "Suil" copyright = "2020, David Robillard" author = "David Robillard" release = "@SUIL_VERSION@" # General configuration exclude_patterns = ["xml"] language = "en" nitpicky = True pygments_style = "friendly" # Ignore everything opaque or external for nitpicky mode nitpicky = True _opaque = [ "LV2_Feature", "SuilHostImpl", "SuilInstanceImpl", "uint32_t", ] nitpick_ignore = list(map(lambda x: ("c:identifier", x), _opaque)) # HTML output html_theme = "sphinx_lv2_theme" html_copy_source = False html_short_title = "Suil" if tags.has("singlehtml"): html_sidebars = { "**": [ "globaltoc.html", ] } html_theme_options = { "body_max_width": "48em", "body_min_width": "48em", "description": "A library for loading LV2 plugin UIs", "globaltoc_collapse": False, "globaltoc_maxdepth": 3, "logo_name": True, "nosidebar": False, "page_width": "80em", "show_footer_version": True, "show_logo_version": False, "sidebar_width": "18em", } else: html_theme_options = { "body_max_width": "60em", "body_min_width": "40em", "description": "A library for loading LV2 plugin UIs", "globaltoc_collapse": True, "globaltoc_maxdepth": 1, "logo_name": True, "nosidebar": True, "page_width": "60em", "show_footer_version": True, "show_logo_version": False, "sidebar_width": "14em", }