-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathconf.py
More file actions
72 lines (58 loc) · 1.75 KB
/
Copy pathconf.py
File metadata and controls
72 lines (58 loc) · 1.75 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# Configuration file for the Sphinx documentation builder.
# https://www.sphinx-doc.org/en/master/usage/configuration.html
# -- Project information -----------------------------------------------------
project = "Volto Hydra"
copyright = "2024, Plone Collective"
author = "Plone Collective"
# -- General configuration ---------------------------------------------------
extensions = [
"myst_parser",
"sphinx_copybutton",
]
# MyST configuration
myst_enable_extensions = [
"colon_fence",
"linkify",
"substitution",
"deflist",
]
myst_heading_anchors = 3
# Source settings
source_suffix = {
".md": "markdown",
}
# Exclude patterns
exclude_patterns = [
"_build",
"Thumbs.db",
".DS_Store",
"**/node_modules",
"**/test-react",
"**/test-vue",
"**/test-svelte",
"**/examples",
"**/fixtures",
"**/*.mjs",
"**/*.json",
"content/**",
]
# -- Options for HTML output -------------------------------------------------
html_theme = "sphinx_book_theme"
html_theme_options = {
"repository_url": "https://github.com/collective/volto-hydra",
"use_repository_button": True,
"use_edit_page_button": True,
"path_to_docs": "docs",
"show_toc_level": 2,
"navigation_with_keys": True,
"announcement": "⚠️ Volto Hydra is a Work in Progress — not yet recommended for production use.",
}
html_title = "Volto Hydra Documentation"
html_logo = None
html_favicon = None
# Static asset directory — anything in docs/_static/ ships as-is in the
# built site under /_static/. Used for the homepage demo video.
html_static_path = ["_static"]
# -- Options for copybutton --------------------------------------------------
copybutton_prompt_text = r">>> |\.\.\. |\$ "
copybutton_prompt_is_regexp = True