zensical-tarn 1.0.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (120) hide show
  1. zensical_tarn-1.0.0/.gitignore +12 -0
  2. zensical_tarn-1.0.0/AGENTS.md +17 -0
  3. zensical_tarn-1.0.0/CHANGELOG.md +5 -0
  4. zensical_tarn-1.0.0/LICENSE +202 -0
  5. zensical_tarn-1.0.0/LICENSES/zensical-ui.MIT.txt +19 -0
  6. zensical_tarn-1.0.0/NOTICE +25 -0
  7. zensical_tarn-1.0.0/PKG-INFO +110 -0
  8. zensical_tarn-1.0.0/README.md +81 -0
  9. zensical_tarn-1.0.0/RELEASING.md +358 -0
  10. zensical_tarn-1.0.0/UPGRADING_ZENSICAL.md +594 -0
  11. zensical_tarn-1.0.0/design/README.md +30 -0
  12. zensical_tarn-1.0.0/design/logo/tarn-apple-touch-icon.png +0 -0
  13. zensical_tarn-1.0.0/design/logo/tarn-favicon-32.png +0 -0
  14. zensical_tarn-1.0.0/design/logo/tarn-favicon.svg +1 -0
  15. zensical_tarn-1.0.0/design/logo/tarn-lockup.png +0 -0
  16. zensical_tarn-1.0.0/design/logo/tarn-logo-512.png +0 -0
  17. zensical_tarn-1.0.0/design/logo/tarn-logo-mono-light.svg +1 -0
  18. zensical_tarn-1.0.0/design/logo/tarn-logo-mono.svg +1 -0
  19. zensical_tarn-1.0.0/design/logo/tarn-logo.svg +1 -0
  20. zensical_tarn-1.0.0/design/tokens.json +600 -0
  21. zensical_tarn-1.0.0/docs/about/index.md +31 -0
  22. zensical_tarn-1.0.0/docs/assets/favicon.svg +1 -0
  23. zensical_tarn-1.0.0/docs/assets/logo.svg +1 -0
  24. zensical_tarn-1.0.0/docs/assets/screenshots/adjust-colour-result.png +0 -0
  25. zensical_tarn-1.0.0/docs/assets/screenshots/mapped-sections-tabs.png +0 -0
  26. zensical_tarn-1.0.0/docs/assets/screenshots/site-howto-dark.png +0 -0
  27. zensical_tarn-1.0.0/docs/assets/screenshots/site-howto-light.png +0 -0
  28. zensical_tarn-1.0.0/docs/assets/screenshots/site-sidebar-navigation-light.png +0 -0
  29. zensical_tarn-1.0.0/docs/contributing/index.md +142 -0
  30. zensical_tarn-1.0.0/docs/explanation/colour.md +43 -0
  31. zensical_tarn-1.0.0/docs/explanation/design-principles.md +19 -0
  32. zensical_tarn-1.0.0/docs/explanation/diataxis-navigation.md +79 -0
  33. zensical_tarn-1.0.0/docs/explanation/index.md +7 -0
  34. zensical_tarn-1.0.0/docs/how-to/add-project-logo.md +42 -0
  35. zensical_tarn-1.0.0/docs/how-to/adjust-colours.md +76 -0
  36. zensical_tarn-1.0.0/docs/how-to/index.md +14 -0
  37. zensical_tarn-1.0.0/docs/how-to/name-sections.md +106 -0
  38. zensical_tarn-1.0.0/docs/how-to/self-host-fonts.md +147 -0
  39. zensical_tarn-1.0.0/docs/how-to/set-default-colour-mode.md +74 -0
  40. zensical_tarn-1.0.0/docs/how-to/set-page-type.md +46 -0
  41. zensical_tarn-1.0.0/docs/how-to/use-sidebar-navigation.md +44 -0
  42. zensical_tarn-1.0.0/docs/index.md +55 -0
  43. zensical_tarn-1.0.0/docs/reference/components.md +214 -0
  44. zensical_tarn-1.0.0/docs/reference/configuration.md +225 -0
  45. zensical_tarn-1.0.0/docs/reference/css-properties.md +118 -0
  46. zensical_tarn-1.0.0/docs/reference/index.md +8 -0
  47. zensical_tarn-1.0.0/docs/reference/section-folders.md +63 -0
  48. zensical_tarn-1.0.0/docs/stylesheets/docs.css +11 -0
  49. zensical_tarn-1.0.0/docs/tutorials/first-site.md +196 -0
  50. zensical_tarn-1.0.0/docs/tutorials/index.md +7 -0
  51. zensical_tarn-1.0.0/examples/minimal-site/docs/about/index.md +3 -0
  52. zensical_tarn-1.0.0/examples/minimal-site/docs/assets/logo.svg +1 -0
  53. zensical_tarn-1.0.0/examples/minimal-site/docs/explanation/index.md +3 -0
  54. zensical_tarn-1.0.0/examples/minimal-site/docs/how-to/index.md +3 -0
  55. zensical_tarn-1.0.0/examples/minimal-site/docs/index.md +7 -0
  56. zensical_tarn-1.0.0/examples/minimal-site/docs/reference/index.md +3 -0
  57. zensical_tarn-1.0.0/examples/minimal-site/docs/tutorials/index.md +3 -0
  58. zensical_tarn-1.0.0/examples/minimal-site/zensical.toml +16 -0
  59. zensical_tarn-1.0.0/pyproject.toml +99 -0
  60. zensical_tarn-1.0.0/pyrightconfig.json +6 -0
  61. zensical_tarn-1.0.0/release-review.toml +7 -0
  62. zensical_tarn-1.0.0/screenshots/README.md +15 -0
  63. zensical_tarn-1.0.0/screenshots/components/admonitions-dark.png +0 -0
  64. zensical_tarn-1.0.0/screenshots/components/admonitions-light.png +0 -0
  65. zensical_tarn-1.0.0/screenshots/components/buttons-dark.png +0 -0
  66. zensical_tarn-1.0.0/screenshots/components/buttons-light.png +0 -0
  67. zensical_tarn-1.0.0/screenshots/components/code-block-dark.png +0 -0
  68. zensical_tarn-1.0.0/screenshots/components/code-block-light.png +0 -0
  69. zensical_tarn-1.0.0/screenshots/components/content-tabs-dark.png +0 -0
  70. zensical_tarn-1.0.0/screenshots/components/content-tabs-light.png +0 -0
  71. zensical_tarn-1.0.0/screenshots/components/diataxis-badges-dark.png +0 -0
  72. zensical_tarn-1.0.0/screenshots/components/diataxis-badges-light.png +0 -0
  73. zensical_tarn-1.0.0/screenshots/components/header-and-tabs-dark.png +0 -0
  74. zensical_tarn-1.0.0/screenshots/components/header-and-tabs-light.png +0 -0
  75. zensical_tarn-1.0.0/screenshots/components/inline-code-keys-mark-dark.png +0 -0
  76. zensical_tarn-1.0.0/screenshots/components/inline-code-keys-mark-light.png +0 -0
  77. zensical_tarn-1.0.0/screenshots/components/sidebar-navigation-dark.png +0 -0
  78. zensical_tarn-1.0.0/screenshots/components/sidebar-navigation-light.png +0 -0
  79. zensical_tarn-1.0.0/screenshots/components/table-dark.png +0 -0
  80. zensical_tarn-1.0.0/screenshots/components/table-light.png +0 -0
  81. zensical_tarn-1.0.0/screenshots/site/site-about-dark.png +0 -0
  82. zensical_tarn-1.0.0/screenshots/site/site-about-light.png +0 -0
  83. zensical_tarn-1.0.0/screenshots/site/site-components-dark.png +0 -0
  84. zensical_tarn-1.0.0/screenshots/site/site-components-light.png +0 -0
  85. zensical_tarn-1.0.0/screenshots/site/site-explanation-dark.png +0 -0
  86. zensical_tarn-1.0.0/screenshots/site/site-explanation-light.png +0 -0
  87. zensical_tarn-1.0.0/screenshots/site/site-home-dark.png +0 -0
  88. zensical_tarn-1.0.0/screenshots/site/site-home-light.png +0 -0
  89. zensical_tarn-1.0.0/screenshots/site/site-howto-dark.png +0 -0
  90. zensical_tarn-1.0.0/screenshots/site/site-howto-light.png +0 -0
  91. zensical_tarn-1.0.0/screenshots/site/site-reference-dark.png +0 -0
  92. zensical_tarn-1.0.0/screenshots/site/site-reference-light.png +0 -0
  93. zensical_tarn-1.0.0/screenshots/site/site-sidebar-navigation-dark.png +0 -0
  94. zensical_tarn-1.0.0/screenshots/site/site-sidebar-navigation-light.png +0 -0
  95. zensical_tarn-1.0.0/screenshots/site/site-tutorial-dark.png +0 -0
  96. zensical_tarn-1.0.0/screenshots/site/site-tutorial-light.png +0 -0
  97. zensical_tarn-1.0.0/scripts/README.md +192 -0
  98. zensical_tarn-1.0.0/scripts/build_css.py +410 -0
  99. zensical_tarn-1.0.0/scripts/capture_screenshots.py +384 -0
  100. zensical_tarn-1.0.0/scripts/check_browser.py +310 -0
  101. zensical_tarn-1.0.0/scripts/check_config.py +315 -0
  102. zensical_tarn-1.0.0/scripts/check_package.py +162 -0
  103. zensical_tarn-1.0.0/scripts/check_release.py +316 -0
  104. zensical_tarn-1.0.0/scripts/check_upstream.py +85 -0
  105. zensical_tarn-1.0.0/scripts/prepare_release.py +152 -0
  106. zensical_tarn-1.0.0/src/zensical_tarn/__init__.py +6 -0
  107. zensical_tarn-1.0.0/src/zensical_tarn/assets/licenses/tarn/LICENSE.txt +202 -0
  108. zensical_tarn-1.0.0/src/zensical_tarn/assets/licenses/tarn/NOTICE.txt +25 -0
  109. zensical_tarn-1.0.0/src/zensical_tarn/assets/licenses/tarn/zensical-ui.MIT.txt +19 -0
  110. zensical_tarn-1.0.0/src/zensical_tarn/assets/stylesheets/tarn.css +323 -0
  111. zensical_tarn-1.0.0/src/zensical_tarn/main.html +2 -0
  112. zensical_tarn-1.0.0/src/zensical_tarn/mkdocs_theme.yml +42 -0
  113. zensical_tarn-1.0.0/src/zensical_tarn/partials/copyright.html +16 -0
  114. zensical_tarn-1.0.0/src/zensical_tarn/partials/nav-item.html +172 -0
  115. zensical_tarn-1.0.0/src/zensical_tarn/partials/tabs-item.html +42 -0
  116. zensical_tarn-1.0.0/src/zensical_tarn/partials/tarn.html +50 -0
  117. zensical_tarn-1.0.0/src/zensical_tarn/tarn.html +11 -0
  118. zensical_tarn-1.0.0/tests/test_checks.py +191 -0
  119. zensical_tarn-1.0.0/tests/test_release.py +237 -0
  120. zensical_tarn-1.0.0/zensical.toml +58 -0
