Skip to content

Commit cba3e2b

Browse files
author
David Stirling
committed
Make manual links shared between patches
1 parent 55346f5 commit cba3e2b

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

cpa/helpmenu.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,8 @@ def _on_about(self):
7171
AboutBox(info)
7272

7373
def make_help_menu(frame, main=False, manual_url="index.html"):
74-
manual_url = f"https://cellprofiler-manual.s3.amazonaws.com/CellProfiler-Analyst-{__version__}/{manual_url}"
74+
help_version = __version__.rsplit('.', 1)[0]
75+
manual_url = f"https://cellprofiler-manual.s3.amazonaws.com/CellProfiler-Analyst-{help_version}/{manual_url}"
7576
helpMenu = wx.Menu()
7677
def on_manual(self):
7778
import webbrowser

docs/source/index.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
You can adapt this file completely to your liking, but it should at least
44
contain the root `toctree` directive.
55
6-
============
7-
Manual 3.0.3
8-
============
6+
==========
7+
Manual 3.0
8+
==========
99

1010
.. image:: https://i.imgur.com/uaEp2md.png
1111

0 commit comments

Comments
 (0)