| 1 |
# -*- coding: utf-8 -*- |
| 2 |
|
| 3 |
# pylint: skip-file |
| 4 |
|
| 5 |
import os |
| 6 |
import sys |
| 7 |
|
| 8 |
sys.path.insert(0, os.path.abspath("..")) |
| 9 |
|
| 10 |
import cdlclient # noqa: E402 |
| 11 |
|
| 12 |
os.environ["CDL_DOC"] = "1" |
| 13 |
|
| 14 |
# -- Project information ----------------------------------------------------- |
| 15 |
|
| 16 |
project = "DataLab Simple Client" |
| 17 |
author = "" |
| 18 |
copyright = "2023, Codra - Pierre Raybaut" |
| 19 |
html_logo = "_static/DataLab-title.png" |
| 20 |
latex_logo = "_static/DataLab-Frontpage.png" |
| 21 |
release = cdlclient.__version__ |
| 22 |
|
| 23 |
# -- General configuration --------------------------------------------------- |
| 24 |
|
| 25 |
extensions = ["sphinx.ext.intersphinx", "sphinx.ext.napoleon", "sphinx.ext.mathjax"] |
| 26 |
templates_path = ["_templates"] |
| 27 |
exclude_patterns = [] |
| 28 |
|
| 29 |
# -- Options for HTML output ------------------------------------------------- |
| 30 |
|
| 31 |
html_theme = "pydata_sphinx_theme" |
| 32 |
html_theme_options = {"show_toc_level": 2} |
| 33 |
html_static_path = ["_static"] |
| 34 |
|
| 35 |
# -- Options for sphinx-intl package ----------------------------------------- |
| 36 |
|
| 37 |
locale_dirs = ["locale/"] # path is example but recommended. |
| 38 |
gettext_compact = False # optional. |
| 39 |
|
| 40 |
# -- Options for autodoc extension ------------------------------------------- |
| 41 |
|
| 42 |
autodoc_default_options = { |
| 43 |
"members": True, |
| 44 |
"member-order": "bysource", |
| 45 |
} |
| 46 |
|
| 47 |
# -- Options for intersphinx extension --------------------------------------- |
| 48 |
|
| 49 |
intersphinx_mapping = { |
| 50 |
"python": ("https://docs.python.org/3", None), |
| 51 |
"guidata": ("https://guidata.readthedocs.io/en/latest/", None), |
| 52 |
} |