@@ -0,0 +1,12 @@
1
+ __pycache__/
2
+ *.py[cod]
3
+ *.egg-info/
4
+ build/
5
+ dist/
6
+ /site/
7
+ /site-*/
8
+ /examples/minimal-site/site/
9
+ .venv/
10
+ .cache/
11
+ browser-artifacts/
12
+ /release-report*.json
@@ -0,0 +1,17 @@
1
+ # Tarn maintenance
2
+
3
+ For a Zensical dependency update, read and follow
4
+ [UPGRADING_ZENSICAL.md](UPGRADING_ZENSICAL.md) before editing the pin. It covers
5
+ upstream templates and licences, installed-wheel checks, browser verification,
6
+ screenshots and final artifacts.
7
+
8
+ An engine update is local preparation. Publishing, deployment, tags, pushes and
9
+ remote workflow runs require separate user instructions. Preserve existing user
10
+ changes and keep ignored `ai-works/` planning documents private. The small public
11
+ `release-review.toml` file is required by tests and release checks.
12
+
13
+ For a package release, follow RELEASING.md and use
14
+ `hatch run release:prepare TAG`. The version comes from Git through hatch-vcs.
15
+ Do not hard-code it, override it through the environment, or promote archives
16
+ from an untagged checkout. Creating or moving real tags and uploading packages
17
+ remain separate maintainer decisions.
@@ -0,0 +1,5 @@
1
+ # Changelog
2
+
3
+ ## [1.0.0]
4
+
5
+ - Initial release of Tarn, a Diátaxis-aware theme for Zensical with light and dark colour schemes.
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
@@ -0,0 +1,19 @@
1
+ Copyright (c) 2025-2026 Zensical and contributors
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy
4
+ of this software and associated documentation files (the "Software"), to
5
+ deal in the Software without restriction, including without limitation the
6
+ rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
7
+ sell copies of the Software, and to permit persons to whom the Software is
8
+ furnished to do so, subject to the following conditions:
9
+
10
+ The above copyright notice and this permission notice shall be included in
11
+ all copies or substantial portions of the Software.
12
+
13
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
+ FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
16
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
18
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
19
+ IN THE SOFTWARE.
@@ -0,0 +1,25 @@
1
+ Tarn
2
+ Copyright 2026 Axel Voitier
3
+
4
+ Original Tarn code, documentation and design assets are licensed under the
5
+ Apache License, Version 2.0. The following third-party material retains its
6
+ own licence.
7
+
8
+ zensical-tarn includes modified copies of three templates from Zensical:
9
+
10
+ src/zensical_tarn/partials/tabs-item.html
11
+ src/zensical_tarn/partials/nav-item.html
12
+ src/zensical_tarn/partials/copyright.html
13
+ Copied from Zensical's UI (https://github.com/zensical/ui, tag v0.0.39,
14
+ dist/partials/), with Tarn navigation attributes and a footer credit.
15
+ Zensical is distributed under the MIT License,
16
+ Copyright (c) 2025-2026 Zensical and contributors;
17
+ that notice and licence apply to those files.
18
+ The complete upstream licence is included in LICENSES/zensical-ui.MIT.txt,
19
+ copied verbatim from https://github.com/zensical/ui/blob/v0.0.39/LICENSE.
20
+
21
+ Fonts are not bundled. Atkinson Hyperlegible Next and Atkinson Hyperlegible Mono
22
+ are loaded from Google Fonts under the SIL Open Font License 1.1.
23
+ Copyright 2020-2024 The Atkinson Hyperlegible Next Project Authors
24
+ Copyright 2020-2024 The Atkinson Hyperlegible Mono Project Authors
25
+ Their copyright notices and licences must accompany self-hosted font files.
@@ -0,0 +1,110 @@
1
+ Metadata-Version: 2.5
2
+ Name: zensical-tarn
3
+ Version: 1.0.0
4
+ Summary: Tarn: a quiet, Diátaxis-aware documentation theme for Zensical
5
+ Project-URL: Homepage, https://github.com/AxelVoitier/zensical-tarn
6
+ Project-URL: Documentation, https://axelvoitier.github.io/zensical-tarn/
7
+ Project-URL: Issues, https://github.com/AxelVoitier/zensical-tarn/issues
8
+ Project-URL: Changelog, https://github.com/AxelVoitier/zensical-tarn/blob/main/CHANGELOG.md
9
+ Author: Axel Voitier
10
+ License-Expression: Apache-2.0 AND MIT
11
+ License-File: LICENSE
12
+ License-File: LICENSES/zensical-ui.MIT.txt
13
+ License-File: NOTICE
14
+ Keywords: diataxis,documentation,mkdocs,theme,zensical
15
+ Classifier: Development Status :: 5 - Production/Stable
16
+ Classifier: Framework :: MkDocs
17
+ Classifier: Programming Language :: Python :: 3
18
+ Classifier: Programming Language :: Python :: 3 :: Only
19
+ Classifier: Programming Language :: Python :: 3.11
20
+ Classifier: Programming Language :: Python :: 3.12
21
+ Classifier: Programming Language :: Python :: 3.13
22
+ Classifier: Programming Language :: Python :: 3.14
23
+ Classifier: Programming Language :: Python :: 3.15
24
+ Classifier: Topic :: Documentation
25
+ Classifier: Topic :: Software Development :: Documentation
26
+ Requires-Python: >=3.11
27
+ Requires-Dist: zensical==0.0.73
28
+ Description-Content-Type: text/markdown
29
+
30
+ <p align="center"><img src="https://raw.githubusercontent.com/AxelVoitier/zensical-tarn/main/design/logo/tarn-logo-512.png" width="72" alt="Tarn logo"></p>
31
+
32
+ <h1 align="center">Tarn</h1>
33
+
34
+ <p align="center">A quiet, Diátaxis-aware documentation theme for <a href="https://zensical.org">Zensical</a>.</p>
35
+
36
+ <p align="center"><strong><a href="https://axelvoitier.github.io/zensical-tarn/">Read the docs and try Tarn</a></strong><br>The documentation site uses Tarn itself.</p>
37
+
38
+ ![A how-to guide rendered with Tarn in light mode](https://raw.githubusercontent.com/AxelVoitier/zensical-tarn/main/screenshots/site/site-howto-light.png)
39
+
40
+ Tarn combines calm colours, legible type and Diátaxis navigation in a restrained layout for documentation.
41
+
42
+ - **Diátaxis navigation cues.** Recognised sections get coloured dots on navigation tabs or sidebar headings. Recognised page URLs receive a Tutorial, How-to guide, Reference or Explanation badge by default. You can override individual badges or disable badges and navigation decoration separately. Unrecognised sections use quieter, secondary styling by default.
43
+ - **Light and dark** palettes draw on the same mountain lake by day and night: warm cloud-grey and starlit indigo. In dark mode, you read cool off-white text against a deep blue-violet sky. The palettes follow the reader's system preference by default, unless the reader saves a choice. Projects can choose their starting mode.
44
+ - **Legible type**: Atkinson Hyperlegible Next and Mono.
45
+ - **Flat and focused**: a neutral header, thin dividing lines, five admonition tones for Zensical's twelve types, and inline code that stands out from prose and links.
46
+ - **Tabs or sidebar**: works with `navigation.tabs` (default) or `navigation.sections`.
47
+ - **Contrast checked**: the default text/background token pairs pass the generator’s 4.5:1 checks in both themes.
48
+
49
+ ## Install
50
+
51
+ Tarn requires Python 3.11 or newer and pins Zensical to version 0.0.73.
52
+ See the [configuration reference](https://axelvoitier.github.io/zensical-tarn/reference/configuration/) for dependency details.
53
+
54
+ With an active virtual environment, install [Tarn from PyPI](https://pypi.org/project/zensical-tarn/):
55
+
56
+ ```bash
57
+ python -m pip install zensical-tarn
58
+ ```
59
+
60
+ This also installs Zensical.
61
+ Select the theme in your project's configuration:
62
+
63
+ ```toml
64
+ # zensical.toml
65
+ [project.theme]
66
+ name = "tarn"
67
+ ```
68
+
69
+ Zensical can also read `mkdocs.yml` with the equivalent theme selection.
70
+ MkDocs itself has not been verified:
71
+
72
+ ```yaml
73
+ theme:
74
+ name: tarn
75
+ ```
76
+
77
+ Tarn styles the navigation you configure in Zensical and preserves its order.
78
+ Folders such as `tutorials/`, `how-to/`, `reference/` and `explanation/` have
79
+ built-in classifications. The homepage defaults to primary styling. Unknown
80
+ URL sections default to secondary styling. Use `project.extra.tarn.sections`
81
+ to map existing folders or mark a section as primary. The
82
+ [first-site tutorial](https://axelvoitier.github.io/zensical-tarn/tutorials/first-site/) covers a working site, and
83
+ [Name your sections](https://axelvoitier.github.io/zensical-tarn/how-to/name-sections/) explains custom mappings.
84
+
85
+ You can [add your own logo](https://axelvoitier.github.io/zensical-tarn/how-to/add-project-logo/),
86
+ [adjust colours](https://axelvoitier.github.io/zensical-tarn/how-to/adjust-colours/) and change the fonts through
87
+ [Zensical configuration](https://axelvoitier.github.io/zensical-tarn/reference/configuration/#fonts-and-css).
88
+
89
+ ## Screenshots
90
+
91
+ | Light | Dark |
92
+ | --- | --- |
93
+ | ![Home, light](https://raw.githubusercontent.com/AxelVoitier/zensical-tarn/main/screenshots/site/site-home-light.png) | ![Home, dark](https://raw.githubusercontent.com/AxelVoitier/zensical-tarn/main/screenshots/site/site-home-dark.png) |
94
+ | ![Sidebar navigation, light](https://raw.githubusercontent.com/AxelVoitier/zensical-tarn/main/screenshots/site/site-sidebar-navigation-light.png) | ![Sidebar navigation, dark](https://raw.githubusercontent.com/AxelVoitier/zensical-tarn/main/screenshots/site/site-sidebar-navigation-dark.png) |
95
+ | ![Admonitions, light](https://raw.githubusercontent.com/AxelVoitier/zensical-tarn/main/screenshots/components/admonitions-light.png) | ![Admonitions, dark](https://raw.githubusercontent.com/AxelVoitier/zensical-tarn/main/screenshots/components/admonitions-dark.png) |
96
+ | ![Code block, light](https://raw.githubusercontent.com/AxelVoitier/zensical-tarn/main/screenshots/components/code-block-light.png) | ![Code block, dark](https://raw.githubusercontent.com/AxelVoitier/zensical-tarn/main/screenshots/components/code-block-dark.png) |
97
+
98
+ More in [`screenshots/`](https://github.com/AxelVoitier/zensical-tarn/tree/main/screenshots/).
99
+
100
+ ## Documentation
101
+
102
+ The theme's own documentation, built with Tarn: <https://axelvoitier.github.io/zensical-tarn/>
103
+
104
+ ## Licence
105
+
106
+ Copyright Axel Voitier. Original Tarn material is licensed under [Apache 2.0](https://github.com/AxelVoitier/zensical-tarn/blob/main/LICENSE).
107
+ Includes modified Zensical templates under MIT; see [NOTICE](https://github.com/AxelVoitier/zensical-tarn/blob/main/NOTICE) and the
108
+ [upstream licence](https://github.com/AxelVoitier/zensical-tarn/blob/main/LICENSES/zensical-ui.MIT.txt). The combined package metadata
109
+ records `Apache-2.0 AND MIT`. Fonts are fetched from Google Fonts, with
110
+ [self-hosting instructions](https://axelvoitier.github.io/zensical-tarn/how-to/self-host-fonts/).
@@ -0,0 +1,81 @@
1
+ <p align="center"><img src="https://raw.githubusercontent.com/AxelVoitier/zensical-tarn/main/design/logo/tarn-logo-512.png" width="72" alt="Tarn logo"></p>
2
+
3
+ <h1 align="center">Tarn</h1>
4
+
5
+ <p align="center">A quiet, Diátaxis-aware documentation theme for <a href="https://zensical.org">Zensical</a>.</p>
6
+
7
+ <p align="center"><strong><a href="https://axelvoitier.github.io/zensical-tarn/">Read the docs and try Tarn</a></strong><br>The documentation site uses Tarn itself.</p>
8
+
9
+ ![A how-to guide rendered with Tarn in light mode](https://raw.githubusercontent.com/AxelVoitier/zensical-tarn/main/screenshots/site/site-howto-light.png)
10
+
11
+ Tarn combines calm colours, legible type and Diátaxis navigation in a restrained layout for documentation.
12
+
13
+ - **Diátaxis navigation cues.** Recognised sections get coloured dots on navigation tabs or sidebar headings. Recognised page URLs receive a Tutorial, How-to guide, Reference or Explanation badge by default. You can override individual badges or disable badges and navigation decoration separately. Unrecognised sections use quieter, secondary styling by default.
14
+ - **Light and dark** palettes draw on the same mountain lake by day and night: warm cloud-grey and starlit indigo. In dark mode, you read cool off-white text against a deep blue-violet sky. The palettes follow the reader's system preference by default, unless the reader saves a choice. Projects can choose their starting mode.
15
+ - **Legible type**: Atkinson Hyperlegible Next and Mono.
16
+ - **Flat and focused**: a neutral header, thin dividing lines, five admonition tones for Zensical's twelve types, and inline code that stands out from prose and links.
17
+ - **Tabs or sidebar**: works with `navigation.tabs` (default) or `navigation.sections`.
18
+ - **Contrast checked**: the default text/background token pairs pass the generator’s 4.5:1 checks in both themes.
19
+
20
+ ## Install
21
+
22
+ Tarn requires Python 3.11 or newer and pins Zensical to version 0.0.73.
23
+ See the [configuration reference](https://axelvoitier.github.io/zensical-tarn/reference/configuration/) for dependency details.
24
+
25
+ With an active virtual environment, install [Tarn from PyPI](https://pypi.org/project/zensical-tarn/):
26
+
27
+ ```bash
28
+ python -m pip install zensical-tarn
29
+ ```
30
+
31
+ This also installs Zensical.
32
+ Select the theme in your project's configuration:
33
+
34
+ ```toml
35
+ # zensical.toml
36
+ [project.theme]
37
+ name = "tarn"
38
+ ```
39
+
40
+ Zensical can also read `mkdocs.yml` with the equivalent theme selection.
41
+ MkDocs itself has not been verified:
42
+
43
+ ```yaml
44
+ theme:
45
+ name: tarn
46
+ ```
47
+
48
+ Tarn styles the navigation you configure in Zensical and preserves its order.
49
+ Folders such as `tutorials/`, `how-to/`, `reference/` and `explanation/` have
50
+ built-in classifications. The homepage defaults to primary styling. Unknown
51
+ URL sections default to secondary styling. Use `project.extra.tarn.sections`
52
+ to map existing folders or mark a section as primary. The
53
+ [first-site tutorial](https://axelvoitier.github.io/zensical-tarn/tutorials/first-site/) covers a working site, and
54
+ [Name your sections](https://axelvoitier.github.io/zensical-tarn/how-to/name-sections/) explains custom mappings.
55
+
56
+ You can [add your own logo](https://axelvoitier.github.io/zensical-tarn/how-to/add-project-logo/),
57
+ [adjust colours](https://axelvoitier.github.io/zensical-tarn/how-to/adjust-colours/) and change the fonts through
58
+ [Zensical configuration](https://axelvoitier.github.io/zensical-tarn/reference/configuration/#fonts-and-css).
59
+
60
+ ## Screenshots
61
+
62
+ | Light | Dark |
63
+ | --- | --- |
64
+ | ![Home, light](https://raw.githubusercontent.com/AxelVoitier/zensical-tarn/main/screenshots/site/site-home-light.png) | ![Home, dark](https://raw.githubusercontent.com/AxelVoitier/zensical-tarn/main/screenshots/site/site-home-dark.png) |
65
+ | ![Sidebar navigation, light](https://raw.githubusercontent.com/AxelVoitier/zensical-tarn/main/screenshots/site/site-sidebar-navigation-light.png) | ![Sidebar navigation, dark](https://raw.githubusercontent.com/AxelVoitier/zensical-tarn/main/screenshots/site/site-sidebar-navigation-dark.png) |
66
+ | ![Admonitions, light](https://raw.githubusercontent.com/AxelVoitier/zensical-tarn/main/screenshots/components/admonitions-light.png) | ![Admonitions, dark](https://raw.githubusercontent.com/AxelVoitier/zensical-tarn/main/screenshots/components/admonitions-dark.png) |
67
+ | ![Code block, light](https://raw.githubusercontent.com/AxelVoitier/zensical-tarn/main/screenshots/components/code-block-light.png) | ![Code block, dark](https://raw.githubusercontent.com/AxelVoitier/zensical-tarn/main/screenshots/components/code-block-dark.png) |
68
+
69
+ More in [`screenshots/`](https://github.com/AxelVoitier/zensical-tarn/tree/main/screenshots/).
70
+
71
+ ## Documentation
72
+
73
+ The theme's own documentation, built with Tarn: <https://axelvoitier.github.io/zensical-tarn/>
74
+
75
+ ## Licence
76
+
77
+ Copyright Axel Voitier. Original Tarn material is licensed under [Apache 2.0](https://github.com/AxelVoitier/zensical-tarn/blob/main/LICENSE).
78
+ Includes modified Zensical templates under MIT; see [NOTICE](https://github.com/AxelVoitier/zensical-tarn/blob/main/NOTICE) and the
79
+ [upstream licence](https://github.com/AxelVoitier/zensical-tarn/blob/main/LICENSES/zensical-ui.MIT.txt). The combined package metadata
80
+ records `Apache-2.0 AND MIT`. Fonts are fetched from Google Fonts, with
81
+ [self-hosting instructions](https://axelvoitier.github.io/zensical-tarn/how-to/self-host-fonts/).