|
40 | 40 |
|
41 | 41 | # The theme to use for HTML and HTML Help pages. See the documentation for |
42 | 42 | # a list of builtin themes. |
43 | | -html_theme = 'sphinx_rtd_theme' |
| 43 | +html_theme = 'furo' |
44 | 44 |
|
45 | 45 | html_theme_options = { |
46 | | - 'collapse_navigation': False, |
| 46 | + 'light_css_variables': { |
| 47 | + 'color-brand-primary': 'var(--red)', |
| 48 | + 'color-brand-content': 'var(--red)', |
| 49 | + 'color-brand-visited': 'var(--red)', |
| 50 | + 'font-stack': 'ClarityCity, sans-serif', |
| 51 | + 'font-stack--monospace': 'Inconsolata, monospace', |
| 52 | + 'font-stack--headings': 'Inconsolata, monospace', |
| 53 | + }, |
| 54 | + 'dark_css_variables': { |
| 55 | + 'color-brand-primary': 'var(--red)', |
| 56 | + 'color-brand-content': 'var(--red)', |
| 57 | + 'color-brand-visited': 'var(--red)', |
| 58 | + }, |
| 59 | + 'top_of_page_buttons': ['edit'], |
| 60 | + 'source_edit_link': |
| 61 | + 'https://github.com/CourtBouillon/pydyf/edit/main/docs/{filename}', |
47 | 62 | } |
48 | 63 |
|
49 | 64 | # Favicon URL |
|
57 | 72 | # These paths are either relative to html_static_path |
58 | 73 | # or fully qualified paths (eg. https://...) |
59 | 74 | html_css_files = [ |
60 | | - 'https://www.courtbouillon.org/static/docs.css', |
| 75 | + 'https://www.courtbouillon.org/static/docs-furo.css', |
61 | 76 | ] |
62 | 77 |
|
63 | 78 | # Output file base name for HTML help builder. |
|
0 commit comments