|
38 | 38 | # Get current directory
|
39 | 39 | conf_directory = os.path.dirname(os.path.realpath(__file__))
|
40 | 40 |
|
41 |
| -# If extensions (or modules to document with autodoc) are in another directory, |
42 |
| -# add these directories to sys.path here. If the directory is relative to the |
43 |
| -# documentation root, use os.path.abspath to make it absolute, like shown here. |
44 |
| -#sys.path.insert(0, os.path.abspath('.')) |
45 | 41 |
|
46 | 42 | # -- General configuration ------------------------------------------------
|
47 | 43 |
|
48 |
| -# If your documentation needs a minimal Sphinx version, state it here. |
49 |
| -#needs_sphinx = '1.0' |
50 |
| - |
51 | 44 | # Add any Sphinx extension module names here, as strings. They can be
|
52 | 45 | # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
|
53 | 46 | # ones.
|
|
58 | 51 | 'sphinxcontrib.jquery',
|
59 | 52 | 'sphinx.ext.todo',
|
60 | 53 | 'sphinx.ext.coverage',
|
61 |
| - 'sphinx.ext.mathjax' |
| 54 | + 'sphinx.ext.mathjax', |
| 55 | + 'm2r2' |
62 | 56 | ]
|
63 | 57 |
|
64 | 58 | # The main toctree document.
|
65 | 59 | master_doc = 'index'
|
66 | 60 |
|
67 | 61 | # Add any paths that contain templates here, relative to this directory.
|
68 |
| -# I think this is right: |
69 | 62 | templates_path = [os.path.join(conf_directory, 'sphinx/_templates')]
|
70 |
| -# Other variations: |
71 | 63 |
|
72 | 64 | # The suffix(es) of source filenames.
|
73 |
| -# You can specify multiple suffix as a list of string: |
74 |
| -# source_suffix = ['.rst', '.md'] |
75 |
| -source_suffix = ['.rst'] |
76 |
| - |
77 |
| -# The encoding of source files. |
78 |
| -#source_encoding = 'utf-8-sig' |
| 65 | +source_suffix = ['.rst', '.html', '.md'] |
79 | 66 |
|
80 | 67 | project = 'ReSolve'
|
81 | 68 | copyright = '2023, UT-Battelle, LLC, and Battelle Memorial Institute'
|
82 | 69 | author = 'Kasia Świrydowicz, Slaven Peles'
|
83 | 70 | release = '1.0.0'
|
84 | 71 |
|
85 |
| -# -- General configuration --------------------------------------------------- |
86 |
| -# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration |
87 |
| - |
| 72 | +templates_path = ['_templates'] |
88 | 73 | exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
|
89 | 74 |
|
| 75 | +root_doc = 'index' |
| 76 | + |
90 | 77 | # -- Option for numbering figures/tables/etc.-----------------------------------
|
91 | 78 | # Note: numfig requires Sphinx (1.3+)
|
92 | 79 | numfig = True
|
93 | 80 |
|
94 |
| -# The version info for the project you're documenting, acts as replacement for |
95 |
| -# |version| and |release|, also used in various other places throughout the |
96 |
| -# built documents. |
97 |
| -# |
98 |
| -# The short X.Y version. |
99 |
| -#version = '0.1' |
100 |
| -# The full version, including alpha/beta/rc tags. |
101 |
| -#release = '0.1' |
102 |
| - |
103 | 81 | # The language for content autogenerated by Sphinx. Refer to documentation
|
104 | 82 | # for a list of supported languages.
|
105 | 83 | #
|
106 | 84 | # This is also used if you do content translation via gettext catalogs.
|
107 | 85 | # Usually you set "language" from the command line for these cases.
|
108 | 86 | language = 'English'
|
109 | 87 |
|
110 |
| -# There are two options for replacing |today|: either, you set today to some |
111 |
| -# non-false value, then it is used: |
112 |
| -#today = '' |
113 |
| -# Else, today_fmt is used as the format for a strftime call. |
114 |
| -#today_fmt = '%B %d, %Y' |
115 |
| - |
116 | 88 | # List of patterns, relative to source directory, that match files and
|
117 | 89 | # directories to ignore when looking for source files.
|
118 | 90 | exclude_patterns = [
|
119 | 91 | 'cmake/blt/docs',
|
120 |
| - 'thirdparty'] |
121 |
| - |
122 |
| -# The reST default role (used for this markup: `text`) to use for all |
123 |
| -# documents. |
124 |
| -#default_role = None |
125 |
| - |
126 |
| -# If true, '()' will be appended to :func: etc. cross-reference text. |
127 |
| -#add_function_parentheses = True |
128 |
| - |
129 |
| -# If true, the current module name will be prepended to all description |
130 |
| -# unit titles (such as .. function::). |
131 |
| -#add_module_names = True |
132 |
| - |
133 |
| -# If true, sectionauthor and moduleauthor directives will be shown in the |
134 |
| -# output. They are ignored by default. |
135 |
| -#show_authors = False |
| 92 | + 'thirdparty', |
| 93 | + 'doxygen-awesome-css' |
| 94 | + ] |
136 | 95 |
|
137 | 96 | # The name of the Pygments (syntax highlighting) style to use.
|
138 | 97 | pygments_style = 'default'
|
139 | 98 |
|
140 |
| -# A list of ignored prefixes for module index sorting. |
141 |
| -#modindex_common_prefix = [] |
142 |
| - |
143 |
| -# If true, keep warnings as "system message" paragraphs in the built documents. |
144 |
| -#keep_warnings = False |
145 |
| - |
146 | 99 | # If true, `todo` and `todoList` produce output, else they produce nothing.
|
147 | 100 | todo_include_todos = False
|
148 | 101 |
|
|
165 | 118 | html_theme_options = {}
|
166 | 119 | html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
|
167 | 120 |
|
168 |
| -# The name for this set of Sphinx documents. If None, it defaults to |
169 |
| -# "<project> v<release> documentation". |
170 |
| -#html_title = None |
171 |
| - |
172 |
| -# A shorter title for the navigation bar. Default is the same as html_title. |
173 |
| -#html_short_title = None |
174 |
| - |
175 |
| -# The name of an image file (relative to this directory) to place at the top |
176 |
| -# of the sidebar. |
177 |
| -#html_logo = None |
178 |
| - |
179 |
| -# The name of an image file (within the static path) to use as favicon of the |
180 |
| -# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 |
181 |
| -# pixels large. |
182 |
| -#html_favicon = None |
183 |
| - |
184 |
| -# Add any paths that contain custom static files (such as style sheets) here, |
185 |
| -# relative to this directory. They are copied after the builtin static files, |
186 |
| -# so a file named "default.css" will overwrite the builtin "default.css". |
187 |
| - |
188 |
| -# all static files should be in the _build/_static directory |
189 |
| -# readthedocs server checks out the github repo and paths remain the same |
190 |
| -html_static_path = [os.path.join(conf_directory, 'sphinx/_build/_static')] |
191 |
| - |
192 |
| -#html_static_path = ['docs/sphinx/_build/_static/theme_overrides.css'] |
193 |
| - |
194 |
| -# Add any extra paths that contain custom files (such as robots.txt or |
195 |
| -# .htaccess) here, relative to this directory. These files are copied |
196 |
| -# directly to the root of the documentation. |
197 |
| -#html_extra_path = [] |
198 |
| - |
199 |
| -# If not '', a 'Last updated on:' timestamp is inserted at every page bottom, |
200 |
| -# using the given strftime format. |
201 |
| -#html_last_updated_fmt = '%b %d, %Y' |
202 |
| - |
203 |
| -# If true, SmartyPants will be used to convert quotes and dashes to |
204 |
| -# typographically correct entities. |
205 |
| -#html_use_smartypants = True |
206 |
| - |
207 |
| -# Custom sidebar templates, maps document names to template names. |
208 |
| -#html_sidebars = {} |
209 |
| - |
210 |
| -# Additional templates that should be rendered to pages, maps page names to |
211 |
| -# template names. |
212 |
| -#html_additional_pages = {} |
213 |
| - |
214 |
| -# If false, no module index is generated. |
215 |
| -#html_domain_indices = True |
216 |
| - |
217 |
| -# If false, no index is generated. |
218 |
| -#html_use_index = True |
219 |
| - |
220 |
| -# If true, the index is split into individual pages for each letter. |
221 |
| -#html_split_index = False |
222 |
| - |
223 |
| -# If true, links to the reST sources are added to the pages. |
224 |
| -#html_show_sourcelink = True |
225 |
| - |
226 |
| -# If true, "Created using Sphinx" is shown in the HTML footer. Default is True. |
227 |
| -#html_show_sphinx = True |
228 |
| - |
229 |
| -# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True. |
230 |
| -#html_show_copyright = True |
231 |
| - |
232 |
| -# If true, an OpenSearch description file will be output, and all pages will |
233 |
| -# contain a <link> tag referring to it. The value of this option must be the |
234 |
| -# base URL from which the finished HTML is served. |
235 |
| -#html_use_opensearch = '' |
236 |
| - |
237 |
| -# This is the file name suffix for HTML files (e.g. ".xhtml"). |
238 |
| -#html_file_suffix = None |
239 |
| - |
240 |
| -# Language to be used for generating the HTML full-text search index. |
241 |
| -# Sphinx supports the following languages: |
242 |
| -# 'da', 'de', 'en', 'es', 'fi', 'fr', 'hu', 'it', 'ja' |
243 |
| -# 'nl', 'no', 'pt', 'ro', 'ru', 'sv', 'tr' |
244 |
| -#html_search_language = 'en' |
245 |
| - |
246 |
| -# A dictionary with options for the search language support, empty by default. |
247 |
| -# Now only 'ja' uses this config value |
248 |
| -#html_search_options = {'type': 'default'} |
249 |
| - |
250 |
| -# The name of a javascript file (relative to the configuration directory) that |
251 |
| -# implements a search results scorer. If empty, the default will be used. |
252 |
| -#html_search_scorer = 'scorer.js' |
253 | 121 |
|
254 | 122 | # Output file base name for HTML help builder.
|
255 | 123 | htmlhelp_basename = 'ReSolve'
|
|
258 | 126 | # override wide tables in RTD theme
|
259 | 127 | # (Thanks to https://rackerlabs.github.io/docs-rackspace/tools/rtd-tables.html)
|
260 | 128 | # These folders are copied to the documentation's HTML output
|
261 |
| -# html_static_path = ['sphinx/_static'] |
| 129 | +html_static_path = ['./sphinx/style'] |
262 | 130 |
|
263 | 131 | # These paths are either relative to html_static_path
|
264 | 132 | # or fully qualified paths (eg. https://...)
|
|
0 commit comments