From 912ee633e6320b5cfa5a346899f29721be7d08cb Mon Sep 17 00:00:00 2001 From: tigro Date: Thu, 17 Oct 2024 13:13:06 +0300 Subject: [PATCH] Disable upstream documentation links --- pkg/shell/topnav.jsx | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/pkg/shell/topnav.jsx b/pkg/shell/topnav.jsx index 79aaf2a84..4559d1ed8 100644 --- a/pkg/shell/topnav.jsx +++ b/pkg/shell/topnav.jsx @@ -154,22 +154,6 @@ export class TopNav extends React.Component { {cockpit.format(_("$0 documentation"), this.state.osRelease.MSVSPHERE_PRETTY_NAME)} ); - // global documentation for cockpit as a whole - (cockpit.manifests.shell?.docs ?? []).forEach(doc => { - docItems.push(}> - {doc.label} - ); - }); - - if (docs.length > 0) - docItems.push(); - - docs.forEach(e => { - docItems.push(}> - {_(e.label)} - ); - }); - docItems.push(); docItems.push( Dialogs.run(AboutCockpitModal, {})}> -- 2.47.0