1# -*- coding: utf-8 -*- 2# 3# fontTools documentation build configuration file, created by 4# sphinx-quickstart on Thu Apr 20 11:07:39 2017. 5# 6# This file is execfile()d with the current directory set to its 7# containing dir. 8# 9# Note that not all possible configuration values are present in this 10# autogenerated file. 11# 12# All configuration values have a default; values that are commented out 13# serve to show the default. 14 15# If extensions (or modules to document with autodoc) are in another directory, 16# add these directories to sys.path here. If the directory is relative to the 17# documentation root, use os.path.abspath to make it absolute, like shown here. 18# 19# import os 20# import sys 21# sys.path.insert(0, os.path.abspath('.')) 22 23 24# -- General configuration ------------------------------------------------ 25 26# If your documentation needs a minimal Sphinx version, state it here. 27# 28needs_sphinx = "1.3" 29 30# Add any Sphinx extension module names here, as strings. They can be 31# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom 32# ones. 33extensions = [ 34 "sphinx.ext.autodoc", 35 "sphinx.ext.viewcode", 36 "sphinx.ext.napoleon", 37 "sphinx.ext.coverage", 38 "sphinx.ext.autosectionlabel", 39] 40 41autodoc_mock_imports = ["gtk", "reportlab"] 42 43autodoc_default_options = {"members": True, "inherited-members": True} 44 45# Add any paths that contain templates here, relative to this directory. 46templates_path = ["_templates"] 47 48# The suffix(es) of source filenames. 49# You can specify multiple suffix as a list of string: 50# 51# source_suffix = ['.rst', '.md'] 52source_suffix = ".rst" 53 54# The master toctree document. 55master_doc = "index" 56 57# General information about the project. 58project = "fontTools" 59copyright = ( 60 "2020, Just van Rossum, Behdad Esfahbod, and the fontTools Authors. CC BY-SA 4.0" 61) 62author = "Just van Rossum, Behdad Esfahbod, and the fontTools Authors" 63 64# HTML page title 65html_title = "fontTools Documentation" 66 67# The version info for the project you're documenting, acts as replacement for 68# |version| and |release|, also used in various other places throughout the 69# built documents. 70# 71# The short X.Y version. 72version = "4.0" 73# The full version, including alpha/beta/rc tags. 74release = "4.0" 75 76# The language for content autogenerated by Sphinx. Refer to documentation 77# for a list of supported languages. 78# 79# This is also used if you do content translation via gettext catalogs. 80# Usually you set "language" from the command line for these cases. 81language = None 82 83# List of patterns, relative to source directory, that match files and 84# directories to ignore when looking for source files. 85# This patterns also effect to html_static_path and html_extra_path 86exclude_patterns = [] 87 88# The name of the Pygments (syntax highlighting) style to use. 89# pygments_style = "sphinx" (the default sphinx docs style on RTD) 90pygments_style = "default" 91 92# If true, `todo` and `todoList` produce output, else they produce nothing. 93todo_include_todos = True 94 95 96# -- Options for HTML output ---------------------------------------------- 97 98# The theme to use for HTML and HTML Help pages. See the documentation for 99# a list of builtin themes. 100# 101html_theme = "sphinx_rtd_theme" 102 103# Theme options are theme-specific and customize the look and feel of a theme 104# further. For a list of options available for each theme, see the 105# documentation. 106# 107html_theme_options = {"display_version": False} 108 109# Add any paths that contain custom static files (such as style sheets) here, 110# relative to this directory. They are copied after the builtin static files, 111# so a file named "default.css" will overwrite the builtin "default.css". 112# html_static_path = ["_static"] 113 114html_favicon = "assets/img/favicon.ico" 115 116# display the Sphinx attribution in the footer 117html_show_sphinx = False 118 119 120# -- Options for HTMLHelp output ------------------------------------------ 121 122# Output file base name for HTML help builder. 123htmlhelp_basename = "fontToolsDoc" 124 125 126# -- Options for LaTeX output --------------------------------------------- 127 128latex_elements = { 129 # The paper size ('letterpaper' or 'a4paper'). 130 # 131 # 'papersize': 'letterpaper', 132 # The font size ('10pt', '11pt' or '12pt'). 133 # 134 # 'pointsize': '10pt', 135 # Additional stuff for the LaTeX preamble. 136 # 137 # 'preamble': '', 138 # Latex figure (float) alignment 139 # 140 # 'figure_align': 'htbp', 141} 142 143# Grouping the document tree into LaTeX files. List of tuples 144# (source start file, target name, title, 145# author, documentclass [howto, manual, or own class]). 146latex_documents = [ 147 ( 148 master_doc, 149 "fontTools.tex", 150 "fontTools Documentation", 151 "Just van Rossum, Behdad Esfahbod et al.", 152 "manual", 153 ) 154] 155 156 157# -- Options for manual page output --------------------------------------- 158 159# One entry per manual page. List of tuples 160# (source start file, name, description, authors, manual section). 161man_pages = [(master_doc, "fonttools", "fontTools Documentation", [author], 1)] 162 163 164# -- Options for Texinfo output ------------------------------------------- 165 166# Grouping the document tree into Texinfo files. List of tuples 167# (source start file, target name, title, author, 168# dir menu entry, description, category) 169texinfo_documents = [ 170 ( 171 master_doc, 172 "fontTools", 173 "fontTools Documentation", 174 author, 175 "fontTools", 176 "A library for manipulating fonts, written in Python.", 177 "Typography", 178 ) 179] 180