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: cp HMI/README.md docs/hmi-serial-protocol.md
- run: zensical build --config-file mkdocs.yml
- run: mv site _site_main
- run: zensical build --config-file docs-standalone/mkdocs.yml
- run: mkdir -p _site/standalone _site/stable
- run: cp -a site/. _site/
- run: cp -a site/. _site/stable/
- run: cp -a site-standalone/. _site/standalone/
- run: cp -a _site_main/. _site/
- run: cp -a _site_main/. _site/stable/
- 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
with:
path: _site

View File

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

View File

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