|
| 1 | +from __future__ import annotations |
| 2 | + |
| 3 | +from pathlib import Path |
| 4 | + |
| 5 | +project = "BEATBox Documentation" |
| 6 | +author = "NERB team" |
| 7 | +copyright = "2026, NERB team" |
| 8 | +release = "draft" |
| 9 | + |
| 10 | +extensions = [ |
| 11 | + "myst_parser", |
| 12 | + "sphinx_design", |
| 13 | +] |
| 14 | + |
| 15 | +templates_path = ["_templates"] |
| 16 | +exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"] |
| 17 | + |
| 18 | +source_suffix = { |
| 19 | + ".rst": "restructuredtext", |
| 20 | + ".md": "markdown", |
| 21 | +} |
| 22 | + |
| 23 | +html_theme = "furo" |
| 24 | +html_title = "BEATBox Documentation" |
| 25 | +html_static_path = ["_static"] |
| 26 | +html_favicon = "../../site/public/favicon.png" |
| 27 | +html_logo = "../../site/public/images/beatbox-logo.png" |
| 28 | + |
| 29 | +html_theme_options = { |
| 30 | + "light_css_variables": { |
| 31 | + "color-brand-primary": "#0891b2", |
| 32 | + "color-brand-content": "#0e7490", |
| 33 | + }, |
| 34 | + "dark_css_variables": { |
| 35 | + "color-brand-primary": "#67e8f9", |
| 36 | + "color-brand-content": "#67e8f9", |
| 37 | + }, |
| 38 | + "source_repository": "https://github.com/Open-BeatBox/Open-BeatBox.github.io/", |
| 39 | + "source_branch": "main", |
| 40 | + "source_directory": "docs/source/", |
| 41 | +} |
| 42 | + |
| 43 | +myst_enable_extensions = [ |
| 44 | + "colon_fence", |
| 45 | + "deflist", |
| 46 | + "linkify", |
| 47 | + "substitution", |
| 48 | + "tasklist", |
| 49 | +] |
| 50 | + |
| 51 | +root_doc = "index" |
| 52 | + |
| 53 | +nitpicky = False |
| 54 | + |
| 55 | +html_context = { |
| 56 | + "display_github": True, |
| 57 | + "github_user": "Open-BeatBox", |
| 58 | + "github_repo": "Open-BeatBox.github.io", |
| 59 | + "github_version": "main", |
| 60 | + "conf_py_path": "/docs/source/", |
| 61 | +} |
| 62 | + |
| 63 | +_static = Path(__file__).parent / "_static" |
| 64 | +_static.mkdir(exist_ok=True) |
0 commit comments