83
83
# Add any Sphinx extension module names here, as strings. They can be
84
84
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
85
85
# ones.
86
- sys .path .append (os .path .abspath ('sphinxext' ))
87
86
extensions = [
88
87
'sphinx.ext.autodoc' ,
89
88
'sphinx.ext.autosummary' ,
90
89
'sphinx.ext.intersphinx' ,
91
90
'sphinx.ext.linkcode' ,
92
91
'sphinx.ext.mathjax' ,
93
92
'sphinx.ext.napoleon' ,
94
- # 'matplotlib.sphinxext.plot_directive',
95
93
'myst_nb' ,
96
94
"sphinx_remove_toctrees" ,
97
95
'sphinx_copybutton' ,
98
- 'jax_extensions' ,
99
96
'sphinx_design' ,
100
- 'sphinxext.rediraffe' ,
101
97
'sphinxcontrib.mermaid' ,
102
98
'sphinx_autodoc_typehints' ,
103
99
192
188
'navigation_with_keys' : False ,
193
189
}
194
190
195
- # The name of an image file (relative to this directory) to place at the top
196
- # of the sidebar.
197
- html_logo = './_static/logo_sphinx.png'
198
-
199
- # html_favicon = '_static/favicon.png'
200
- html_favicon = '../favicon.png'
201
-
202
-
203
191
# Add any paths that contain custom
204
192
# static files (such as style sheets) here,
205
193
# relative to this directory. They are copied after the builtin static files,
206
194
# so a file named "default.css" will overwrite the builtin "default.css".
207
195
html_static_path = ['_static' ]
208
196
197
+ # The name of an image file (relative to this directory) to place at the top
198
+ # of the sidebar.
199
+ html_logo = '_static/logo_sphinx.png'
200
+ html_favicon = '_static/logo_favicon.ico'
201
+
209
202
html_css_files = [
210
203
'style.css' ,
211
204
]
212
205
206
+
213
207
# Custom sidebar templates, must be a dictionary that maps document names
214
208
# to template names.
215
209
#
231
225
# Notebook cell execution timeout; defaults to 30.
232
226
nb_execution_timeout = 100
233
227
234
- # # List of patterns, relative to source directory, that match notebook
235
- # # files that will not be executed.
236
- # nb_execution_excludepatterns = [
237
- # # Slow notebook: long time to load tf.ds
238
- # 'notebooks/neural_network_with_tfds_data.*',
239
- # # Slow notebook
240
- # 'notebooks/Neural_Network_and_Data_Loading.*',
241
- # # Has extra requirements: networkx, pandas, pytorch, tensorflow, etc.
242
- # 'jep/9407-type-promotion.*',
243
- # # TODO(jakevdp): enable execution on the following if possible:
244
- # 'notebooks/Distributed_arrays_and_automatic_parallelization.*',
245
- # 'notebooks/autodiff_remat.*',
246
- # # Requires accelerators
247
- # 'pallas/quickstart.*',
248
- # 'pallas/tpu/pipelining.*',
249
- # 'pallas/tpu/matmul.*',
250
- # 'sharded-computation.*',
251
- # 'distributed_data_loading.*'
252
- # ]
253
-
254
228
# -- Options for HTMLHelp output ---------------------------------------------
255
229
256
230
# Output file base name for HTML help builder.
@@ -365,8 +339,4 @@ def linkcode_resolve(domain, info):
365
339
return None
366
340
filename = os .path .relpath (filename , start = os .path .dirname (diffCheck .__file__ ))
367
341
lines = f"#L{ linenum } -L{ linenum + len (source )} " if linenum else ""
368
- return f"https://github.com/diffCheckOrg/diffCheck/blob/main/diffCheck/{ filename } { lines } "
369
-
370
-
371
- # FIXME: this is a temporary fix to suppress redirects warn on console build
372
- rediraffe_redirects = "redirects.txt"
342
+ return f"https://github.com/diffCheckOrg/diffCheck/blob/main/diffCheck/{ filename } { lines } "
0 commit comments