Skip to content

Free Motion Capture for Everyone πŸ’€βœ¨

TypeScript

Patch: Fix links to Documentation in Code (#552)

philipqueen0dc0862386cc
diff --git a/freemocap/gui/qt/actions_and_menus/actions.py b/freemocap/gui/qt/actions_and_menus/actions.py
index 5a4302bb..0dac83f0 100644
--- a/freemocap/gui/qt/actions_and_menus/actions.py
+++ b/freemocap/gui/qt/actions_and_menus/actions.py
@@ -78,7 +78,7 @@ class Actions:
# Help
self.open_docs_action = QAction(OPEN_DOCS_ACTION_NAME, parent=freemocap_main_window)
self.open_docs_action.triggered.connect(
- lambda: QDesktopServices.openUrl(QUrl("https://freemocap.github.io/documentation/"))
+ lambda: QDesktopServices.openUrl(QUrl("https://freemocap.github.io/documentation/index_md.html"))
)
self.freemocap_foundation_action = QAction(FREEMOCAP_FOUNDATION_ACTION_NAME, parent=freemocap_main_window)
diff --git a/freemocap/gui/qt/widgets/welcome_screen_dialog.py b/freemocap/gui/qt/widgets/welcome_screen_dialog.py
index 738a1200..82310279 100644
--- a/freemocap/gui/qt/widgets/welcome_screen_dialog.py
+++ b/freemocap/gui/qt/widgets/welcome_screen_dialog.py
@@ -38,7 +38,7 @@ class WelcomeScreenDialog(QDialog):
single_camera_docs_label.setWordWrap(True)
self._layout.addWidget(single_camera_docs_label, 1)
- single_camera_recording_doc_link_string = '&#10132; <a href="https://freemocap.github.io/documentation/getting_started/single_camera_recording/" style="color: #333333;"> Single camera recording tutorial</a>'
+ single_camera_recording_doc_link_string = '&#10132; <a href="https://freemocap.github.io/documentation/single-camera-recording.html" style="color: #333333;"> Single camera recording tutorial</a>'
single_camera_doc_link = QLabel(single_camera_recording_doc_link_string)
single_camera_doc_link.setOpenExternalLinks(True)
self._layout.addWidget(single_camera_doc_link)
@@ -48,7 +48,7 @@ class WelcomeScreenDialog(QDialog):
multi_camera_docs_label.setWordWrap(True)
self._layout.addWidget(multi_camera_docs_label, 1)
- multi_camera_recording_doc_link_string = '&#10132; <a href="https://freemocap.github.io/documentation/getting_started/multi_camera_calibration/" style="color: #333333;"> Multi camera recording tutorial</a>'
+ multi_camera_recording_doc_link_string = '&#10132; <a href="https://freemocap.github.io/documentation/multi-camera-calibration.html</a>'
multi_camera_doc_link = QLabel(multi_camera_recording_doc_link_string)
multi_camera_doc_link.setOpenExternalLinks(True)
self._layout.addWidget(multi_camera_doc_link)