]> git.ipfire.org Git - thirdparty/pdns.git/blob - pdns/dnsdistdist/docs/conf.py
Merge pull request #8564 from criteo-forks/weighted_gap
[thirdparty/pdns.git] / pdns / dnsdistdist / docs / conf.py
1 #!/usr/bin/env python3
2 # -*- coding: utf-8 -*-
3 #
4 # dnsdist documentation build configuration file, created by
5 # sphinx-quickstart on Thu Feb 9 00:08:08 2017.
6 #
7 # This file is execfile()d with the current directory set to its
8 # containing dir.
9 #
10 # Note that not all possible configuration values are present in this
11 # autogenerated file.
12 #
13 # All configuration values have a default; values that are commented out
14 # serve to show the default.
15
16 # If extensions (or modules to document with autodoc) are in another directory,
17 # add these directories to sys.path here. If the directory is relative to the
18 # documentation root, use os.path.abspath to make it absolute, like shown here.
19 #
20 # import os
21 # import sys
22 # sys.path.insert(0, os.path.abspath('.'))
23
24 # -- General configuration ------------------------------------------------
25
26 # If your documentation needs a minimal Sphinx version, state it here.
27 #
28 # needs_sphinx = '1.0'
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.
33 extensions = ['redjack.sphinx.lua', 'sphinxcontrib.httpdomain', 'sphinxjsondomain',
34 'sphinxcontrib.fulltoc', 'changelog']
35 primary_domain = 'lua'
36
37 # Add any paths that contain templates here, relative to this directory.
38 templates_path = ['_templates']
39
40 # The suffix(es) of source filenames.
41 # You can specify multiple suffix as a list of string:
42 #
43 # source_suffix = ['.rst', '.md']
44 source_suffix = '.rst'
45
46 # The master toctree document.
47 master_doc = 'index_TOC'
48
49 # General information about the project.
50 project = 'dnsdist'
51 copyright = '2015-2019, PowerDNS.COM BV and its contributors'
52 author = 'PowerDNS.COM BV and its contributors'
53
54 # The version info for the project you're documenting, acts as replacement for
55 # |version| and |release|, also used in various other places throughout the
56 # built documents.
57 #
58 # The short X.Y version.
59 # version = '1.3'
60 # The full version, including alpha/beta/rc tags.
61 # release = '1.3.0'
62
63 # The language for content autogenerated by Sphinx. Refer to documentation
64 # for a list of supported languages.
65 #
66 # This is also used if you do content translation via gettext catalogs.
67 # Usually you set "language" from the command line for these cases.
68 language = None
69
70 # List of patterns, relative to source directory, that match files and
71 # directories to ignore when looking for source files.
72 # This patterns also effect to html_static_path and html_extra_path
73 exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
74
75 # The name of the Pygments (syntax highlighting) style to use.
76 pygments_style = 'sphinx'
77
78 # If true, `todo` and `todoList` produce output, else they produce nothing.
79 todo_include_todos = False
80
81 # -- Changelog Options ----------------------------------------------------
82
83 changelog_render_ticket = "https://github.com/PowerDNS/pdns/issues/%s"
84 changelog_render_pullreq = "https://github.com/PowerDNS/pdns/pull/%s"
85 changelog_render_changeset = "https://github.com/PowerDNS/pdns/commit/%s"
86
87 changelog_sections = ['New Features', 'Improvements', 'Bug Fixes', 'Removals']
88 changelog_inner_tag_sort = ['Security', 'DNS over HTTPS', 'DNS over TLS', 'DNSCrypt', 'DNSTAP', 'Protobuf', 'Performance', 'Webserver', 'Metrics']
89
90 changelog_render_tags = False
91
92 # -- Options for HTML output ----------------------------------------------
93
94 # The theme to use for HTML and HTML Help pages. See the documentation for
95 # a list of builtin themes.
96 #
97 html_theme_path = ['_templates']
98 html_theme = 'pdns_html'
99
100 # Theme options are theme-specific and customize the look and feel of a theme
101 # further. For a list of options available for each theme, see the
102 # documentation.
103 #
104 html_theme_options = {}
105
106 # Add any paths that contain custom static files (such as style sheets) here,
107 # relative to this directory. They are copied after the builtin static files,
108 # so a file named "default.css" will overwrite the builtin "default.css".
109 html_static_path = ['_static']
110
111 html_favicon = '_static/favicon.ico'
112
113
114 # -- Options for HTMLHelp output ------------------------------------------
115
116 # Output file base name for HTML help builder.
117 htmlhelp_basename = 'dnsdistdoc'
118
119
120 # -- Options for LaTeX output ---------------------------------------------
121
122 latex_elements = {
123 # The paper size ('letterpaper' or 'a4paper').
124 #
125 'papersize': 'a4paper',
126
127 # The font size ('10pt', '11pt' or '12pt').
128 #
129 # 'pointsize': '10pt',
130
131 # Additional stuff for the LaTeX preamble.
132 #
133 # 'preamble': '',
134
135 # Latex figure (float) alignment
136 #
137 # 'figure_align': 'htbp',
138 }
139
140 # Grouping the document tree into LaTeX files. List of tuples
141 # (source start file, target name, title,
142 # author, documentclass [howto, manual, or own class]).
143 latex_documents = [
144 (master_doc, 'dnsdist.tex', 'dnsdist',
145 'PowerDNS.COM BV', 'manual'),
146 ]
147
148 latex_logo = '_static/powerdns-logo-trans.png'
149
150
151 # -- Options for manual page output ---------------------------------------
152
153 # One entry per manual page. List of tuples
154 # (source start file, name, description, authors, manual section).
155 man_pages = [
156 ('manpages/dnsdist.1', 'dnsdist',
157 'A DNS and DoS aware, scriptable loadbalancer',
158 [author], 1)
159 ]
160
161
162 # -- Options for Texinfo output -------------------------------------------
163
164 # Grouping the document tree into Texinfo files. List of tuples
165 # (source start file, target name, title, author,
166 # dir menu entry, description, category)
167 texinfo_documents = [
168 (master_doc, 'dnsdist', 'dnsdist',
169 author, 'dnsdist', 'One line description of project.',
170 'Miscellaneous'),
171 ]
172
173
174
175 # -- Options for Epub output ----------------------------------------------
176
177 # Bibliographic Dublin Core info.
178 epub_title = project
179 epub_author = author
180 epub_publisher = author
181 epub_copyright = copyright
182
183 # The unique identifier of the text. This can be a ISBN number
184 # or the project homepage.
185 #
186 # epub_identifier = ''
187
188 # A unique identification for the text.
189 #
190 # epub_uid = ''
191
192 # A list of files that should not be packed into the epub file.
193 epub_exclude_files = ['search.html']
194
195