update docs links

This commit is contained in:
sawka
2024-09-20 10:36:44 -07:00
parent 5a421b1ce7
commit 7717d48131
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -269,7 +269,7 @@ class EditRemoteConnModal extends React.Component<{}, {}> {
Most options for connections imported from an ssh config file cannot be edited. For these
changes, you must edit the config file and import it again. The shell preference can be
edited, but will return to the default if you import again. It will stay changed if you
follow <a href="https://docs.waveterm.dev/features/sshconfig-imports">this procedure</a>.
follow <a href="https://legacydocs.waveterm.dev/features/sshconfig-imports">this procedure</a>.
</span>
}
icon={<i className="fa-sharp fa-regular fa-fw fa-triangle-exclamation" />}
+1 -1
View File
@@ -98,7 +98,7 @@ class TosModal extends React.Component<{}, {}> {
We collect minimal anonymous
<a
target="_blank"
href={util.makeExternLink("https://docs.waveterm.dev/reference/telemetry")}
href={util.makeExternLink("https://legacydocs.waveterm.dev/reference/telemetry")}
rel={"noopener"}
>
&nbsp;telemetry data&nbsp;
@@ -216,7 +216,7 @@ class ViewRemoteConnDetailModal extends React.Component<{}, {}> {
<span>
Connections imported from an ssh config file can be deleted, but will come back upon
importing again. They will stay removed if you follow{" "}
<a href="https://docs.waveterm.dev/features/sshconfig-imports">this procedure</a>.
<a href="https://legacydocs.waveterm.dev/features/sshconfig-imports">this procedure</a>.
</span>
}
icon={<i className="fa-sharp fa-regular fa-fw fa-triangle-exclamation" />}
+1 -1
View File
@@ -333,7 +333,7 @@ class MainSideBar extends React.Component<MainSideBarProps, {}> {
key="documentation"
frontIcon={<i className="fa-sharp fa-regular fa-circle-question icon" />}
contents="Documentation"
onClick={() => openLink("https://docs.waveterm.dev")}
onClick={() => openLink("https://legacydocs.waveterm.dev")}
endIcons={[
<CenteredIcon key="offsite" className="link-offsite hoverEffect">
<i className="fa-sharp fa-solid fa-arrow-up-right-from-square"></i>
+1 -1
View File
@@ -225,7 +225,7 @@ class CmdInput extends React.Component<{}, {}> {
<If condition={feState["invalidshellstate"]}>
<div className="remote-status-warning">
The shell state for this tab is invalid (
<a target="_blank" href="https://docs.waveterm.dev/reference/faq">
<a target="_blank" href="https://legacydocs.waveterm.dev/reference/faq">
see FAQ
</a>
). Must reset to continue.
+1 -1
View File
@@ -375,7 +375,7 @@ function createWindow(clientData: ClientDataType | null): Electron.BrowserWindow
win.webContents.send("zoom-changed");
});
win.webContents.setWindowOpenHandler(({ url, frameName }) => {
if (url.startsWith("https://docs.waveterm.dev/")) {
if (url.startsWith("https://docs.waveterm.dev/") || url.startsWith("https://legacydocs.waveterm.dev")) {
console.log("openExternal docs", url);
electron.shell.openExternal(url);
} else if (url.startsWith("https://discord.gg/")) {