From a0a076d4b2b5770c35c63fff4e5ed80abd5fade9 Mon Sep 17 00:00:00 2001 From: Eugene Zamriy Date: Tue, 21 Nov 2023 00:48:25 +0300 Subject: [PATCH 6/6] 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 e1a8e4c66..111563118 100644 --- a/pkg/shell/topnav.jsx +++ b/pkg/shell/topnav.jsx @@ -152,22 +152,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.show()}> -- 2.43.0