83 84# If true, '()' will be appended to :func: etc. cross-reference text. 85#add_function_parentheses = True 86 87# If true, the current module name will be prepended to all description 88# unit titles (such as .. function::). 89#add_module_names = True 90 91# If true, sectionauthor and moduleauthor directives will be shown in the 92# output. They are ignored by default. 93#show_authors = False 94 95# The name of the Pygments (syntax highlighting) style to use. 96#pygments_style = 'monokai' 97 98# A list of ignored prefixes for module index sorting. 99#modindex_common_prefix = [] 100 101# If true, keep warnings as "system message" paragraphs in the built documents. 102#keep_warnings = False 103 104# If true, `todo` and `todoList` produce output, else they produce nothing. 105todo_include_todos = False 106 107 108# -- Options for HTML output ---------------------------------------------- 109 110# The theme to use for HTML and HTML Help pages. See the documentation for 111# a list of builtin themes. 112 113on_rtd = os.environ.get('READTHEDOCS', None) == 'True' 114 115if not on_rtd: # only import and set the theme if we're building docs locally 116 import sphinx_rtd_theme 117 html_theme = 'sphinx_rtd_theme' 118 html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] 119 120 html_context = { 121 'css_files': [ 122 '_static/theme_overrides.css' 123 ] 124 } 125else: 126 html_context = { 127 'css_files': [ 128 '//media.readthedocs.org/css/sphinx_rtd_theme.css', 129 '//media.readthedocs.org/css/readthedocs-doc-embed.css', 130 '_static/theme_overrides.css' 131 ] 132 } 133 134# Theme options are theme-specific and customize the look and feel of a theme 135# further. For a list of options available for each theme, see the 136# documentation. 137#html_theme_options = {} 138 139# Add any paths that contain custom themes here, relative to this directory. 140#html_theme_path = [] 141 142# The name for this set of Sphinx documents. If None, it defaults to 143# "<project> v<release> documentation". 144#html_title = None 145 146# A shorter title for the navigation bar. Default is the same as html_title. 147#html_short_title = None 148 149# The name of an image file (relative to this directory) to place at the top 150# of the sidebar. 151#html_logo = None 152 153# The name of an image file (within the static path) to use as favicon of the 154# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 155# pixels large. 156#html_favicon = None 157 158# Add any paths that contain custom static files (such as style sheets) here, 159# relative to this directory. They are copied after the builtin static files, 160# so a file named "default.css" will overwrite the builtin "default.css". 161html_static_path = ['_static'] 162 163# Add any extra paths that contain custom files (such as robots.txt or 164# .htaccess) here, relative to this directory. These files are copied 165# directly to the root of the documentation. 166#html_extra_path = [] 167 168# If not '', a 'Last updated on:' timestamp is inserted at every page bottom, 169# using the given strftime format. 170#html_last_updated_fmt = '%b %d, %Y' 171 172# If true, SmartyPants will be used to convert quotes and dashes to 173# typographically correct entities. 174#html_use_smartypants = True 175 176# Custom sidebar templates, maps document names to template names. 177#html_sidebars = {} 178 179# Additional templates that should be rendered to pages, maps page names to 180# template names. 181#html_additional_pages = {} 182 183# If false, no module index is generated. 184#html_domain_indices = True 185 186# If false, no index is generated. 187#html_use_index = True 188 189# If true, the index is split into individual pages for each letter. 190#html_split_index = False 191 192# If true, links to the reST sources are added to the pages. 193#html_show_sourcelink = True 194 195# If true, "Created using Sphinx" is shown in the HTML footer. Default is True. 196#html_show_sphinx = True 197 198# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True. 199#html_show_copyright = True 200 201# If true, an OpenSearch description file will be output, and all pages will 202# contain a <link> tag referring to it. The value of this option must be the 203# base URL from which the finished HTML is served. 204#html_use_opensearch = '' 205 206# This is the file name suffix for HTML files (e.g. ".xhtml"). 207#html_file_suffix = None 208 209# Language to be used for generating the HTML full-text search index. 210# Sphinx supports the following languages: 211# 'da', 'de', 'en', 'es', 'fi', 'fr', 'h', 'it', 'ja' 212# 'nl', 'no', 'pt', 'ro', 'r', 'sv', 'tr' 213#html_search_language = 'en' 214 215# A dictionary with options for the search language support, empty by default. 216# Now only 'ja' uses this config value 217#html_search_options = {'type': 'default'} 218 219# The name of a javascript file (relative to the configuration directory) that 220# implements a search results scorer. If empty, the default will be used. 221#html_search_scorer = 'scorer.js' 222 223# Output file base name for HTML help builder. 224htmlhelp_basename = 'pybind11doc' 225 226# -- Options for LaTeX output --------------------------------------------- 227 228latex_elements = { 229# The paper size ('letterpaper' or 'a4paper'). 230#'papersize': 'letterpaper', 231 232# The font size ('10pt', '11pt' or '12pt'). 233#'pointsize': '10pt', 234 235# Additional stuff for the LaTeX preamble. 236'preamble': '\DeclareUnicodeCharacter{00A0}{}', 237 238# Latex figure (float) alignment 239#'figure_align': 'htbp', 240} 241 242# Grouping the document tree into LaTeX files. List of tuples 243# (source start file, target name, title, 244# author, documentclass [howto, manual, or own class]). 245latex_documents = [ 246 (master_doc, 'pybind11.tex', 'pybind11 Documentation', 247 'Wenzel Jakob', 'manual'), 248] 249 250# The name of an image file (relative to this directory) to place at the top of 251# the title page. 252# latex_logo = 'pybind11-logo.png' 253 254# For "manual" documents, if this is true, then toplevel headings are parts, 255# not chapters. 256#latex_use_parts = False 257 258# If true, show page references after internal links. 259#latex_show_pagerefs = False 260 261# If true, show URL addresses after external links. 262#latex_show_urls = False 263 264# Documents to append as an appendix to all manuals. 265#latex_appendices = [] 266 267# If false, no module index is generated. 268#latex_domain_indices = True 269 270 271# -- Options for manual page output --------------------------------------- 272 273# One entry per manual page. List of tuples 274# (source start file, name, description, authors, manual section). 275man_pages = [ 276 (master_doc, 'pybind11', 'pybind11 Documentation', 277 [author], 1) 278] 279 280# If true, show URL addresses after external links. 281#man_show_urls = False 282 283 284# -- Options for Texinfo output ------------------------------------------- 285 286# Grouping the document tree into Texinfo files. List of tuples 287# (source start file, target name, title, author, 288# dir menu entry, description, category) 289texinfo_documents = [ 290 (master_doc, 'pybind11', 'pybind11 Documentation', 291 author, 'pybind11', 'One line description of project.', 292 'Miscellaneous'), 293] 294 295# Documents to append as an appendix to all manuals. 296#texinfo_appendices = [] 297 298# If false, no module index is generated. 299#texinfo_domain_indices = True 300 301# How to display URL addresses: 'footnote', 'no', or 'inline'. 302#texinfo_show_urls = 'footnote' 303 304# If true, do not generate a @detailmenu in the "Top" node's menu. 305#texinfo_no_detailmenu = False 306 307primary_domain = 'cpp' 308highlight_language = 'cpp'
| 88 89# If true, '()' will be appended to :func: etc. cross-reference text. 90#add_function_parentheses = True 91 92# If true, the current module name will be prepended to all description 93# unit titles (such as .. function::). 94#add_module_names = True 95 96# If true, sectionauthor and moduleauthor directives will be shown in the 97# output. They are ignored by default. 98#show_authors = False 99 100# The name of the Pygments (syntax highlighting) style to use. 101#pygments_style = 'monokai' 102 103# A list of ignored prefixes for module index sorting. 104#modindex_common_prefix = [] 105 106# If true, keep warnings as "system message" paragraphs in the built documents. 107#keep_warnings = False 108 109# If true, `todo` and `todoList` produce output, else they produce nothing. 110todo_include_todos = False 111 112 113# -- Options for HTML output ---------------------------------------------- 114 115# The theme to use for HTML and HTML Help pages. See the documentation for 116# a list of builtin themes. 117 118on_rtd = os.environ.get('READTHEDOCS', None) == 'True' 119 120if not on_rtd: # only import and set the theme if we're building docs locally 121 import sphinx_rtd_theme 122 html_theme = 'sphinx_rtd_theme' 123 html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] 124 125 html_context = { 126 'css_files': [ 127 '_static/theme_overrides.css' 128 ] 129 } 130else: 131 html_context = { 132 'css_files': [ 133 '//media.readthedocs.org/css/sphinx_rtd_theme.css', 134 '//media.readthedocs.org/css/readthedocs-doc-embed.css', 135 '_static/theme_overrides.css' 136 ] 137 } 138 139# Theme options are theme-specific and customize the look and feel of a theme 140# further. For a list of options available for each theme, see the 141# documentation. 142#html_theme_options = {} 143 144# Add any paths that contain custom themes here, relative to this directory. 145#html_theme_path = [] 146 147# The name for this set of Sphinx documents. If None, it defaults to 148# "<project> v<release> documentation". 149#html_title = None 150 151# A shorter title for the navigation bar. Default is the same as html_title. 152#html_short_title = None 153 154# The name of an image file (relative to this directory) to place at the top 155# of the sidebar. 156#html_logo = None 157 158# The name of an image file (within the static path) to use as favicon of the 159# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 160# pixels large. 161#html_favicon = None 162 163# Add any paths that contain custom static files (such as style sheets) here, 164# relative to this directory. They are copied after the builtin static files, 165# so a file named "default.css" will overwrite the builtin "default.css". 166html_static_path = ['_static'] 167 168# Add any extra paths that contain custom files (such as robots.txt or 169# .htaccess) here, relative to this directory. These files are copied 170# directly to the root of the documentation. 171#html_extra_path = [] 172 173# If not '', a 'Last updated on:' timestamp is inserted at every page bottom, 174# using the given strftime format. 175#html_last_updated_fmt = '%b %d, %Y' 176 177# If true, SmartyPants will be used to convert quotes and dashes to 178# typographically correct entities. 179#html_use_smartypants = True 180 181# Custom sidebar templates, maps document names to template names. 182#html_sidebars = {} 183 184# Additional templates that should be rendered to pages, maps page names to 185# template names. 186#html_additional_pages = {} 187 188# If false, no module index is generated. 189#html_domain_indices = True 190 191# If false, no index is generated. 192#html_use_index = True 193 194# If true, the index is split into individual pages for each letter. 195#html_split_index = False 196 197# If true, links to the reST sources are added to the pages. 198#html_show_sourcelink = True 199 200# If true, "Created using Sphinx" is shown in the HTML footer. Default is True. 201#html_show_sphinx = True 202 203# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True. 204#html_show_copyright = True 205 206# If true, an OpenSearch description file will be output, and all pages will 207# contain a <link> tag referring to it. The value of this option must be the 208# base URL from which the finished HTML is served. 209#html_use_opensearch = '' 210 211# This is the file name suffix for HTML files (e.g. ".xhtml"). 212#html_file_suffix = None 213 214# Language to be used for generating the HTML full-text search index. 215# Sphinx supports the following languages: 216# 'da', 'de', 'en', 'es', 'fi', 'fr', 'h', 'it', 'ja' 217# 'nl', 'no', 'pt', 'ro', 'r', 'sv', 'tr' 218#html_search_language = 'en' 219 220# A dictionary with options for the search language support, empty by default. 221# Now only 'ja' uses this config value 222#html_search_options = {'type': 'default'} 223 224# The name of a javascript file (relative to the configuration directory) that 225# implements a search results scorer. If empty, the default will be used. 226#html_search_scorer = 'scorer.js' 227 228# Output file base name for HTML help builder. 229htmlhelp_basename = 'pybind11doc' 230 231# -- Options for LaTeX output --------------------------------------------- 232 233latex_elements = { 234# The paper size ('letterpaper' or 'a4paper'). 235#'papersize': 'letterpaper', 236 237# The font size ('10pt', '11pt' or '12pt'). 238#'pointsize': '10pt', 239 240# Additional stuff for the LaTeX preamble. 241'preamble': '\DeclareUnicodeCharacter{00A0}{}', 242 243# Latex figure (float) alignment 244#'figure_align': 'htbp', 245} 246 247# Grouping the document tree into LaTeX files. List of tuples 248# (source start file, target name, title, 249# author, documentclass [howto, manual, or own class]). 250latex_documents = [ 251 (master_doc, 'pybind11.tex', 'pybind11 Documentation', 252 'Wenzel Jakob', 'manual'), 253] 254 255# The name of an image file (relative to this directory) to place at the top of 256# the title page. 257# latex_logo = 'pybind11-logo.png' 258 259# For "manual" documents, if this is true, then toplevel headings are parts, 260# not chapters. 261#latex_use_parts = False 262 263# If true, show page references after internal links. 264#latex_show_pagerefs = False 265 266# If true, show URL addresses after external links. 267#latex_show_urls = False 268 269# Documents to append as an appendix to all manuals. 270#latex_appendices = [] 271 272# If false, no module index is generated. 273#latex_domain_indices = True 274 275 276# -- Options for manual page output --------------------------------------- 277 278# One entry per manual page. List of tuples 279# (source start file, name, description, authors, manual section). 280man_pages = [ 281 (master_doc, 'pybind11', 'pybind11 Documentation', 282 [author], 1) 283] 284 285# If true, show URL addresses after external links. 286#man_show_urls = False 287 288 289# -- Options for Texinfo output ------------------------------------------- 290 291# Grouping the document tree into Texinfo files. List of tuples 292# (source start file, target name, title, author, 293# dir menu entry, description, category) 294texinfo_documents = [ 295 (master_doc, 'pybind11', 'pybind11 Documentation', 296 author, 'pybind11', 'One line description of project.', 297 'Miscellaneous'), 298] 299 300# Documents to append as an appendix to all manuals. 301#texinfo_appendices = [] 302 303# If false, no module index is generated. 304#texinfo_domain_indices = True 305 306# How to display URL addresses: 'footnote', 'no', or 'inline'. 307#texinfo_show_urls = 'footnote' 308 309# If true, do not generate a @detailmenu in the "Top" node's menu. 310#texinfo_no_detailmenu = False 311 312primary_domain = 'cpp' 313highlight_language = 'cpp'
|