From 70ea5e0bae491b075819b62295498cf28c15e2b8 Mon Sep 17 00:00:00 2001 From: Veronica Berglyd Olsen <1619840+vkbo@users.noreply.github.com> Date: Tue, 16 May 2023 23:04:24 +0200 Subject: [PATCH] Fix broken documentation URL --- novelwriter/gui/mainmenu.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/novelwriter/gui/mainmenu.py b/novelwriter/gui/mainmenu.py index 0da2d783a..12568da68 100644 --- a/novelwriter/gui/mainmenu.py +++ b/novelwriter/gui/mainmenu.py @@ -872,14 +872,9 @@ def _buildHelpMenu(self): self.helpMenu.addSeparator() # Help > User Manual (Online) - if novelwriter.__version__[-2] == "f": - docUrl = f"{novelwriter.__docurl__}/en/stable/" - else: - docUrl = f"{novelwriter.__docurl__}/en/latest/" - self.aHelpDocs = QAction(self.tr("User Manual (Online)"), self) self.aHelpDocs.setShortcut("F1") - self.aHelpDocs.triggered.connect(lambda: self._openWebsite(docUrl)) + self.aHelpDocs.triggered.connect(lambda: self._openWebsite(novelwriter.__docurl__)) self.helpMenu.addAction(self.aHelpDocs) # Help > User Manual (PDF)