1bf215546Sopenharmony_ci#!/usr/bin/env python3 2bf215546Sopenharmony_ci# -*- coding: utf-8 -*- 3bf215546Sopenharmony_ci 4bf215546Sopenharmony_ciimport sphinx_rtd_theme 5bf215546Sopenharmony_ci 6bf215546Sopenharmony_ci# 7bf215546Sopenharmony_ci# The Mesa 3D Graphics Library documentation build configuration file, created by 8bf215546Sopenharmony_ci# sphinx-quickstart on Wed Mar 29 14:08:51 2017. 9bf215546Sopenharmony_ci# 10bf215546Sopenharmony_ci# This file is execfile()d with the current directory set to its 11bf215546Sopenharmony_ci# containing dir. 12bf215546Sopenharmony_ci# 13bf215546Sopenharmony_ci# Note that not all possible configuration values are present in this 14bf215546Sopenharmony_ci# autogenerated file. 15bf215546Sopenharmony_ci# 16bf215546Sopenharmony_ci# All configuration values have a default; values that are commented out 17bf215546Sopenharmony_ci# serve to show the default. 18bf215546Sopenharmony_ci 19bf215546Sopenharmony_ci# If extensions (or modules to document with autodoc) are in another directory, 20bf215546Sopenharmony_ci# add these directories to sys.path here. If the directory is relative to the 21bf215546Sopenharmony_ci# documentation root, use os.path.abspath to make it absolute, like shown here. 22bf215546Sopenharmony_ci# 23bf215546Sopenharmony_ciimport os 24bf215546Sopenharmony_ciimport sys 25bf215546Sopenharmony_ci 26bf215546Sopenharmony_ci# If extensions (or modules to document with autodoc) are in another directory, 27bf215546Sopenharmony_ci# add these directories to sys.path here. If the directory is relative to the 28bf215546Sopenharmony_ci# documentation root, use os.path.abspath to make it absolute, like shown here. 29bf215546Sopenharmony_cisys.path.append(os.path.abspath('_exts')) 30bf215546Sopenharmony_ci 31bf215546Sopenharmony_ci 32bf215546Sopenharmony_ci# -- General configuration ------------------------------------------------ 33bf215546Sopenharmony_ci 34bf215546Sopenharmony_ci# If your documentation needs a minimal Sphinx version, state it here. 35bf215546Sopenharmony_ci# 36bf215546Sopenharmony_ci# needs_sphinx = '1.0' 37bf215546Sopenharmony_ci 38bf215546Sopenharmony_ci# Add any Sphinx extension module names here, as strings. They can be 39bf215546Sopenharmony_ci# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom 40bf215546Sopenharmony_ci# ones. 41bf215546Sopenharmony_ciextensions = ['sphinx.ext.graphviz', 'breathe', 'formatting', 'nir', 'redirects'] 42bf215546Sopenharmony_ci 43bf215546Sopenharmony_ci# Add any paths that contain templates here, relative to this directory. 44bf215546Sopenharmony_citemplates_path = ['_templates'] 45bf215546Sopenharmony_ci 46bf215546Sopenharmony_ci# The suffix(es) of source filenames. 47bf215546Sopenharmony_ci# You can specify multiple suffix as a list of string: 48bf215546Sopenharmony_ci# 49bf215546Sopenharmony_ci# source_suffix = ['.rst', '.md'] 50bf215546Sopenharmony_cisource_suffix = '.rst' 51bf215546Sopenharmony_ci 52bf215546Sopenharmony_ci# The master toctree document. 53bf215546Sopenharmony_cimaster_doc = 'index' 54bf215546Sopenharmony_ci 55bf215546Sopenharmony_ci# General information about the project. 56bf215546Sopenharmony_ciproject = 'The Mesa 3D Graphics Library' 57bf215546Sopenharmony_cicopyright = '1995-2018, Brian Paul' 58bf215546Sopenharmony_ciauthor = 'Brian Paul' 59bf215546Sopenharmony_cihtml_show_copyright = False 60bf215546Sopenharmony_ci 61bf215546Sopenharmony_cihtml_theme_path = [sphinx_rtd_theme.get_html_theme_path()] 62bf215546Sopenharmony_ci 63bf215546Sopenharmony_ci# The version info for the project you're documenting, acts as replacement for 64bf215546Sopenharmony_ci# |version| and |release|, also used in various other places throughout the 65bf215546Sopenharmony_ci# built documents. 66bf215546Sopenharmony_ci# 67bf215546Sopenharmony_ci# The short X.Y version. 68bf215546Sopenharmony_civersion = 'latest' 69bf215546Sopenharmony_ci# The full version, including alpha/beta/rc tags. 70bf215546Sopenharmony_cirelease = 'latest' 71bf215546Sopenharmony_ci 72bf215546Sopenharmony_ci# The language for content autogenerated by Sphinx. Refer to documentation 73bf215546Sopenharmony_ci# for a list of supported languages. 74bf215546Sopenharmony_ci# 75bf215546Sopenharmony_ci# This is also used if you do content translation via gettext catalogs. 76bf215546Sopenharmony_ci# Usually you set "language" from the command line for these cases. 77bf215546Sopenharmony_cilanguage = 'en' 78bf215546Sopenharmony_ci 79bf215546Sopenharmony_ci# List of patterns, relative to source directory, that match files and 80bf215546Sopenharmony_ci# directories to ignore when looking for source files. 81bf215546Sopenharmony_ci# This patterns also effect to html_static_path and html_extra_path 82bf215546Sopenharmony_ciexclude_patterns = [] 83bf215546Sopenharmony_ci 84bf215546Sopenharmony_ci# The name of the Pygments (syntax highlighting) style to use. 85bf215546Sopenharmony_cipygments_style = 'sphinx' 86bf215546Sopenharmony_ci 87bf215546Sopenharmony_ci# If true, `todo` and `todoList` produce output, else they produce nothing. 88bf215546Sopenharmony_citodo_include_todos = False 89bf215546Sopenharmony_ci 90bf215546Sopenharmony_ci# Disable highlighting unless a language is specified, otherwise we'll get 91bf215546Sopenharmony_ci# python keywords highlit in literal blocks. 92bf215546Sopenharmony_cihighlight_language = "none" 93bf215546Sopenharmony_ci 94bf215546Sopenharmony_ci 95bf215546Sopenharmony_ci# -- Options for HTML output ---------------------------------------------- 96bf215546Sopenharmony_ci 97bf215546Sopenharmony_ci# The theme to use for HTML and HTML Help pages. See the documentation for 98bf215546Sopenharmony_ci# a list of builtin themes. 99bf215546Sopenharmony_ci# 100bf215546Sopenharmony_cihtml_theme = 'sphinx_rtd_theme' 101bf215546Sopenharmony_ci 102bf215546Sopenharmony_cihtml_favicon = "favicon.ico" 103bf215546Sopenharmony_ci 104bf215546Sopenharmony_ci# Theme options are theme-specific and customize the look and feel of a theme 105bf215546Sopenharmony_ci# further. For a list of options available for each theme, see the 106bf215546Sopenharmony_ci# documentation. 107bf215546Sopenharmony_ci# 108bf215546Sopenharmony_cihtml_theme_options = { 109bf215546Sopenharmony_ci 'display_version': False, 110bf215546Sopenharmony_ci} 111bf215546Sopenharmony_ci 112bf215546Sopenharmony_cihtml_context = { 113bf215546Sopenharmony_ci 'display_gitlab': True, 114bf215546Sopenharmony_ci 'gitlab_host': 'gitlab.freedesktop.org', 115bf215546Sopenharmony_ci 'gitlab_user': 'mesa', 116bf215546Sopenharmony_ci 'gitlab_repo': 'mesa', 117bf215546Sopenharmony_ci 'gitlab_version': 'main', 118bf215546Sopenharmony_ci 'conf_py_path': '/docs/', 119bf215546Sopenharmony_ci} 120bf215546Sopenharmony_ci 121bf215546Sopenharmony_cihtml_copy_source = False 122bf215546Sopenharmony_ci 123bf215546Sopenharmony_ci# Add any paths that contain custom static files (such as style sheets) here, 124bf215546Sopenharmony_ci# relative to this directory. They are copied after the builtin static files, 125bf215546Sopenharmony_ci# so a file named "default.css" will overwrite the builtin "default.css". 126bf215546Sopenharmony_cihtml_static_path = [] 127bf215546Sopenharmony_ci 128bf215546Sopenharmony_cihtml_extra_path = [ 129bf215546Sopenharmony_ci '_extra/', 130bf215546Sopenharmony_ci 'release-maintainers-keys.asc', 131bf215546Sopenharmony_ci 'features.txt', 132bf215546Sopenharmony_ci 'libGL.txt', 133bf215546Sopenharmony_ci 'README.UVD', 134bf215546Sopenharmony_ci 'README.VCE', 135bf215546Sopenharmony_ci] 136bf215546Sopenharmony_ci 137bf215546Sopenharmony_cihtml_redirects = [ 138bf215546Sopenharmony_ci ('webmaster', 'https://www.mesa3d.org/website/'), 139bf215546Sopenharmony_ci] 140bf215546Sopenharmony_ci 141bf215546Sopenharmony_ci 142bf215546Sopenharmony_ci# -- Options for HTMLHelp output ------------------------------------------ 143bf215546Sopenharmony_ci 144bf215546Sopenharmony_ci# Output file base name for HTML help builder. 145bf215546Sopenharmony_cihtmlhelp_basename = 'TheMesa3DGraphicsLibrarydoc' 146bf215546Sopenharmony_ci 147bf215546Sopenharmony_ci 148bf215546Sopenharmony_ci# -- Options for LaTeX output --------------------------------------------- 149bf215546Sopenharmony_ci 150bf215546Sopenharmony_cilatex_elements = { 151bf215546Sopenharmony_ci # The paper size ('letterpaper' or 'a4paper'). 152bf215546Sopenharmony_ci # 153bf215546Sopenharmony_ci # 'papersize': 'letterpaper', 154bf215546Sopenharmony_ci 155bf215546Sopenharmony_ci # The font size ('10pt', '11pt' or '12pt'). 156bf215546Sopenharmony_ci # 157bf215546Sopenharmony_ci # 'pointsize': '10pt', 158bf215546Sopenharmony_ci 159bf215546Sopenharmony_ci # Additional stuff for the LaTeX preamble. 160bf215546Sopenharmony_ci # 161bf215546Sopenharmony_ci # 'preamble': '', 162bf215546Sopenharmony_ci 163bf215546Sopenharmony_ci # Latex figure (float) alignment 164bf215546Sopenharmony_ci # 165bf215546Sopenharmony_ci # 'figure_align': 'htbp', 166bf215546Sopenharmony_ci} 167bf215546Sopenharmony_ci 168bf215546Sopenharmony_ci# Grouping the document tree into LaTeX files. List of tuples 169bf215546Sopenharmony_ci# (source start file, target name, title, 170bf215546Sopenharmony_ci# author, documentclass [howto, manual, or own class]). 171bf215546Sopenharmony_cilatex_documents = [ 172bf215546Sopenharmony_ci (master_doc, 'TheMesa3DGraphicsLibrary.tex', 'The Mesa 3D Graphics Library Documentation', 173bf215546Sopenharmony_ci 'Brian Paul', 'manual'), 174bf215546Sopenharmony_ci] 175bf215546Sopenharmony_ci 176bf215546Sopenharmony_ci 177bf215546Sopenharmony_ci# -- Options for manual page output --------------------------------------- 178bf215546Sopenharmony_ci 179bf215546Sopenharmony_ci# One entry per manual page. List of tuples 180bf215546Sopenharmony_ci# (source start file, name, description, authors, manual section). 181bf215546Sopenharmony_ciman_pages = [ 182bf215546Sopenharmony_ci (master_doc, 'themesa3dgraphicslibrary', 'The Mesa 3D Graphics Library Documentation', 183bf215546Sopenharmony_ci [author], 1) 184bf215546Sopenharmony_ci] 185bf215546Sopenharmony_ci 186bf215546Sopenharmony_ci 187bf215546Sopenharmony_ci# -- Options for Texinfo output ------------------------------------------- 188bf215546Sopenharmony_ci 189bf215546Sopenharmony_ci# Grouping the document tree into Texinfo files. List of tuples 190bf215546Sopenharmony_ci# (source start file, target name, title, author, 191bf215546Sopenharmony_ci# dir menu entry, description, category) 192bf215546Sopenharmony_citexinfo_documents = [ 193bf215546Sopenharmony_ci (master_doc, 'TheMesa3DGraphicsLibrary', 'The Mesa 3D Graphics Library Documentation', 194bf215546Sopenharmony_ci author, 'TheMesa3DGraphicsLibrary', 'One line description of project.', 195bf215546Sopenharmony_ci 'Miscellaneous'), 196bf215546Sopenharmony_ci] 197bf215546Sopenharmony_ci 198bf215546Sopenharmony_ci# -- Options for Graphviz ------------------------------------------------- 199bf215546Sopenharmony_ci 200bf215546Sopenharmony_cigraphviz_output_format = 'svg' 201bf215546Sopenharmony_ci 202bf215546Sopenharmony_ci# -- Options for breathe -------------------------------------------------- 203bf215546Sopenharmony_cibreathe_projects = { 204bf215546Sopenharmony_ci 'mesa' : 'doxygen_xml', 205bf215546Sopenharmony_ci} 206bf215546Sopenharmony_cibreathe_default_project = 'mesa' 207bf215546Sopenharmony_cibreathe_show_define_initializer = True 208bf215546Sopenharmony_cibreathe_show_enumvalue_initializer = True 209