| 1 | """Sphinx configuration for Complex CLI documentation.""" |
| 2 | |
| 3 | import sys |
| 4 | from pathlib import Path |
| 5 | |
| 6 | # Add the complex-demo directory to sys.path so we can import complex_app |
| 7 | sys.path.insert(0, str(Path(__file__).parent.parent.parent)) |
| 8 | |
| 9 | project = "Complex CLI" |
| 10 | copyright = "2024, Cyclopts" |
| 11 | author = "Cyclopts" |
| 12 | |
| 13 | extensions = [ |
| 14 | "cyclopts.ext.sphinx", |
| 15 | "sphinx.ext.autodoc", |
| 16 | ] |
| 17 | |
| 18 | templates_path = ["_templates"] |
| 19 | exclude_patterns = [] |
| 20 | |
| 21 | html_theme = "alabaster" |
| 22 | html_static_path = ["_static"] |
| 23 | |
| 24 | # Suppress warnings about missing static paths |
| 25 | html_static_path = [] |