File tree Expand file tree Collapse file tree 2 files changed +17
-2
lines changed Expand file tree Collapse file tree 2 files changed +17
-2
lines changed Original file line number Diff line number Diff line change 16
16
17
17
extensions = [
18
18
'myst_nb' ,
19
+ 'sphinx_copybutton' ,
19
20
]
20
21
21
22
templates_path = ['_templates' ]
26
27
# -- Options for HTML output -------------------------------------------------
27
28
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
28
29
29
- html_theme = 'alabaster'
30
- html_static_path = []
30
+ html_theme = 'sphinx_book_theme'
31
+ html_title = 'JAX AI Stack'
32
+ html_static_path = ['' ]
33
+
34
+ # Theme-specific options
35
+ # https://sphinx-book-theme.readthedocs.io/en/stable/reference.html
36
+ html_theme_options = {
37
+ 'show_navbar_depth' : 2 ,
38
+ 'show_toc_level' : 2 ,
39
+ 'repository_url' : 'https://github.com/jax-ml/jax-ai-stack' ,
40
+ 'path_to_docs' : 'docs/' ,
41
+ 'use_repository_button' : True ,
42
+ 'navigation_with_keys' : True ,
43
+ }
31
44
32
45
exclude_patterns = [
33
46
# Sometimes sphinx reads its own outputs as inputs!
Original file line number Diff line number Diff line change 2
2
sphinx
3
3
myst-nb
4
4
myst-parser [linkify ]
5
+ sphinx-book-theme
6
+ sphinx-copybutton
5
7
6
8
# Packages required for notebook execution
7
9
matplotlib
You can’t perform that action at this time.
0 commit comments