#!/usr/bin/env python31# -*- coding: utf-8 -*-23import sphinx_rtd_theme45#6# The Mesa 3D Graphics Library documentation build configuration file, created by7# sphinx-quickstart on Wed Mar 29 14:08:51 2017.8#9# This file is execfile()d with the current directory set to its10# containing dir.11#12# Note that not all possible configuration values are present in this13# autogenerated file.14#15# All configuration values have a default; values that are commented out16# serve to show the default.1718# If extensions (or modules to document with autodoc) are in another directory,19# add these directories to sys.path here. If the directory is relative to the20# documentation root, use os.path.abspath to make it absolute, like shown here.21#22import os23import sys2425# If extensions (or modules to document with autodoc) are in another directory,26# add these directories to sys.path here. If the directory is relative to the27# documentation root, use os.path.abspath to make it absolute, like shown here.28sys.path.append(os.path.abspath('_exts'))293031# -- General configuration ------------------------------------------------3233# If your documentation needs a minimal Sphinx version, state it here.34#35# needs_sphinx = '1.0'3637# Add any Sphinx extension module names here, as strings. They can be38# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom39# ones.40extensions = ['sphinx.ext.graphviz', 'breathe', 'formatting', 'nir', 'redirects']4142# Add any paths that contain templates here, relative to this directory.43templates_path = ['_templates']4445# The suffix(es) of source filenames.46# You can specify multiple suffix as a list of string:47#48# source_suffix = ['.rst', '.md']49source_suffix = '.rst'5051# The master toctree document.52master_doc = 'index'5354# General information about the project.55project = 'The Mesa 3D Graphics Library'56copyright = '1995-2018, Brian Paul'57author = 'Brian Paul'58html_show_copyright = False5960html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]6162# The version info for the project you're documenting, acts as replacement for63# |version| and |release|, also used in various other places throughout the64# built documents.65#66# The short X.Y version.67version = 'latest'68# The full version, including alpha/beta/rc tags.69release = 'latest'7071# The language for content autogenerated by Sphinx. Refer to documentation72# for a list of supported languages.73#74# This is also used if you do content translation via gettext catalogs.75# Usually you set "language" from the command line for these cases.76language = None7778# List of patterns, relative to source directory, that match files and79# directories to ignore when looking for source files.80# This patterns also effect to html_static_path and html_extra_path81exclude_patterns = []8283# The name of the Pygments (syntax highlighting) style to use.84pygments_style = 'sphinx'8586# If true, `todo` and `todoList` produce output, else they produce nothing.87todo_include_todos = False8889# Disable highlighting unless a language is specified, otherwise we'll get90# python keywords highlit in literal blocks.91highlight_language = "none"929394# -- Options for HTML output ----------------------------------------------9596# The theme to use for HTML and HTML Help pages. See the documentation for97# a list of builtin themes.98#99html_theme = 'sphinx_rtd_theme'100101html_favicon = "favicon.ico"102103# Theme options are theme-specific and customize the look and feel of a theme104# further. For a list of options available for each theme, see the105# documentation.106#107html_theme_options = {108'display_version': False,109}110111html_context = {112'display_gitlab': True,113'gitlab_host': 'gitlab.freedesktop.org',114'gitlab_user': 'mesa',115'gitlab_repo': 'mesa',116'gitlab_version': 'main',117'conf_py_path': '/docs/',118}119120html_copy_source = False121122# Add any paths that contain custom static files (such as style sheets) here,123# relative to this directory. They are copied after the builtin static files,124# so a file named "default.css" will overwrite the builtin "default.css".125html_static_path = []126127html_extra_path = [128'_extra/',129'release-maintainers-keys.asc',130'features.txt',131'libGL.txt',132'README.UVD',133'README.VCE',134]135136html_redirects = [137('drivers/vmware-guest', 'drivers/svga3d.html'),138('gallium/drivers/freedreno', 'drivers/freedreno.html'),139('gallium/drivers/freedreno/ir3-notes', 'drivers/freedreno/ir3-notes.html'),140('gallium/drivers/llvmpipe', 'drivers/llvmpipe.html'),141('gallium/drivers/openswr', 'drivers/openswr.html'),142('gallium/drivers/openswr/faq', 'drivers/openswr/faq.html'),143('gallium/drivers/openswr/knobs', 'drivers/openswr/knobs.html'),144('gallium/drivers/openswr/profiling', 'drivers/openswr/profiling.html'),145('gallium/drivers/openswr/usage', 'drivers/openswr/usage.html'),146('gallium/drivers/zink', 'drivers/zink.html'),147('llvmpipe', 'drivers/llvmpipe.html'),148('postprocess', 'gallium/postprocess.html'),149('versions', 'relnotes.html'),150('vmware-guest', 'drivers/vmware-guest.html'),151('webmaster', 'https://www.mesa3d.org/website/'),152]153154155# -- Options for HTMLHelp output ------------------------------------------156157# Output file base name for HTML help builder.158htmlhelp_basename = 'TheMesa3DGraphicsLibrarydoc'159160161# -- Options for LaTeX output ---------------------------------------------162163latex_elements = {164# The paper size ('letterpaper' or 'a4paper').165#166# 'papersize': 'letterpaper',167168# The font size ('10pt', '11pt' or '12pt').169#170# 'pointsize': '10pt',171172# Additional stuff for the LaTeX preamble.173#174# 'preamble': '',175176# Latex figure (float) alignment177#178# 'figure_align': 'htbp',179}180181# Grouping the document tree into LaTeX files. List of tuples182# (source start file, target name, title,183# author, documentclass [howto, manual, or own class]).184latex_documents = [185(master_doc, 'TheMesa3DGraphicsLibrary.tex', 'The Mesa 3D Graphics Library Documentation',186'Brian Paul', 'manual'),187]188189190# -- Options for manual page output ---------------------------------------191192# One entry per manual page. List of tuples193# (source start file, name, description, authors, manual section).194man_pages = [195(master_doc, 'themesa3dgraphicslibrary', 'The Mesa 3D Graphics Library Documentation',196[author], 1)197]198199200# -- Options for Texinfo output -------------------------------------------201202# Grouping the document tree into Texinfo files. List of tuples203# (source start file, target name, title, author,204# dir menu entry, description, category)205texinfo_documents = [206(master_doc, 'TheMesa3DGraphicsLibrary', 'The Mesa 3D Graphics Library Documentation',207author, 'TheMesa3DGraphicsLibrary', 'One line description of project.',208'Miscellaneous'),209]210211# -- Options for Graphviz -------------------------------------------------212213graphviz_output_format = 'svg'214215# -- Options for breathe --------------------------------------------------216breathe_projects = {217'mesa' : 'doxygen_xml',218}219breathe_default_project = 'mesa'220breathe_show_define_initializer = True221breathe_show_enumvalue_initializer = True222223224