mirror of
https://github.com/TheGrandWazoo/freenas-proxmox.git
synced 2026-10-20 18:57:04 +02:00
feat: add Help button to TrueNAS storage panel and ship docs
- Inject pveOnlineHelpInfo entry in truenas-storage.js so PVE wires the Help button automatically via the StorageBase framework - Add onlineHelp: 'storage_truenas' to the input panel definition - Add ui/truenas-storage-help.html — local help page installed to /usr/share/pve-docs/truenas-storage.html (no internet required) - Add docs/getting-started.md and docs/architecture.md - Update postinst/postrm to install and remove the help HTML file - Update build.yml to include the help HTML in the package staging dir Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
feb1776aa1
commit
c48a992385
@@ -159,8 +159,9 @@ jobs:
|
||||
chmod 0755 "${STAGING}/DEBIAN/postinst" "${STAGING}/DEBIAN/postrm"
|
||||
|
||||
# Plugin files (postinst copies these to their final destinations)
|
||||
cp perl5/PVE/Storage/Custom/TrueNAS.pm "${STAGING}/usr/share/freenas-proxmox/TrueNAS.pm"
|
||||
cp ui/truenas-storage.js "${STAGING}/usr/share/freenas-proxmox/truenas-storage.js"
|
||||
cp perl5/PVE/Storage/Custom/TrueNAS.pm "${STAGING}/usr/share/freenas-proxmox/TrueNAS.pm"
|
||||
cp ui/truenas-storage.js "${STAGING}/usr/share/freenas-proxmox/truenas-storage.js"
|
||||
cp ui/truenas-storage-help.html "${STAGING}/usr/share/freenas-proxmox/truenas-storage-help.html"
|
||||
|
||||
echo "==> Package contents:"
|
||||
find "${STAGING}" | sort
|
||||
|
||||
Reference in New Issue
Block a user