]> git.proxmox.com Git - pve-manager.git/commitdiff
ui: config panel: fix onlineHelp mapping targets
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 10 Jan 2023 11:26:21 +0000 (12:26 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 10 Jan 2023 11:26:23 +0000 (12:26 +0100)
We currently do not support direct resolved links, and we also have
no stability guarantee for those, so the might change in pve-docs-

Switch to mapping to the chapter reference, which actually works and
is intended for stable help references.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
www/manager6/panel/ConfigPanel.js

index 94600aa2f5bf60979cd67c7cdbc72666a69b749c..28d919f6aa0a8f1fc44bed9cae6e342f528329a6 100644 (file)
@@ -177,12 +177,12 @@ Ext.define('PVE.panel.Config', {
 
        if (!me.onlineHelp) {
            let typeToOnlineHelp = {
-               'type/lxc': 'chapter-pct.html',
-               'type/node': 'chapter-sysadmin.html',
-               'type/pool': 'chapter-pveum.html#_pools',
-               'type/qemu': 'chapter-qm.html',
-               'type/sdn': 'chapter-pvesdn.html',
-               'type/storage': 'chapter-pvesm.html',
+               'type/lxc': 'chapter_pct',
+               'type/node': 'chapter_system_administration',
+               'type/pool': 'pveum_pools',
+               'type/qemu': 'chapter_virtual_machines',
+               'type/sdn': 'chapter_pvesdn',
+               'type/storage': 'chapter_storage',
            };
            me.onlineHelp = typeToOnlineHelp[me.pveSelNode.data.id];
        }