|
25 | 25 |
|
26 | 26 | # If your documentation needs a minimal Sphinx version, state it here.
|
27 | 27 | #
|
28 |
| -# needs_sphinx = '1.0' |
| 28 | +needs_sphinx = "4.2.0" |
29 | 29 |
|
30 | 30 | # Add any Sphinx extension module names here, as strings. They can be
|
31 | 31 | # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
|
32 | 32 | # ones.
|
33 |
| -extensions = ['sphinx.ext.autodoc', |
34 |
| - 'sphinx.ext.intersphinx', |
35 |
| - 'sphinx.ext.coverage', |
36 |
| - 'sphinx.ext.imgmath', |
37 |
| - 'sphinx.ext.viewcode'] |
| 33 | +extensions = [ |
| 34 | + "sphinx.ext.autodoc", |
| 35 | + "sphinx.ext.intersphinx", |
| 36 | + "sphinx.ext.coverage", |
| 37 | + "sphinx.ext.imgmath", |
| 38 | + "sphinx.ext.viewcode", |
| 39 | +] |
38 | 40 |
|
39 | 41 | # Add any paths that contain templates here, relative to this directory.
|
40 |
| -templates_path = ['_templates'] |
| 42 | +templates_path = ["_templates"] |
41 | 43 |
|
42 | 44 | # The suffix(es) of source filenames.
|
43 | 45 | # You can specify multiple suffix as a list of string:
|
44 | 46 | #
|
45 | 47 | # source_suffix = ['.rst', '.md']
|
46 |
| -source_suffix = '.rst' |
| 48 | +source_suffix = ".rst" |
47 | 49 |
|
48 | 50 | # The master toctree document.
|
49 |
| -master_doc = 'index' |
| 51 | +master_doc = "index" |
50 | 52 |
|
51 | 53 | # General information about the project.
|
52 |
| -project = u'libfv' |
53 |
| -copyright = u'2018, Christopher Simpkins. CC BY 4.0' |
54 |
| -author = u'Christopher Simpkins' |
| 54 | +project = u"libfv" |
| 55 | +copyright = u"2018, Christopher Simpkins. CC BY 4.0" |
| 56 | +author = u"Christopher Simpkins" |
55 | 57 |
|
56 | 58 | # The version info for the project you're documenting, acts as replacement for
|
57 | 59 | # |version| and |release|, also used in various other places throughout the
|
58 | 60 | # built documents.
|
59 | 61 | #
|
60 | 62 | # The short X.Y version.
|
61 |
| -version = u'v0.7.0' |
| 63 | +version = u"v2.0.0" |
62 | 64 | # The full version, including alpha/beta/rc tags.
|
63 |
| -release = u'v0.7.0' |
| 65 | +release = u"v2.0.0" |
64 | 66 |
|
65 | 67 | # The language for content autogenerated by Sphinx. Refer to documentation
|
66 | 68 | # for a list of supported languages.
|
|
72 | 74 | # List of patterns, relative to source directory, that match files and
|
73 | 75 | # directories to ignore when looking for source files.
|
74 | 76 | # This patterns also effect to html_static_path and html_extra_path
|
75 |
| -exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store'] |
| 77 | +exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"] |
76 | 78 |
|
77 | 79 | # The name of the Pygments (syntax highlighting) style to use.
|
78 |
| -pygments_style = 'sphinx' |
| 80 | +pygments_style = "sphinx" |
79 | 81 |
|
80 | 82 | # If true, `todo` and `todoList` produce output, else they produce nothing.
|
81 | 83 | todo_include_todos = False
|
82 | 84 |
|
83 | 85 |
|
84 |
| -autodoc_member_order = 'bysource' |
| 86 | +autodoc_member_order = "bysource" |
85 | 87 |
|
86 | 88 | # -- Options for HTML output ----------------------------------------------
|
87 | 89 |
|
88 | 90 | # The theme to use for HTML and HTML Help pages. See the documentation for
|
89 | 91 | # a list of builtin themes.
|
90 | 92 | #
|
91 |
| -html_theme = 'sphinx_rtd_theme' |
| 93 | +html_theme = "sphinx_rtd_theme" |
92 | 94 |
|
93 | 95 | # Theme options are theme-specific and customize the look and feel of a theme
|
94 | 96 | # further. For a list of options available for each theme, see the
|
|
99 | 101 | # Add any paths that contain custom static files (such as style sheets) here,
|
100 | 102 | # relative to this directory. They are copied after the builtin static files,
|
101 | 103 | # so a file named "default.css" will overwrite the builtin "default.css".
|
102 |
| -html_static_path = ['_static'] |
| 104 | +html_static_path = ["_static"] |
103 | 105 |
|
104 | 106 | # Custom sidebar templates, must be a dictionary that maps document names
|
105 | 107 | # to template names.
|
106 | 108 | #
|
107 | 109 | # This is required for the alabaster theme
|
108 | 110 | # refs: http://alabaster.readthedocs.io/en/latest/installation.html#sidebars
|
109 | 111 | html_sidebars = {
|
110 |
| - '**': [ |
111 |
| - 'relations.html', # needs 'show_related': True theme option to display |
112 |
| - 'searchbox.html', |
| 112 | + "**": [ |
| 113 | + "relations.html", # needs 'show_related': True theme option to display |
| 114 | + "searchbox.html", |
113 | 115 | ]
|
114 | 116 | }
|
115 | 117 |
|
116 | 118 |
|
117 | 119 | # -- Options for HTMLHelp output ------------------------------------------
|
118 | 120 |
|
119 | 121 | # Output file base name for HTML help builder.
|
120 |
| -htmlhelp_basename = 'libfvdoc' |
| 122 | +htmlhelp_basename = "libfvdoc" |
121 | 123 |
|
122 | 124 |
|
123 | 125 | # -- Options for LaTeX output ---------------------------------------------
|
|
126 | 128 | # The paper size ('letterpaper' or 'a4paper').
|
127 | 129 | #
|
128 | 130 | # 'papersize': 'letterpaper',
|
129 |
| - |
130 | 131 | # The font size ('10pt', '11pt' or '12pt').
|
131 | 132 | #
|
132 | 133 | # 'pointsize': '10pt',
|
133 |
| - |
134 | 134 | # Additional stuff for the LaTeX preamble.
|
135 | 135 | #
|
136 | 136 | # 'preamble': '',
|
137 |
| - |
138 | 137 | # Latex figure (float) alignment
|
139 | 138 | #
|
140 | 139 | # 'figure_align': 'htbp',
|
|
144 | 143 | # (source start file, target name, title,
|
145 | 144 | # author, documentclass [howto, manual, or own class]).
|
146 | 145 | latex_documents = [
|
147 |
| - (master_doc, 'libfv.tex', u'libfv Documentation', |
148 |
| - u'Christopher Simpkins', 'manual'), |
| 146 | + (master_doc, "libfv.tex", u"libfv Documentation", u"Christopher Simpkins", "manual"), |
149 | 147 | ]
|
150 | 148 |
|
151 | 149 |
|
152 | 150 | # -- Options for manual page output ---------------------------------------
|
153 | 151 |
|
154 | 152 | # One entry per manual page. List of tuples
|
155 | 153 | # (source start file, name, description, authors, manual section).
|
156 |
| -man_pages = [ |
157 |
| - (master_doc, 'libfv', u'libfv Documentation', |
158 |
| - [author], 1) |
159 |
| -] |
| 154 | +man_pages = [(master_doc, "libfv", u"libfv Documentation", [author], 1)] |
160 | 155 |
|
161 | 156 |
|
162 | 157 | # -- Options for Texinfo output -------------------------------------------
|
|
165 | 160 | # (source start file, target name, title, author,
|
166 | 161 | # dir menu entry, description, category)
|
167 | 162 | texinfo_documents = [
|
168 |
| - (master_doc, 'libfv', u'libfv Documentation', |
169 |
| - author, 'font-v', 'One line description of project.', |
170 |
| - 'Miscellaneous'), |
| 163 | + ( |
| 164 | + master_doc, |
| 165 | + "libfv", |
| 166 | + u"libfv Documentation", |
| 167 | + author, |
| 168 | + "font-v", |
| 169 | + "One line description of project.", |
| 170 | + "Miscellaneous", |
| 171 | + ), |
171 | 172 | ]
|
172 | 173 |
|
173 | 174 |
|
174 |
| - |
175 | 175 | # -- Options for Epub output ----------------------------------------------
|
176 | 176 |
|
177 | 177 | # Bibliographic Dublin Core info.
|
|
190 | 190 | # epub_uid = ''
|
191 | 191 |
|
192 | 192 | # A list of files that should not be packed into the epub file.
|
193 |
| -epub_exclude_files = ['search.html'] |
194 |
| - |
| 193 | +epub_exclude_files = ["search.html"] |
195 | 194 |
|
196 | 195 |
|
197 | 196 | # Example configuration for intersphinx: refer to the Python standard library.
|
198 |
| -intersphinx_mapping = {'https://docs.python.org/': None} |
| 197 | +intersphinx_mapping = {"https://docs.python.org/": None} |
0 commit comments