|
32 | 32 |
|
33 | 33 | # theme |
34 | 34 | html_theme = "pydata_sphinx_theme" |
| 35 | +html_logo = "../packages/pyodide-kernel-extension/style/img/pyodide.svg" |
| 36 | +html_favicon = html_logo |
35 | 37 | html_theme_options = { |
36 | 38 | "github_url": P["urls"]["Source"], |
37 | | - "use_edit_page_button": True, |
38 | 39 | "icon_links": [ |
39 | | - { |
40 | | - "name": "PyPI", |
41 | | - "url": P["urls"]["PyPI"], |
42 | | - "icon": "fa-solid fa-box", |
43 | | - }, |
| 40 | + {"name": "PyPI", "url": P["urls"]["PyPI"], "icon": "fa-solid fa-box"} |
44 | 41 | ], |
| 42 | + "logo": { |
| 43 | + "text": P["name"] |
| 44 | + }, |
| 45 | + "navigation_with_keys": False, |
45 | 46 | "pygment_light_style": "github-light", |
46 | | - "pygment_dark_style": "github-dark" |
| 47 | + "pygment_dark_style": "github-dark", |
| 48 | + "use_edit_page_button": True, |
47 | 49 | } |
48 | 50 |
|
49 | 51 | github_user, github_repo = P["urls"]["Source"].split("/")[-2:] |
|
56 | 58 | } |
57 | 59 | # rely on the order of these to patch json, labextensions correctly |
58 | 60 | html_static_path = [ |
| 61 | + "./_static", |
59 | 62 | # as-built assets for testing "hot" downstreams against a PR without rebuilding |
60 | 63 | "../dist", |
61 | 64 | # as-built application, extensions, contents, and patched jupyter-lite.json |
62 | 65 | "../build/docs-app", |
63 | 66 | ] |
64 | 67 |
|
65 | | -# TODO: add the pyodide logo |
66 | | -# html_theme_options = { |
67 | | -# "logo": { |
68 | | -# "image_light": "TODO", |
69 | | -# "image_dark": "TODO", |
70 | | -# } |
71 | | -# } |
| 68 | +html_css_files = [ |
| 69 | + "variables.css", |
| 70 | +] |
0 commit comments