Debian Codegraph @

docs/_userdoc/conf.py

raw symbols SCIP
1 # -*- coding: utf-8 -*- # flake8: noqa pylint: skip-file
2 #
3 # rJSmin documentation build configuration file
4 #
5 # This file is execfile()d with the current directory set to its containing dir.
6 #
7 # Note that not all possible configuration values are present in this
8 # autogenerated file.
9 #
10 # All configuration values have a default; values that are commented out
11 # serve to show the default.
12
13 import sys, os
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 # sys.path.append(os.path.abspath('../../'))
19
20 # -- General configuration -----------------------------------------------------
21
22 # Add any Sphinx extension module names here, as strings. They can be extensions
23 # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
24 extensions = [
25 'sphinx.ext.autodoc',
26 'sphinx.ext.napoleon',
27 'sphinx.ext.viewcode',
28 ]
29
30
31 def setup(app):
32 app.add_css_file('ci.css')
33
34
35 # Add any paths that contain templates here, relative to this directory.
36 templates_path = ['_templates']
37
38 # The suffix of source filenames.
39 source_suffix = '.txt'
40
41 # The encoding of source files.
42 #source_encoding = 'utf-8'
43
44 # The master toctree document.
45 master_doc = 'index'
46
47 # General information about the project.
48 project = u'rJSmin'
49 copyright = u'2011 - 2025 Andr\xe9 Malo'
50
51 # The version info for the project you're documenting, acts as replacement for
52 # |version| and |release|, also used in various other places throughout the
53 # built documents.
54 #
55 # The short X.Y version.
56 version = '1.2'
57 # The full version, including alpha/beta/rc tags.
58 release = '1.2.5'
59
60 # The language for content autogenerated by Sphinx. Refer to documentation
61 # for a list of supported languages.
62 #language = None
63
64 # There are two options for replacing |today|: either, you set today to some
65 # non-false value, then it is used:
66 #today = ''
67 # Else, today_fmt is used as the format for a strftime call.
68 #today_fmt = '%B %d, %Y'
69
70 # List of documents that shouldn't be included in the build.
71 unused_docs = ['website_download']
72
73 # List of directories, relative to source directory, that shouldn't be searched
74 # for source files.
75 exclude_trees = ['_build']
76
77 # The reST default role (used for this markup: `text`) to use for all documents.
78 #default_role = None
79
80 # If true, '()' will be appended to :func: etc. cross-reference text.
81 #add_function_parentheses = True
82
83 # If true, the current module name will be prepended to all description
84 # unit titles (such as .. function::).
85 #add_module_names = True
86
87 # If true, sectionauthor and moduleauthor directives will be shown in the
88 # output. They are ignored by default.
89 #show_authors = False
90
91 # The name of the Pygments (syntax highlighting) style to use.
92 pygments_style = 'sphinx'
93
94 # A list of ignored prefixes for module index sorting.
95 #modindex_common_prefix = []
96
97
98 rst_prolog = """
99 .. role:: product(emphasis)
100 :class: ci
101
102 .. |rjsmin| replace:: :product:`rJSmin`
103
104 .. role:: productb(strong)
105 :class: ci
106
107 .. |**rjsmin**| replace:: :productb:`rJSmin`
108 """
109
110 # -- Options for HTML output ---------------------------------------------------
111
112 # The theme to use for HTML and HTML Help pages. Major themes that come with
113 # Sphinx are currently 'default' and 'sphinxdoc'.
114 html_theme = "furo"
115 # html_theme_options = dict(
116 # collapse_navigation=False,
117 # includehidden=True,
118 # )
119
120 # # Theme options are theme-specific and customize the look and feel of a theme
121 # # further. For a list of options available for each theme, see the
122 # # documentation.
123 # if html_theme == 'nature':
124 # html_theme_options = {}
125 # elif html_theme == 'agogo':
126 # html_theme_options = dict(
127 # pagewidth='100%',
128 # documentwidth='80%',
129 # sidebarwidth='20%',
130 # )
131 # elif html_theme == 'scrolls':
132 # html_theme_options = {}
133 # elif html_theme == 'haiku':
134 # html_theme_options = {}
135 # else:
136 # html_theme_options = dict(
137 # rightsidebar=True,
138 # )
139
140 # Add any paths that contain custom themes here, relative to this directory.
141 #html_theme_path = []
142
143 # The name for this set of Sphinx documents. If None, it defaults to
144 # "<project> v<release> documentation".
145 #html_title = None
146
147 # A shorter title for the navigation bar. Default is the same as html_title.
148 #html_short_title = None
149
150 # The name of an image file (relative to this directory) to place at the top
151 # of the sidebar.
152 #html_logo = None
153
154 # The name of an image file (within the static path) to use as favicon of the
155 # docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
156 # pixels large.
157 #html_favicon = None
158
159 # Add any paths that contain custom static files (such as style sheets) here,
160 # relative to this directory. They are copied after the builtin static files,
161 # so a file named "default.css" will overwrite the builtin "default.css".
162 html_static_path = ['_static']
163
164 # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
165 # using the given strftime format.
166 #html_last_updated_fmt = '%b %d, %Y'
167
168 # If true, SmartyPants will be used to convert quotes and dashes to
169 # typographically correct entities.
170 #html_use_smartypants = True
171
172 # Custom sidebar templates, maps document names to template names.
173 #html_sidebars = {}
174
175 # Additional templates that should be rendered to pages, maps page names to
176 # template names.
177 #html_additional_pages = {}
178
179 # If false, no module index is generated.
180 html_use_modindex = False
181
182 # If false, no index is generated.
183 html_use_index = False
184
185 # If true, the index is split into individual pages for each letter.
186 #html_split_index = False
187
188 # If true, links to the reST sources are added to the pages.
189 html_show_sourcelink = False
190
191 # If true, an OpenSearch description file will be output, and all pages will
192 # contain a <link> tag referring to it. The value of this option must be the
193 # base URL from which the finished HTML is served.
194 #html_use_opensearch = ''
195
196 # If nonempty, this is the file name suffix for HTML files (e.g. ".xhtml").
197 #html_file_suffix = ''
198
199 # Output file base name for HTML help builder.
200 htmlhelp_basename = 'rJSmindoc'
201
202
203 # -- Options for LaTeX output --------------------------------------------------
204
205 # The paper size ('letter' or 'a4').
206 #latex_paper_size = 'letter'
207
208 # The font size ('10pt', '11pt' or '12pt').
209 #latex_font_size = '10pt'
210
211 # Grouping the document tree into LaTeX files. List of tuples
212 # (source start file, target name, title, author, documentclass [howto/manual]).
213 latex_documents = [
214 ('index', 'rjsmin.tex', u'rJSmin Documentation',
215 u'Andr\xe9 "nd" Malo', 'manual'),
216 ]
217
218 # The name of an image file (relative to this directory) to place at the top of
219 # the title page.
220 #latex_logo = None
221
222 # For "manual" documents, if this is true, then toplevel headings are parts,
223 # not chapters.
224 #latex_use_parts = False
225
226 # Additional stuff for the LaTeX preamble.
227 #latex_preamble = ''
228
229 # Documents to append as an appendix to all manuals.
230 #latex_appendices = []
231
232 # If false, no module index is generated.
233 #latex_use_modindex = True