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