This commit is contained in:
Johannes Braun
2026-02-22 00:55:20 +01:00
parent da095b1591
commit b925ea8a2d
3 changed files with 14 additions and 7 deletions

View File

@@ -25,11 +25,20 @@ jobs:
- run: pip install zensical - run: pip install zensical
- run: cp HMI/README.md docs/hmi-serial-protocol.md - run: cp HMI/README.md docs/hmi-serial-protocol.md
- run: zensical build --config-file mkdocs.yml - run: zensical build --config-file mkdocs.yml
- run: mv site _site_main
- run: zensical build --config-file docs-standalone/mkdocs.yml - run: zensical build --config-file docs-standalone/mkdocs.yml
- run: mkdir -p _site/standalone _site/stable - run: mkdir -p _site/standalone _site/stable
- run: cp -a site/. _site/ - run: cp -a _site_main/. _site/
- run: cp -a site/. _site/stable/ - run: cp -a _site_main/. _site/stable/
- run: cp -a site-standalone/. _site/standalone/ - run: |
if [ -d site-standalone ]; then
cp -a site-standalone/. _site/standalone/
elif [ -d site ]; then
cp -a site/. _site/standalone/
else
echo "Standalone docs output not found (expected 'site-standalone' or 'site')."
exit 1
fi
- uses: actions/upload-pages-artifact@v4 - uses: actions/upload-pages-artifact@v4
with: with:
path: _site path: _site

View File

@@ -1,7 +1,7 @@
site_name: NsPanel Lovelace UI Standalone Docs site_name: NsPanel Lovelace UI Standalone Docs
site_description: Documentation for the standalone/Home Assistant add-on rewrite in nspanel-lovelace-ui. site_description: Documentation for the standalone/Home Assistant add-on rewrite in nspanel-lovelace-ui.
site_author: Johannes Braun site_author: Johannes Braun
site_url: https://jobr99.github.io/nspanel-lovelace-ui site_url: https://jobr99.github.io/nspanel-lovelace-ui/standalone
repo_name: jobr99/nspanel-lovelace-ui repo_name: jobr99/nspanel-lovelace-ui
repo_url: https://github.com/jobr99/nspanel-lovelace-ui repo_url: https://github.com/jobr99/nspanel-lovelace-ui
@@ -10,6 +10,7 @@ edit_uri: ""
copyright: "Copyright © 2026 Johannes Braun" copyright: "Copyright © 2026 Johannes Braun"
docs_dir: . docs_dir: .
site_dir: ../site-standalone
theme: theme:
name: material name: material

View File

@@ -42,8 +42,6 @@ extra_css:
extra: extra:
analytics: analytics:
provider: custom provider: custom
version:
provider: mike
markdown_extensions: markdown_extensions:
- admonition - admonition
@@ -63,7 +61,6 @@ markdown_extensions:
plugins: plugins:
- search: - search:
lang: en lang: en
- mkdocs-video
nav: nav:
- "Overview": index.md - "Overview": index.md