-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhooks.py
More file actions
24 lines (21 loc) · 849 Bytes
/
Copy pathhooks.py
File metadata and controls
24 lines (21 loc) · 849 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
from mkdocs.structure.files import File
_DOC_ASSETS = (
"assets/diagrams/architecture-overview.png",
"assets/diagrams/automatic-index-planning.png",
"assets/diagrams/geometry-layout.png",
"assets/diagrams/ingestion-paths.png",
"assets/diagrams/index-cost-comparison.png",
"assets/diagrams/execution-routing.png",
"assets/diagrams/kernel-result-pipeline.png",
"assets/diagrams/morsel-aggregation.png",
"assets/diagrams/morsel-execution.png",
"assets/diagrams/query-plan-rewrites.png",
"assets/diagrams/query-plan-transformation.png",
"assets/pycanopy_logo3.png",
"assets/spatialbench_sf1.png",
"assets/spatialbench_sf10.png",
)
def on_files(files, config):
for path in _DOC_ASSETS:
files.append(File(path, ".", config["site_dir"], config["use_directory_urls"]))
return files