mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-02-22 14:08:37 +01:00
fix
This commit is contained in:
15
.github/workflows/docs-release.yml
vendored
15
.github/workflows/docs-release.yml
vendored
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user