File tree Expand file tree Collapse file tree 3 files changed +11
-1
lines changed
Expand file tree Collapse file tree 3 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -93,6 +93,8 @@ public class Preferences
9393 /** cache_hint_for_picture_and_symbol_widgets */
9494 @ Preference public static String cache_hint_for_picture_and_symbol_widgets ;
9595 @ Preference public static boolean save_credentials ;
96+ /** phoebus_documentation_path */
97+ @ Preference public static String phoebus_documentation_location ;
9698
9799 static
98100 {
Original file line number Diff line number Diff line change 88package org .phoebus .ui .help ;
99
1010import org .phoebus .framework .workbench .Locations ;
11+ import org .phoebus .ui .Preferences ;
1112import org .phoebus .ui .application .Messages ;
1213import org .phoebus .ui .javafx .ImageCache ;
1314import org .phoebus .ui .spi .MenuEntry ;
@@ -61,6 +62,10 @@ public Void call()
6162
6263 public static String determineHelpLocation ()
6364 {
65+ if (!Preferences .phoebus_documentation_location .isEmpty ()) {
66+ return Preferences .phoebus_documentation_location ;
67+ }
68+
6469 final File phoenix_install = Locations .install ();
6570
6671 // The distribution includes a lib/ and a doc/ folder.
Original file line number Diff line number Diff line change @@ -175,4 +175,7 @@ cache_hint_for_picture_and_symbol_widgets=
175175# Whether or not to save user credentials to file or memory so they only have to be entered once. Note that this
176176# applies to all scopes/applications prompting for credentials.
177177# See also setting org.phoebus.security/secure_store_target
178- save_credentials =false
178+ save_credentials =false
179+
180+ # Location of the Phoebus documentation
181+ phoebus_documentation_location =
You can’t perform that action at this time.
0 commit comments