Skip to content

Commit 12d195e

Browse files
authored
Merge pull request #582 from retiutut/updatedWebLinksNewDocs
Update links to OpenBCI Forum and new Docs at GitHub Pages
2 parents e3f1b4e + fcc429d commit 12d195e

9 files changed

Lines changed: 23 additions & 18 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
# v4.1.5
22
Use OpenBCIHub v2.0.9 please.
33

4+
## Beta 3
5+
6+
### Bug fixes
7+
* Update links to OpenBCI Forum and new Docs at GitHub Pages
8+
49
## Beta 2
510

611
### Bug fixes

OpenBCI_GUI/ControlPanel.pde

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1178,7 +1178,7 @@ class ControlPanel {
11781178
popOutWifiConfigButton.setString("<");
11791179
} else {
11801180
if (wifi_portName == "N/A") {
1181-
output("Please select a WiFi Shield first. Can't see your WiFi Shield? Learn how at docs.openbci.com/Tutorials/03-Wifi_Getting_Started_Guide");
1181+
output("Please select a WiFi Shield first. Can't see your WiFi Shield? Learn how at openbci.github.io/Documentation/");
11821182
} else {
11831183
output("Attempting to connect to WiFi Shield named " + wifi_portName);
11841184
hub.examineWifi(wifi_portName);
@@ -1654,7 +1654,7 @@ public void initButtonPressed(){
16541654
}
16551655
} else {
16561656
//if system is already active ... stop session and flip button state back
1657-
outputInfo("Learn how to use this application and more at docs.openbci.com");
1657+
outputInfo("Learn how to use this application and more at openbci.github.io/Documentation/");
16581658
initSystemButton.setString("START SESSION");
16591659
cp5.get(Textfield.class, "fileNameCyton").setText(getDateString()); //creates new data file name so that you don't accidentally overwrite the old one
16601660
cp5.get(Textfield.class, "fileNameGanglion").setText(getDateString()); //creates new data file name so that you don't accidentally overwrite the old one
@@ -1691,7 +1691,7 @@ class NoHubBox {
16911691
padding = _padding;
16921692

16931693
noHubShowDoc = new Button (x + padding, y + padding*2 + 13, w - padding*2, 24, "OPENBCI GUI INSTALL GUIDE", fontInfo.buttonLabel_size);
1694-
noHubShowDoc.setURL("http://docs.openbci.com/OpenBCI%20Software/01-OpenBCI_GUI");
1694+
noHubShowDoc.setURL("https://openbci.github.io/Documentation/docs/06Software/01-OpenBCISoftware/GUIDocs");
16951695
}
16961696

16971697
public void draw() {

OpenBCI_GUI/Debugging.pde

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class HelpWidget {
5454
int padding;
5555

5656
//current text shown in help widget, based on most recent command
57-
String currentOutput = "Learn how to use this application and more at docs.openbci.com/OpenBCI%20Software/01-OpenBCI_GUI";
57+
String currentOutput = "Learn how to use this application and more at openbci.github.io/Documentation/";
5858
OutputLevel curOutputLevel = OutputLevel.INFO;
5959

6060
HelpWidget(float _xPos, float _yPos, float _width, float _height) {

OpenBCI_GUI/Info.plist.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<key>CFBundleShortVersionString</key>
2424
<string>4</string>
2525
<key>CFBundleVersion</key>
26-
<string>4.1.5-beta.2</string>
26+
<string>4.1.5-beta.3</string>
2727
<key>CFBundleSignature</key>
2828
<string>????</string>
2929
<key>NSHumanReadableCopyright</key>

OpenBCI_GUI/InterfaceHub.pde

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ class Hub {
459459
break;
460460
case RESP_ERROR_WIFI_NEEDS_UPDATE:
461461
println("Error in processConnect: RESP_ERROR_WIFI_NEEDS_UPDATE");
462-
killAndShowMsg("WiFi Shield Firmware is out of date. Learn to update: docs.openbci.com/Hardware/12-Wifi_Programming_Tutorial");
462+
killAndShowMsg("WiFi Shield Firmware is out of date. Learn to update: https://openbci.github.io/Documentation/docs/05ThirdParty/03-WiFiShield/WiFiProgam");
463463
break;
464464
default:
465465
println("Error in processConnect");
@@ -485,7 +485,7 @@ class Hub {
485485
output("WiFi Shield is still connected to " + wifi_portName);
486486
break;
487487
case RESP_ERROR_UNABLE_TO_CONNECT:
488-
output("No WiFi Shield found, visit docs.openbci.com/Tutorials/03-Wifi_Getting_Started_Guide to learn how to connect.");
488+
output("No WiFi Shield found. Please visit https://openbci.github.io/Documentation/docs/01GettingStarted/01-Boards/WiFiGS");
489489
break;
490490
default:
491491
if (wcBox.isShowing) println("it is showing"); //controlPanel.hideWifiPopoutBox();
@@ -799,7 +799,7 @@ class Hub {
799799
}
800800
break;
801801
case RESP_ERROR_PROTOCOL_BLE_START:
802-
outputError("Failed to start Ganglion BLE Driver, please see http://docs.openbci.com/Tutorials/02-Ganglion_Getting%20Started_Guide");
802+
outputError("Failed to start Ganglion BLE Driver, please see https://openbci.github.io/Documentation/docs/01GettingStarted/01-Boards/GanglionGS");
803803
break;
804804
default:
805805
message = json.getString(TCP_JSON_KEY_MESSAGE);

OpenBCI_GUI/OpenBCI_GUI.pde

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ import com.sun.jna.Pointer;
5656
// Global Variables & Instances
5757
//------------------------------------------------------------------------
5858
//Used to check GUI version in TopNav.pde and displayed on the splash screen on startup
59-
String localGUIVersionString = "v4.1.5-beta.2";
59+
String localGUIVersionString = "v4.1.5-beta.3";
6060
String localGUIVersionDate = "August 2019";
6161
String guiLatestReleaseLocation = "https://github.com/OpenBCI/OpenBCI_GUI/releases/latest";
6262
Boolean guiVersionCheckHasOccured = false;
@@ -345,7 +345,7 @@ void setup() {
345345
println("Console Log Started at Local Time: " + getDateString());
346346
println("Screen Resolution: " + displayWidth + " X " + displayHeight);
347347
println("Welcome to the Processing-based OpenBCI GUI!"); //Welcome line.
348-
println("For more information, please visit: https://docs.openbci.com/OpenBCI%20Software/");
348+
println("For more information, please visit: https://openbci.github.io/Documentation/docs/06Software/01-OpenBCISoftware/GUIDocs");
349349

350350
//open window
351351
ourApplet = this;

OpenBCI_GUI/TopNav.pde

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1141,28 +1141,28 @@ class TutorialSelector {
11411141
int buttonNumber = 0;
11421142
Button tempTutorialButton = new Button(x + margin, y + margin*(buttonNumber+1) + b_h*(buttonNumber), b_w, b_h, "Getting Started");
11431143
tempTutorialButton.setFont(p5, 12);
1144-
tempTutorialButton.setURL("https://docs.openbci.com/Tutorials/01-Cyton_Getting%20Started_Guide");
1144+
tempTutorialButton.setURL("https://openbci.github.io/Documentation/docs/01GettingStarted/GettingStartedLanding");
11451145
tutorialOptions.add(tempTutorialButton);
11461146

11471147
buttonNumber = 1;
11481148
h = margin*(buttonNumber+2) + b_h*(buttonNumber+1);
11491149
tempTutorialButton = new Button(x + margin, y + margin*(buttonNumber+1) + b_h*(buttonNumber), b_w, b_h, "Testing Impedance");
11501150
tempTutorialButton.setFont(p5, 12);
1151-
tempTutorialButton.setURL("https://docs.openbci.com/OpenBCI%20Software/01-OpenBCI_GUI#the-openbci-gui-impedance-testing");
1151+
tempTutorialButton.setURL("https://openbci.github.io/Documentation/docs/06Software/01-OpenBCISoftware/GUIDocs#impedance-testing");
11521152
tutorialOptions.add(tempTutorialButton);
11531153

11541154
buttonNumber = 2;
11551155
h = margin*(buttonNumber+2) + b_h*(buttonNumber+1);
11561156
tempTutorialButton = new Button(x + margin, y + margin*(buttonNumber+1) + b_h*(buttonNumber), b_w, b_h, "OpenBCI Forum");
11571157
tempTutorialButton.setFont(p5, 12);
1158-
tempTutorialButton.setURL("https://openbci.com/index.php/forum/");
1158+
tempTutorialButton.setURL("https://openbci.com/forum/");
11591159
tutorialOptions.add(tempTutorialButton);
11601160

11611161
buttonNumber = 3;
11621162
h = margin*(buttonNumber+2) + b_h*(buttonNumber+1);
11631163
tempTutorialButton = new Button(x + margin, y + margin*(buttonNumber+1) + b_h*(buttonNumber), b_w, b_h, "Building Custom Widgets");
11641164
tempTutorialButton.setFont(p5, 12);
1165-
tempTutorialButton.setURL("https://docs.openbci.com/Tutorials/16-Custom_Widgets");
1165+
tempTutorialButton.setURL("https://openbci.github.io/Documentation/docs/06Software/01-OpenBCISoftware/GUIWidgets#custom-widget");
11661166
tutorialOptions.add(tempTutorialButton);
11671167
}
11681168
}

OpenBCI_GUI/W_Template.pde

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class W_template extends Widget {
2828

2929
widgetTemplateButton = new Button (x + w/2, y + h/2, 200, navHeight, "Design Your Own Widget!", 12);
3030
widgetTemplateButton.setFont(p4, 14);
31-
widgetTemplateButton.setURL("https://docs.openbci.com/Tutorials/16-Custom_Widgets");
31+
widgetTemplateButton.setURL("https://openbci.github.io/Documentation/docs/06Software/01-OpenBCISoftware/GUIWidgets#custom-widget");
3232
}
3333

3434
void update(){

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ OpenGL acceleration is required.
111111

112112

113113
## Troubleshooting
114-
The OpenBCI Hub comes installed in recent versions of the GUI. When running the GUI from Processing code, please follow these instructions for getting the **critical** piece of software called the OpenBCI HUB [Mac/Linux](http://docs.openbci.com/OpenBCI%20Software/01-OpenBCI_GUI#the-openbci-gui-running-the-openbci-gui-from-the-processing-ide-install-openbci-hub-on-maclinux) [Windows](http://docs.openbci.com/OpenBCI%20Software/01-OpenBCI_GUI#the-openbci-gui-install-openbci-hub-on-windows). Thanks and happy hacking!
114+
The OpenBCI Hub comes installed in recent versions of the GUI. When running the GUI from Processing code, [please follow these instructions](https://openbci.github.io/Documentation/docs/06Software/01-OpenBCISoftware/GUIDocs#install-openbci-hub-on-mac-linux-windows) for getting the **critical** piece of software called the OpenBCI HUB for Mac/Linux/Windows. Thanks and happy hacking!
115115

116116
## <a name="license"></a> License:
117117

@@ -123,5 +123,5 @@ MIT
123123
[link_shop_cyton_daisy]: https://shop.openbci.com/collections/frontpage/products/cyton-daisy-biosensing-boards-16-channel
124124
[link_ptw]: https://www.pushtheworldllc.com
125125
[link_openbci]: http://www.openbci.com
126-
[link_gui_widget_tutorial]: http://docs.openbci.com/Tutorials/15-Custom_Widgets
127-
[link_gui_run_from_processing]: http://docs.openbci.com/OpenBCI%20Software/01-OpenBCI_GUI#the-openbci-gui-running-the-openbci-gui-from-the-processing-ide
126+
[link_gui_widget_tutorial]: https://openbci.github.io/Documentation/docs/06Software/01-OpenBCISoftware/GUIWidgets#custom-widget
127+
[link_gui_run_from_processing]: https://openbci.github.io/Documentation/docs/06Software/01-OpenBCISoftware/GUIDocs#running-the-openbci-gui-from-the-processing-ide

0 commit comments

Comments
 (0)