-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathzensical.toml
More file actions
156 lines (144 loc) · 5.46 KB
/
Copy pathzensical.toml
File metadata and controls
156 lines (144 loc) · 5.46 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
# Zensical configuration for the documentation site (https://zensical.org).
#
# Sources live in docs/. Preview locally with `uv run --group docs zensical serve`;
# .github/workflows/docs.yml builds and publishes the site to GitHub Pages on pushes to main.
[project]
site_name = "Photo Tagger"
site_description = """
Command-line tool that asks a vision-language model to describe your photos and writes \
Lightroom-compatible keywords, titles, and descriptions as XMP sidecars or embedded metadata.\
"""
site_author = "Julio Batista Silva"
site_url = "https://jbsilva.github.io/photo-tagger/"
# Adds the repository link in the page header and powers the edit/view page buttons.
repo_url = "https://github.com/jbsilva/photo-tagger"
repo_name = "jbsilva/photo-tagger"
edit_uri = "edit/main/docs/"
copyright = """
Copyright © Julio Batista Silva and contributors. MIT license.
"""
# Custom styles layered on top of the theme.
extra_css = ["stylesheets/extra.css"]
nav = [
{ "Home" = "index.md" },
{ "Getting started" = [
"getting-started/index.md",
{ "Installation" = "getting-started/installation.md" },
{ "Configuration" = "getting-started/configuration.md" },
] },
{ "Usage" = [
"usage/index.md",
{ "CLI reference" = "usage/cli-reference.md" },
{ "Desktop GUI" = "usage/gui.md" },
{ "Translations" = "usage/translations.md" },
{ "Recipes" = "usage/recipes.md" },
] },
{ "Troubleshooting" = "troubleshooting.md" },
{ "Architecture" = [
"architecture/index.md",
{ "Processing pipeline" = "architecture/pipeline.md" },
{ "AI providers" = "architecture/ai-providers.md" },
{ "Metadata and keywords" = "architecture/metadata.md" },
{ "Caching and locking" = "architecture/caching.md" },
] },
{ "Development" = [
"development/index.md",
{ "Testing" = "development/testing.md" },
{ "Code quality" = "development/code-quality.md" },
{ "Dependencies" = "development/dependencies.md" },
{ "Documentation" = "development/documentation.md" },
] },
{ "Telemetry" = "telemetry.md" },
{ "Contributing" = "contributing.md" },
{ "License" = "license.md" },
]
[project.theme]
language = "en"
features = [
# Let readers dismiss the announcement bar (if one is ever configured).
"announce.dismiss",
# Edit/view buttons on each page, linking to the file on GitHub via edit_uri.
"content.action.edit",
"content.action.view",
# Code block niceties: annotations, copy button, line-range selection.
"content.code.annotate",
"content.code.copy",
"content.code.select",
# Read footnotes inline without jumping to the bottom of the page.
"content.footnote.tooltips",
# Switch all same-named content tabs together.
"content.tabs.link",
"content.tooltips",
# Previous/next links in the footer.
"navigation.footer",
# Section index pages: a section can have its own overview page (index.md).
"navigation.indexes",
# SPA-style navigation: intercept internal links and prefetch on hover.
"navigation.instant",
"navigation.instant.prefetch",
# Breadcrumbs above the page title.
"navigation.path",
# Group top-level sections in the sidebar on wide viewports.
"navigation.sections",
# Render top-level sections as tabs below the header on wide viewports.
"navigation.tabs",
# Back-to-top button and URL anchor tracking while scrolling.
"navigation.top",
"navigation.tracking",
# Highlight search terms on the target page after following a search result.
"search.highlight",
# Keep the active table-of-contents entry scrolled into view.
"toc.follow",
]
# Light/dark mode toggle.
[[project.theme.palette]]
scheme = "default"
toggle.icon = "lucide/sun"
toggle.name = "Switch to dark mode"
[[project.theme.palette]]
scheme = "slate"
toggle.icon = "lucide/moon"
toggle.name = "Switch to light mode"
[[project.extra.social]]
icon = "fontawesome/brands/github"
link = "https://github.com/jbsilva/photo-tagger"
[[project.extra.social]]
icon = "fontawesome/brands/python"
link = "https://pypi.org/project/photo-tagger/"
# Markdown extensions (the Zensical defaults: admonitions, footnotes, content tabs,
# syntax highlighting, task lists, Mermaid diagrams via superfences, ...).
[project.markdown_extensions.abbr]
[project.markdown_extensions.admonition]
[project.markdown_extensions.attr_list]
[project.markdown_extensions.def_list]
[project.markdown_extensions.footnotes]
[project.markdown_extensions.md_in_html]
[project.markdown_extensions.toc]
permalink = true
[project.markdown_extensions.pymdownx.arithmatex]
generic = true
[project.markdown_extensions.pymdownx.betterem]
[project.markdown_extensions.pymdownx.caret]
[project.markdown_extensions.pymdownx.details]
[project.markdown_extensions.pymdownx.emoji]
emoji_generator = "zensical.extensions.emoji.to_svg"
emoji_index = "zensical.extensions.emoji.twemoji"
[project.markdown_extensions.pymdownx.highlight]
anchor_linenums = true
line_spans = "__span"
pygments_lang_class = true
[project.markdown_extensions.pymdownx.inlinehilite]
[project.markdown_extensions.pymdownx.keys]
[project.markdown_extensions.pymdownx.magiclink]
[project.markdown_extensions.pymdownx.mark]
[project.markdown_extensions.pymdownx.smartsymbols]
[project.markdown_extensions.pymdownx.superfences]
custom_fences = [
{ name = "mermaid", class = "mermaid", format = "pymdownx.superfences.fence_code_format" },
]
[project.markdown_extensions.pymdownx.tabbed]
alternate_style = true
combine_header_slug = true
[project.markdown_extensions.pymdownx.tasklist]
custom_checkbox = true
[project.markdown_extensions.pymdownx.tilde]