From b5892c95a7038d5b899b040178cdafb31be60be7 Mon Sep 17 00:00:00 2001
From: Shane <6071159+smashedr@users.noreply.github.com>
Date: Tue, 27 Jan 2026 12:10:51 -0800
Subject: [PATCH] Updates
---
.gitattributes | 3 +-
.github/actionlint.yaml | 6 +
.github/workflows/dev.yaml | 2 +-
.github/workflows/docs.yaml | 4 +-
.github/workflows/labeler.yaml | 2 +-
.github/workflows/lint.yaml | 33 ++--
.github/yamllint.yaml | 7 +
.gitignore | 16 +-
.prettierignore | 18 +-
.prettierrc.json | 4 +-
README.md | 23 +--
docs/assets/css/extra.css | 6 +
.../external-links.js => assets/js/extra.js} | 6 +-
docs/index.md | 19 ++-
docs/overrides/main.html | 38 +++--
docs/support.md | 10 +-
docs/usage.md | 1 +
zensical.toml | 160 +++++++++---------
18 files changed, 180 insertions(+), 178 deletions(-)
create mode 100644 .github/actionlint.yaml
create mode 100644 .github/yamllint.yaml
create mode 100644 docs/assets/css/extra.css
rename docs/{javascripts/external-links.js => assets/js/extra.js} (61%)
diff --git a/.gitattributes b/.gitattributes
index 5e0f547..0f1461e 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,3 +1,2 @@
docs/** linguist-documentation
-docs.ps1 linguist-vendored
-build.ps1 linguist-vendored
+*.ps1 linguist-vendored
diff --git a/.github/actionlint.yaml b/.github/actionlint.yaml
new file mode 100644
index 0000000..447aaa1
--- /dev/null
+++ b/.github/actionlint.yaml
@@ -0,0 +1,6 @@
+paths:
+ .github/workflows/**/*.{yml,yaml}:
+ ignore:
+ - '"inputs" section is alias node but mapping node is expected'
+ - '"paths" section must be sequence node but got alias node with "" tag'
+ - '"paths-ignore" section must be sequence node but got alias node with "" tag'
diff --git a/.github/workflows/dev.yaml b/.github/workflows/dev.yaml
index 85b8542..a2dda29 100644
--- a/.github/workflows/dev.yaml
+++ b/.github/workflows/dev.yaml
@@ -20,7 +20,7 @@ jobs:
timeout-minutes: 5
steps:
- name: "Zensical Action"
- uses: cssnr/zensical-action@v1
+ uses: cssnr/zensical-action@master
with:
upload: "artifact"
#prepare: 'sed -i "s/>Zensical>Zensical ${ZENSICAL_VERSION}" zensical.toml'
diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml
index 6f6021d..d5869d7 100644
--- a/.github/workflows/docs.yaml
+++ b/.github/workflows/docs.yaml
@@ -31,14 +31,14 @@ jobs:
steps:
- name: "Zensical Action"
id: zensical
- uses: cssnr/zensical-action@v1
+ uses: cssnr/zensical-action@master
with:
prepare: 'sed -i "s/>Zensical<\/a>/>Zensical<\/a> v${ZENSICAL_VERSION}/" zensical.toml'
- name: "Send Notification"
if: ${{ !cancelled() }}
continue-on-error: true
- uses: sarisia/actions-status-discord@v1
+ uses: sarisia/actions-status-discord@eb045afee445dc055c18d3d90bd0f244fd062708 # v1.16.0
with:
webhook: ${{ secrets.DISCORD_WEBHOOK }}
description: ${{ steps.zensical.outputs.page_url }}
diff --git a/.github/workflows/labeler.yaml b/.github/workflows/labeler.yaml
index 2f3c44d..6f280f5 100644
--- a/.github/workflows/labeler.yaml
+++ b/.github/workflows/labeler.yaml
@@ -19,7 +19,7 @@ jobs:
steps:
- name: "Checkout Configs"
- uses: actions/checkout@v5
+ uses: actions/checkout@v6
with:
repository: cssnr/configs
ref: master
diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml
index e66e847..96370be 100644
--- a/.github/workflows/lint.yaml
+++ b/.github/workflows/lint.yaml
@@ -5,6 +5,7 @@ on:
push:
branches: [master]
pull_request:
+ branches: [master]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
@@ -13,6 +14,7 @@ concurrency:
jobs:
lint:
name: "Lint"
+ if: ${{ !contains(github.event.head_commit.message, '#nolint') }}
runs-on: ubuntu-latest
timeout-minutes: 5
@@ -21,20 +23,19 @@ jobs:
steps:
- name: "Checkout"
- uses: actions/checkout@v5
+ uses: actions/checkout@v6
- name: "Debug event.json"
- if: ${{ !github.event.act }}
continue-on-error: true
- run: |
- cat "${GITHUB_EVENT_PATH}"
-
+ run: cat "${GITHUB_EVENT_PATH}"
- name: "Debug CTX github"
- if: ${{ !github.event.act }}
continue-on-error: true
env:
GITHUB_CTX: ${{ toJSON(github) }}
run: echo "$GITHUB_CTX"
+ - name: "Debug Environment"
+ continue-on-error: true
+ run: env
- name: "prettier"
if: ${{ !cancelled() }}
@@ -47,25 +48,13 @@ jobs:
- name: "yamllint"
if: ${{ !cancelled() }}
env:
- CONFIG: "{extends: relaxed, ignore: [node_modules/], rules: {line-length: {max: 119}}}"
+ CONFIG: .github/yamllint.yaml
run: |
echo "::group::List Files"
- yamllint -d '${{ env.CONFIG }}' --list-files .
+ yamllint -c "${{ env.CONFIG }}" --list-files .
echo "::endgroup::"
- yamllint -d '${{ env.CONFIG }}' .
+ yamllint -c "${{ env.CONFIG }}" .
- name: "actionlint"
if: ${{ !cancelled() }}
- run: |
- echo "::group::Download"
- loc=$(curl -sI https://github.com/rhysd/actionlint/releases/latest | grep -i '^location:')
- echo "loc: ${loc}"
- tag=$(echo "${loc}" | sed -E 's|.*/tag/v?(.*)|\1|' | tr -d '\t\r\n')
- echo "tag: ${tag}"
- url="https://github.com/rhysd/actionlint/releases/latest/download/actionlint_${tag}_linux_amd64.tar.gz"
- echo "url: ${url}"
- curl -sL "${url}" | tar xz -C "${RUNNER_TEMP}" actionlint
- file "${RUNNER_TEMP}/actionlint"
- "${RUNNER_TEMP}/actionlint" --version
- echo "::endgroup::"
- "${RUNNER_TEMP}/actionlint" -color -verbose -shellcheck= -pyflakes=
+ uses: cssnr/actionlint-action@v1
diff --git a/.github/yamllint.yaml b/.github/yamllint.yaml
new file mode 100644
index 0000000..38237e5
--- /dev/null
+++ b/.github/yamllint.yaml
@@ -0,0 +1,7 @@
+extends: relaxed
+
+ignore-from-file: .gitignore
+
+rules:
+ line-length:
+ max: 119
diff --git a/.gitignore b/.gitignore
index 82fb00c..8c5b5ff 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,14 +1,10 @@
+# Generic
.idea/
*.iml
.vscode/
-.venv/
-venv/
-__pycache__/
-*.egg-info/
-dist/
+node_modules/
+.*cache
*.log
-*.pyc
-.coverage
-coverage.xml
-site/
-.cache/
+eslint_report.json
+# App
+site
diff --git a/.prettierignore b/.prettierignore
index 5b4267c..db2d326 100644
--- a/.prettierignore
+++ b/.prettierignore
@@ -1,16 +1,8 @@
-# IDE
-.idea/
-.vscode/
-
-# Build
-dist/
-node_modules/
-
# Tools
-.ruff_cache/
-.mypy_cache/
-.pytest_cache/
+dist/
+package-lock.json
# Files
-package-lock.json
-*.html
+.github/disabled/
+.github/PULL_REQUEST_TEMPLATE/
+.github/pull_request_template.md
diff --git a/.prettierrc.json b/.prettierrc.json
index 4541eb0..f4f5ac9 100644
--- a/.prettierrc.json
+++ b/.prettierrc.json
@@ -1,5 +1,4 @@
{
- "trailingComma": "es5",
"semi": false,
"singleQuote": true,
"printWidth": 90,
@@ -7,7 +6,8 @@
{
"files": ["**/*.html", "**/*.yaml", "**/*.yml"],
"options": {
- "singleQuote": false
+ "singleQuote": false,
+ "printWidth": 120
}
},
{
diff --git a/README.md b/README.md
index ae5752b..2102ba2 100644
--- a/README.md
+++ b/README.md
@@ -1,14 +1,15 @@
-[](https://github.com/cssnr/zensical-action-docs/deployments/docs)
-[](https://github.com/cssnr/zensical-action-docs/deployments/dev)
-[](https://github.com/cssnr/zensical-action-docs/actions/workflows/docs.yaml)
-[](https://github.com/cssnr/zensical-action-docs/actions/workflows/dev.yaml)
-[](https://github.com/cssnr/zensical-action-docs/pulse)
-[](https://github.com/cssnr/zensical-action-docs?tab=readme-ov-file#readme)
-[](https://github.com/cssnr/zensical-action-docs/graphs/contributors)
-[](https://github.com/cssnr/zensical-action/discussions)
-[](https://github.com/cssnr/zensical-action/forks)
-[](https://github.com/cssnr/zensical-action/stargazers)
-[](https://cssnr.github.io/)
+[](https://github.com/cssnr/zensical-action-docs/deployments/docs)
+[](https://github.com/cssnr/zensical-action-docs/deployments/dev)
+[](https://github.com/cssnr/zensical-action-docs/actions/workflows/docs.yaml)
+[](https://github.com/cssnr/zensical-action-docs/actions/workflows/dev.yaml)
+[](https://github.com/cssnr/zensical-action/pulse)
+[](https://github.com/cssnr/zensical-action?tab=readme-ov-file#readme)
+[](https://github.com/cssnr/zensical-action/graphs/contributors)
+[](https://github.com/cssnr/zensical-action/issues)
+[](https://github.com/cssnr/zensical-action/discussions)
+[](https://github.com/cssnr/zensical-action/forks)
+[](https://github.com/cssnr/zensical-action/stargazers)
+[](https://cssnr.github.io/)
[](https://discord.gg/wXy6m2X8wY)
[](https://ko-fi.com/cssnr)
diff --git a/docs/assets/css/extra.css b/docs/assets/css/extra.css
new file mode 100644
index 0000000..de3cf9c
--- /dev/null
+++ b/docs/assets/css/extra.css
@@ -0,0 +1,6 @@
+/* Fix content shift on scrollbar */
+@supports (scrollbar-gutter: stable) {
+ html {
+ scrollbar-gutter: stable;
+ }
+}
diff --git a/docs/javascripts/external-links.js b/docs/assets/js/extra.js
similarity index 61%
rename from docs/javascripts/external-links.js
rename to docs/assets/js/extra.js
index 1bf83a7..a6a40fa 100644
--- a/docs/javascripts/external-links.js
+++ b/docs/assets/js/extra.js
@@ -1,10 +1,10 @@
// Open External Links in New Tab
-
// noinspection JSUnresolvedReference,JSIgnoredPromiseFromCall
document$.subscribe(function () {
- // console.log('processing:', window.location)
+ // console.log('documentLoaded:', globalThis.location)
for (const el of document.querySelectorAll('a')) {
- if (el.host !== globalThis.location.host) {
+ // console.log('el.host:', el.host)
+ if (el.host && el.host !== globalThis.location.host) {
el.target = '_blank'
el.rel = 'noopener'
}
diff --git a/docs/index.md b/docs/index.md
index 463d22a..e1d0b9e 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -10,13 +10,14 @@ icon: lucide/rocket
[](https://github.com/cssnr/zensical-action/releases)
[](https://github.com/cssnr/zensical-action/releases/latest)
[](https://github.com/cssnr/zensical-action/blob/master/action.yml)
-[](https://github.com/cssnr/zensical-action?tab=readme-ov-file#readme)
+[](https://github.com/cssnr/zensical-action/actions/workflows/release.yaml)
+[](https://github.com/cssnr/zensical-action/actions/workflows/lint.yaml)
[](https://github.com/cssnr/zensical-action/pulse)
-[](https://github.com/cssnr/zensical-action/issues)
-[](https://github.com/cssnr/zensical-action/discussions)
-[](https://github.com/cssnr/zensical-action/forks)
-[](https://github.com/cssnr/zensical-action/stargazers)
-[](https://cssnr.github.io/)
+[](https://github.com/cssnr/zensical-action/issues)
+[](https://github.com/cssnr/zensical-action/discussions)
+[](https://github.com/cssnr/zensical-action/forks)
+[](https://github.com/cssnr/zensical-action/stargazers)
+[](https://cssnr.github.io/)
[](https://discord.gg/wXy6m2X8wY)
[](https://ko-fi.com/cssnr)
@@ -69,3 +70,9 @@ jobs:
```
See the [Usage](usage.md) for **more options** or check out some additional [Examples](examples.md).
+
+
+
+!!! question
+
+ If you need **help** getting started or run into any issues, [support](support.md) is available!
diff --git a/docs/overrides/main.html b/docs/overrides/main.html
index e256d63..ae3231c 100644
--- a/docs/overrides/main.html
+++ b/docs/overrides/main.html
@@ -1,22 +1,26 @@
-{% extends "base.html" %}
+{% extends "base.html" %} {% block site_meta %} {{ super() }}
-{% block site_meta %}
- {{ super() }}
+
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
+
-
-
-
-
-
-
+
-
-
-
+
{% endblock %}
diff --git a/docs/support.md b/docs/support.md
index b7e5d01..6531c02 100644
--- a/docs/support.md
+++ b/docs/support.md
@@ -21,7 +21,7 @@ or [Q&A](https://github.com/cssnr/zensical-action/discussions/categories/q-a).
If you want to see a new feature, start a discussion in
the [Feature Requests](https://github.com/cssnr/zensical-action/discussions/categories/feature-requests) section.
-[:fontawesome-brands-github: Start A Discussion](https://github.com/cssnr/zensical-action/discussions){ .md-button .md-button--primary }
+[:fontawesome-brands-github: Start A Discussion](https://github.com/cssnr/zensical-action/discussions){ .md-button .md-button--primary }
## GitHub Issues
@@ -29,7 +29,7 @@ If you run into any problems or find a bug, please [open an issue](https://githu
**These reports are treated with the highest priority.**
-[:lucide-circle-alert: Report an Issue](https://github.com/cssnr/zensical-action/issues){ .md-button .md-button--primary }
+[:lucide-circle-alert: Report an Issue](https://github.com/cssnr/zensical-action/issues){ .md-button .md-button--primary }
## Discord Chat
@@ -37,7 +37,7 @@ You can chat with us about anything [on discord](https://discord.gg/wXy6m2X8wY).
From here you can contact me directly, `Shane@111150265075298304`.
-[:fontawesome-brands-discord: Chat on Discord](https://discord.gg/wXy6m2X8wY){ .md-button .md-button--primary }
+[:fontawesome-brands-discord: Chat on Discord](https://discord.gg/wXy6m2X8wY){ .md-button .md-button--primary }
## General Feedback
@@ -45,7 +45,7 @@ You can submit general feedback via the [web form](https://cssnr.github.io/feedb
_This method is not recommended to [report issues](https://github.com/cssnr/zensical-action/issues) or [request features](https://github.com/cssnr/zensical-action/discussions/categories/feature-requests)._
-[:lucide-send: Send Feedback](https://cssnr.github.io/feedback/?app=zensical-action){ .md-button .md-button--primary }
+[:lucide-send: Send Feedback](https://cssnr.github.io/feedback/?app=zensical-action){ .md-button .md-button--primary }
## Additional Links
@@ -55,7 +55,7 @@ _This method is not recommended to [report issues](https://github.com/cssnr/zens
Additionally, if you would like a [new action](https://github.com/cssnr/actions/discussions/categories/github-actions) created, let us know...
-[:lucide-activity: Request New Action](https://github.com/cssnr/actions/discussions/categories/github-actions){ .md-button .md-button--primary }
+[:lucide-activity: Request New Action](https://github.com/cssnr/actions/discussions/categories/github-actions){ .md-button .md-button--primary }
diff --git a/docs/usage.md b/docs/usage.md
index 2ff55f9..1f450f2 100644
--- a/docs/usage.md
+++ b/docs/usage.md
@@ -23,6 +23,7 @@ The [Outputs](#outputs) include the `page_url` and more.
| **uv-version** | _Latest_ | UV Version (see [setup-uv](https://github.com/astral-sh/setup-uv?tab=readme-ov-file#inputs)) |
| **directory** | `.` | Build Directory (relative to root) |
| **path** | `site` | Site Path (relative to root) |
+| **args** | `-c` | Build Arguments passed to zensical |
| **checkout** | `true` | Runs: [actions/checkout](https://github.com/actions/checkout) |
| [upload](#upload) | `github-pages` | Upload: [`github-pages`,`artifact`,`false`] |
| [name](#name) | `artifact` | Artifact Name if [upload](#upload) is `artifact` |
diff --git a/zensical.toml b/zensical.toml
index 4fb231f..e4e51f3 100644
--- a/zensical.toml
+++ b/zensical.toml
@@ -2,34 +2,28 @@
site_name = "Zensical Action"
site_description = "GitHub Action to checkout, build, upload, and deploy Zensical Docs to GitHub Pages."
site_author = "Shane"
-
repo_name = "cssnr/zensical-action"
repo_url = "https://github.com/cssnr/zensical-action"
edit_uri = "https://github.com/cssnr/zensical-action-docs/blob/master/docs/"
-
# https://zensical.org/docs/setup/basics/#site_url
site_url = "https://zensical-action.cssnr.com/"
-
# https://zensical.org/docs/setup/basics/#copyright
copyright = """
Zensical Action Docs
Built with Zensical
"""
-
# https://zensical.org/docs/setup/navigation/
nav = [
- {"Get Started" = "index.md"},
- {"Usage" = "usage.md"},
- {"Examples" = "examples.md"},
- {"Support" = "support.md"},
+ { "Get Started" = "index.md" },
+ { "Usage" = "usage.md" },
+ { "Examples" = "examples.md" },
+ { "Support" = "support.md" },
]
-
# https://zensical.org/docs/customization/#additional-css
-#extra_css = ["assets/stylesheets/extra.css"]
-
+extra_css = ["assets/css/extra.css"]
# https://zensical.org/docs/customization/#additional-javascript
-extra_javascript = ["javascripts/external-links.js"]
+extra_javascript = ["assets/js/extra.js"]
# ----------------------------------------------------------------------------
# Section for configuring theme options
@@ -37,70 +31,67 @@ extra_javascript = ["javascripts/external-links.js"]
[project.theme]
# https://zensical.org/docs/setup/basics/?h=theme#theme-variant
-#variant = "classic"
+# variant = "classic"
# https://zensical.org/docs/customization/#extending-the-theme
custom_dir = "docs/overrides"
-
-favicon = "favicon.ico"
+favicon = "assets/images/logo.png"
logo = "assets/images/logo.png"
-
# https://zensical.org/docs/setup/language/
language = "en"
-
features = [
- # https://zensical.org/docs/setup/header/#announcement-bar
- "announce.dismiss",
- # https://zensical.org/docs/setup/repository/#code-actions
- "content.action.edit",
- # https://zensical.org/docs/setup/repository/#code-actions
- #"content.action.view",
- # https://zensical.org/docs/authoring/code-blocks/#code-annotations
- "content.code.annotate",
- # https://zensical.org/docs/authoring/code-blocks/#code-copy-button
- "content.code.copy",
- # https://zensical.org/docs/authoring/code-blocks/#code-selection-button
- #"content.code.select",
- # https://zensical.org/docs/authoring/footnotes/#footnote-tooltips
- "content.footnote.tooltips",
- # https://zensical.org/docs/authoring/content-tabs/#linked-content-tabs
- "content.tabs.link",
- # https://zensical.org/docs/authoring/tooltips/#improved-tooltips
- "content.tooltips",
- # https://zensical.org/docs/setup/header/#automatic-hiding
- #"header.autohide",
- # https://zensical.org/docs/setup/navigation/#navigation-expansion
- #"navigation.expand",
- # https://zensical.org/docs/setup/footer/#navigation
- "navigation.footer",
- # https://zensical.org/docs/setup/navigation/#section-index-pages
- "navigation.indexes",
- # https://zensical.org/docs/setup/navigation/#instant-navigation
- "navigation.instant",
- # https://zensical.org/docs/setup/navigation/#instant-prefetching
- "navigation.instant.prefetch",
- # https://zensical.org/docs/setup/navigation/#progress-indicator
- #"navigation.instant.progress",
- # https://zensical.org/docs/setup/navigation/#navigation-path
- "navigation.path",
- # https://zensical.org/docs/setup/navigation/#navigation-pruning
- #"navigation.prune",
- # https://zensical.org/docs/setup/navigation/#navigation-sections
- "navigation.sections",
- # https://zensical.org/docs/setup/navigation/#navigation-tabs
- #"navigation.tabs",
- # https://zensical.org/docs/setup/navigation/#sticky-navigation-tabs
- #"navigation.tabs.sticky",
- # https://zensical.org/docs/setup/navigation/#back-to-top-button
- "navigation.top",
- # https://zensical.org/docs/setup/navigation/#anchor-tracking
- "navigation.tracking",
- # https://zensical.org/docs/setup/search/#search-highlighting
- "search.highlight",
- # https://zensical.org/docs/setup/navigation/#anchor-following
- #"toc.follow",
- # https://zensical.org/docs/setup/navigation/#navigation-integration
- "toc.integrate",
+ # https://zensical.org/docs/setup/header/#announcement-bar
+ "announce.dismiss",
+ # https://zensical.org/docs/setup/repository/#code-actions
+ "content.action.edit",
+ # https://zensical.org/docs/setup/repository/#code-actions
+ # "content.action.view",
+ # https://zensical.org/docs/authoring/code-blocks/#code-annotations
+ "content.code.annotate",
+ # https://zensical.org/docs/authoring/code-blocks/#code-copy-button
+ "content.code.copy",
+ # https://zensical.org/docs/authoring/code-blocks/#code-selection-button
+ # "content.code.select",
+ # https://zensical.org/docs/authoring/footnotes/#footnote-tooltips
+ "content.footnote.tooltips",
+ # https://zensical.org/docs/authoring/content-tabs/#linked-content-tabs
+ "content.tabs.link",
+ # https://zensical.org/docs/authoring/tooltips/#improved-tooltips
+ "content.tooltips",
+ # https://zensical.org/docs/setup/header/#automatic-hiding
+ # "header.autohide",
+ # https://zensical.org/docs/setup/navigation/#navigation-expansion
+ # "navigation.expand",
+ # https://zensical.org/docs/setup/footer/#navigation
+ "navigation.footer",
+ # https://zensical.org/docs/setup/navigation/#section-index-pages
+ "navigation.indexes",
+ # https://zensical.org/docs/setup/navigation/#instant-navigation
+ "navigation.instant",
+ # https://zensical.org/docs/setup/navigation/#instant-prefetching
+ "navigation.instant.prefetch",
+ # https://zensical.org/docs/setup/navigation/#progress-indicator
+ # "navigation.instant.progress",
+ # https://zensical.org/docs/setup/navigation/#navigation-path
+ "navigation.path",
+ # https://zensical.org/docs/setup/navigation/#navigation-pruning
+ # "navigation.prune",
+ # https://zensical.org/docs/setup/navigation/#navigation-sections
+ "navigation.sections",
+ # https://zensical.org/docs/setup/navigation/#navigation-tabs
+ # "navigation.tabs",
+ # https://zensical.org/docs/setup/navigation/#sticky-navigation-tabs
+ # "navigation.tabs.sticky",
+ # https://zensical.org/docs/setup/navigation/#back-to-top-button
+ "navigation.top",
+ # https://zensical.org/docs/setup/navigation/#anchor-tracking
+ "navigation.tracking",
+ # https://zensical.org/docs/setup/search/#search-highlighting
+ "search.highlight",
+ # https://zensical.org/docs/setup/navigation/#anchor-following
+ # "toc.follow",
+ # https://zensical.org/docs/setup/navigation/#navigation-integration
+ "toc.integrate",
]
# ----------------------------------------------------------------------------
@@ -122,7 +113,7 @@ toggle.name = "Switch to light mode"
[[project.theme.palette]]
media = "(prefers-color-scheme: light)"
scheme = "default"
-primary = "yellow"
+primary = "yellow"
accent = "indigo"
toggle.icon = "lucide/sun"
toggle.name = "Switch to dark mode"
@@ -131,7 +122,7 @@ toggle.name = "Switch to dark mode"
[[project.theme.palette]]
media = "(prefers-color-scheme: dark)"
scheme = "slate"
-primary = "indigo"
+primary = "indigo"
accent = "yellow"
toggle.icon = "lucide/moon"
toggle.name = "Switch to system preference"
@@ -142,9 +133,9 @@ toggle.name = "Switch to system preference"
# of suitably licensed fonts. There are options for a normal text font and for
# a monospaced font used in code blocks.
# ----------------------------------------------------------------------------
-#[project.theme.font]
-#text = "Inter"
-#code = "Jetbrains Mono"
+# [project.theme.font]
+# text = "Inter"
+# code = "Jetbrains Mono"
# ----------------------------------------------------------------------------
# Read more:
@@ -153,50 +144,53 @@ toggle.name = "Switch to system preference"
# ----------------------------------------------------------------------------
[project.theme.icon]
repo = "fontawesome/brands/github"
-
-[project.theme.icon.admonition]
-note = "simple/githubactions"
-#action = "simple/githubactions"
+admonition = { note = "simple/githubactions" }
# ----------------------------------------------------------------------------
# The "extra" section contains miscellaneous settings.
# ----------------------------------------------------------------------------
+[project.extra]
+generator = false
+
[[project.extra.social]]
icon = "fontawesome/brands/github"
link = "https://github.com/cssnr/zensical-action"
name = "GitHub Repo"
+
[[project.extra.social]]
icon = "simple/githubactions"
link = "https://github.com/marketplace/actions/zensical-action"
name = "GitHub Marketplace"
+
[[project.extra.social]]
icon = "simple/materialformkdocs"
link = "https://github.com/cssnr/zensical-action-docs"
name = "Docs Repo"
+
[[project.extra.social]]
icon = "fontawesome/solid/globe"
link = "https://actions.cssnr.com/"
name = "Actions"
+
[[project.extra.social]]
icon = "simple/python"
link = "https://actions-tools.cssnr.com/"
name = "Actions Tools"
+
[[project.extra.social]]
icon = "fontawesome/brands/discord"
link = "https://discord.gg/wXy6m2X8wY"
name = "Discord"
+
[[project.extra.social]]
icon = "simple/kofi"
link = "https://ko-fi.com/cssnr"
name = "Ko-fi"
+
[[project.extra.social]]
icon = "fontawesome/solid/house-laptop"
link = "https://cssnr.github.io/"
name = "Website"
-[project.extra]
-generator = false
-
-#[project.markdown_extensions.toc]
-#permalink = true
+# https://zensical.org/docs/setup/extensions/#default-configuration