zensical 0.0.3__cp310-abi3-musllinux_1_2_i686.whl → 0.0.12__cp310-abi3-musllinux_1_2_i686.whl

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.

Potentially problematic release.


This version of zensical might be problematic. Click here for more details.

Files changed (34) hide show
  1. zensical/__init__.py +6 -6
  2. zensical/__main__.py +28 -0
  3. zensical/bootstrap/.github/workflows/docs.yml +10 -3
  4. zensical/bootstrap/zensical.toml +22 -22
  5. zensical/config.py +191 -197
  6. zensical/extensions/__init__.py +2 -2
  7. zensical/extensions/emoji.py +22 -27
  8. zensical/extensions/links.py +33 -24
  9. zensical/extensions/preview.py +29 -41
  10. zensical/extensions/search.py +83 -83
  11. zensical/extensions/utilities/__init__.py +2 -2
  12. zensical/extensions/utilities/filter.py +5 -10
  13. zensical/main.py +36 -47
  14. zensical/markdown.py +21 -20
  15. zensical/templates/assets/javascripts/bundle.21aa498e.min.js +3 -0
  16. zensical/templates/assets/javascripts/workers/{search.5e1f2129.min.js → search.5df7522c.min.js} +1 -1
  17. zensical/templates/assets/stylesheets/classic/main.6f483be1.min.css +1 -0
  18. zensical/templates/assets/stylesheets/modern/main.09f707be.min.css +1 -0
  19. zensical/templates/base.html +4 -4
  20. zensical/templates/partials/javascripts/base.html +1 -1
  21. zensical/templates/partials/nav-item.html +1 -1
  22. zensical/templates/partials/search.html +3 -1
  23. zensical/zensical.abi3.so +0 -0
  24. zensical/zensical.pyi +7 -13
  25. {zensical-0.0.3.dist-info → zensical-0.0.12.dist-info}/METADATA +9 -4
  26. {zensical-0.0.3.dist-info → zensical-0.0.12.dist-info}/RECORD +30 -29
  27. {zensical-0.0.3.dist-info → zensical-0.0.12.dist-info}/WHEEL +1 -1
  28. {zensical-0.0.3.dist-info → zensical-0.0.12.dist-info}/licenses/LICENSE.md +1 -1
  29. zensical.libs/libgcc_s-f5fcfe20.so.1 +0 -0
  30. zensical/templates/assets/javascripts/bundle.3c403d54.min.js +0 -3
  31. zensical/templates/assets/stylesheets/classic/main.c5ffb0a9.min.css +0 -1
  32. zensical/templates/assets/stylesheets/modern/main.1357c24d.min.css +0 -1
  33. zensical.libs/libgcc_s-27e5a392.so.1 +0 -0
  34. {zensical-0.0.3.dist-info → zensical-0.0.12.dist-info}/entry_points.txt +0 -0
zensical/__init__.py CHANGED
@@ -1,7 +1,7 @@
1
- # Copyright (c) Zensical LLC <https://zensical.org>
1
+ # Copyright (c) 2025 Zensical and contributors
2
2
 
3
3
  # SPDX-License-Identifier: MIT
4
- # Third-party contributions licensed under CLA
4
+ # Third-party contributions licensed under DCO
5
5
 
6
6
  # Permission is hereby granted, free of charge, to any person obtaining a copy
7
7
  # of this software and associated documentation files (the "Software"), to
@@ -21,8 +21,8 @@
21
21
  # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
22
22
  # IN THE SOFTWARE.
23
23
 
24
- from .zensical import *
24
+ from zensical.zensical import * # noqa: F403
25
25
 
26
- __doc__ = zensical.__doc__
27
- if hasattr(zensical, "__all__"):
28
- __all__ = zensical.__all__
26
+ __doc__ = zensical.__doc__ # type: ignore[name-defined] # noqa: F405
27
+ if hasattr(zensical, "__all__"): # type: ignore[name-defined] # noqa: F405
28
+ __all__ = zensical.__all__ # type: ignore[name-defined] # noqa: F405
zensical/__main__.py ADDED
@@ -0,0 +1,28 @@
1
+ # Copyright (c) 2025 Zensical and contributors
2
+
3
+ # SPDX-License-Identifier: MIT
4
+ # Third-party contributions licensed under DCO
5
+
6
+ # Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ # of this software and associated documentation files (the "Software"), to
8
+ # deal in the Software without restriction, including without limitation the
9
+ # rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
10
+ # sell copies of the Software, and to permit persons to whom the Software is
11
+ # furnished to do so, subject to the following conditions:
12
+
13
+ # The above copyright notice and this permission notice shall be included in
14
+ # all copies or substantial portions of the Software.
15
+
16
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ # FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
19
+ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21
+ # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
22
+ # IN THE SOFTWARE.
23
+
24
+ # Allow running as a script, with `python -m zensical`.
25
+ from zensical.main import cli
26
+
27
+ if __name__ == "__main__": # pragma: no cover
28
+ cli()
@@ -1,22 +1,29 @@
1
- name: docs
1
+ name: Documentation
2
2
  on:
