Download docs/conf.py from aibergman/FourJ: direct link, hf CLI and curl.
- Browser
- Download file 657 Bytes
-
https://huggingface.co/spaces/aibergman/FourJ/resolve/main/docs/conf.py
- Command line
-
hf download hf://spaces/aibergman/FourJ/docs/conf.py
-
curl -L -o conf.py https://huggingface.co/spaces/aibergman/FourJ/resolve/main/docs/conf.py
657 Bytes
| """Sphinx configuration for FourJ.""" | |
| from __future__ import annotations | |
| from pathlib import Path | |
| import sys | |
| ROOT = Path(__file__).resolve().parents[1] | |
| sys.path.insert(0, str(ROOT / "src")) | |
| project = "FourJ" | |
| author = "Anders B" | |
| release = "0.1.0" | |
| extensions = [ | |
| "myst_parser", | |
| "sphinx.ext.autodoc", | |
| "sphinx.ext.mathjax", | |
| "sphinx.ext.napoleon", | |
| "sphinx.ext.viewcode", | |
| ] | |
| autodoc_typehints = "description" | |
| autodoc_member_order = "bysource" | |
| napoleon_google_docstring = True | |
| napoleon_numpy_docstring = True | |
| templates_path = ["_templates"] | |
| exclude_patterns: list[str] = [] | |
| html_theme = "sphinx_rtd_theme" | |
| html_static_path = ["_static"] | |