3
3
  push:
4
4
  branches:
5
5
  - master
6
6
  - main
7
7
  permissions:
8
- contents: write
8
+ contents: read
9
+ pages: write
10
+ id-token: write
9
11
  jobs:
10
12
  deploy:
13
+ environment:
14
+ name: github-pages
15
+ url: ${{ steps.deployment.outputs.page_url }}
11
16
  runs-on: ubuntu-latest
12
17
  steps:
18
+ - uses: actions/configure-pages@v5
13
19
  - uses: actions/checkout@v5
14
20
  - uses: actions/setup-python@v5
15
21
  with:
16
22
  python-version: 3.x
17
23
  - run: pip install zensical
18
- - run: zensical build
24
+ - run: zensical build --clean
19
25
  - uses: actions/upload-pages-artifact@v4
20
26
  with:
21
27
  path: site
22
28
  - uses: actions/deploy-pages@v4
29
+ id: deployment
@@ -49,6 +49,24 @@ Copyright &copy; 2025 The authors
49
49
  # { "Markdown in 5min" = "markdown.md" },
50
50
  # ]
51
51
 
52
+ # With the "extra_css" option you can add your own CSS styling to customize
53
+ # your Zensical project according to your needs. You can add any number of
54
+ # CSS files.
55
+ #
56
+ # The path provided should be relative to the "docs_dir".
57
+ #
58
+ # Read more: https://zensical.org/docs/customization/#additional-css
59
+ #
60
+ #extra_css = ["stylesheets/extra.css"]
61
+
62
+ # With the `extra_javascript` option you can add your own JavaScript to your
63
+ # project to customize the behavior according to your needs.
64
+ #
65
+ # The path provided should be relative to the "docs_dir".
66
+ #
67
+ # Read more: https://zensical.org/docs/customization/#additional-javascript
68
+ #extra_javascript = ["javascripts/extra.js"]
69
+
52
70
  # ----------------------------------------------------------------------------
53
71
  # Section for configuring theme options
54
72
  # ----------------------------------------------------------------------------
@@ -75,7 +93,7 @@ Copyright &copy; 2025 The authors
75
93
  # - https://zensical.org/docs/setup/logo-and-icons/#favicon
76
94
  # - https://developer.mozilla.org/en-US/docs/Glossary/Favicon
77
95
  #
78
- #favicon = "assets/images/favicon.png"
96
+ #favicon = "images/favicon.png"
79
97
 
80
98
  # Zensical supports more than 60 different languages. This means that the
81
99
  # labels and tooltips that Zensical's templates produce are translated.
@@ -176,7 +194,7 @@ features = [
176
194
  # In order to provide a better user experience on slow connections when
177
195
  # using instant navigation, a progress indicator can be enabled.
178
196
  # https://zensical.org/docs/setup/navigation/#progress-indicator
179
- #"navigation.instant.progress"
197
+ #"navigation.instant.progress",
180
198
 
181
199
  # When navigation paths are activated, a breadcrumb navigation is rendered
182
200
  # above the title of each page
@@ -222,32 +240,14 @@ features = [
222
240
  # When anchor following for the table of contents is enabled, the sidebar
223
241
  # is automatically scrolled so that the active anchor is always visible.
224
242
  # https://zensical.org/docs/setup/navigation/#anchor-following
225
- # "toc.follow"
243
+ # "toc.follow",
226
244
 
227
245
  # When navigation integration for the table of contents is enabled, it is
228
246
  # always rendered as part of the navigation sidebar on the left.
229
247
  # https://zensical.org/docs/setup/navigation/#navigation-integration
230
- #"toc.integrate"
248
+ #"toc.integrate",
231
249
  ]
232
250
 
233
- # With the "extra_css" option you can add your own CSS styling to customize
234
- # your Zensical project according to your needs. You can add any number of
235
- # CSS files.
236
- #
237
- # The path provided should be relative to the "docs_dir".
238
- #
239
- # Read more: https://zensical.org/docs/customization/#additional-css
240
- #
241
- #extra_css = ["assets/stylesheets/extra.css"]
242
-
243
- # With the `extra_javascript` option you can add your own JavaScript to your
244
- # project to customize the behavior according to your needs.
245
- #
246
- # The path provided should be relative to the "docs_dir".
247
- #
248
- # Read more: https://zensical.org/docs/customization/#additional-javascript
249
- #extra_javascript = ["assets/javascript/extra.js"]
250
-
251
251
  # ----------------------------------------------------------------------------
252
252
  # In the "palette" subsection you can configure options for the color scheme.
253
253
  # You can configure different color # schemes, e.g., to turn on dark mode,