mirror of
https://github.com/wavetermdev/waveterm.git
synced 2024-12-21 16:38:23 +01:00
Update documentation links in main-legacy (#849)
This commit is contained in:
parent
a221655027
commit
bea1949e47
@ -40,9 +40,9 @@ brew install --cask wave
|
|||||||
|
|
||||||
- Homepage — https://www.waveterm.dev
|
- Homepage — https://www.waveterm.dev
|
||||||
- Download Page — https://www.waveterm.dev/download
|
- Download Page — https://www.waveterm.dev/download
|
||||||
- Documentation — https://docs.waveterm.dev/
|
- Documentation — https://legacydocs.waveterm.dev/
|
||||||
- Blog — https://blog.waveterm.dev/
|
- Blog — https://blog.waveterm.dev/
|
||||||
- Quick Start Guide — https://docs.waveterm.dev/quickstart/
|
- Quick Start Guide — https://legacydocs.waveterm.dev/quickstart/
|
||||||
- Discord Community — https://discord.gg/XfvZ334gwU
|
- Discord Community — https://discord.gg/XfvZ334gwU
|
||||||
|
|
||||||
## Building from Source
|
## Building from Source
|
||||||
|
@ -269,7 +269,8 @@ class EditRemoteConnModal extends React.Component<{}, {}> {
|
|||||||
Most options for connections imported from an ssh config file cannot be edited. For these
|
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
|
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
|
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>
|
</span>
|
||||||
}
|
}
|
||||||
icon={<i className="fa-sharp fa-regular fa-fw fa-triangle-exclamation" />}
|
icon={<i className="fa-sharp fa-regular fa-fw fa-triangle-exclamation" />}
|
||||||
|
@ -98,7 +98,9 @@ class TosModal extends React.Component<{}, {}> {
|
|||||||
We collect minimal anonymous
|
We collect minimal anonymous
|
||||||
<a
|
<a
|
||||||
target="_blank"
|
target="_blank"
|
||||||
href={util.makeExternLink("https://docs.waveterm.dev/reference/telemetry")}
|
href={util.makeExternLink(
|
||||||
|
"https://legacydocs.waveterm.dev/reference/telemetry",
|
||||||
|
)}
|
||||||
rel={"noopener"}
|
rel={"noopener"}
|
||||||
>
|
>
|
||||||
telemetry data
|
telemetry data
|
||||||
|
@ -216,7 +216,7 @@ class ViewRemoteConnDetailModal extends React.Component<{}, {}> {
|
|||||||
<span>
|
<span>
|
||||||
Connections imported from an ssh config file can be deleted, but will come back upon
|
Connections imported from an ssh config file can be deleted, but will come back upon
|
||||||
importing again. They will stay removed if you follow{" "}
|
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>
|
</span>
|
||||||
}
|
}
|
||||||
icon={<i className="fa-sharp fa-regular fa-fw fa-triangle-exclamation" />}
|
icon={<i className="fa-sharp fa-regular fa-fw fa-triangle-exclamation" />}
|
||||||
@ -373,7 +373,7 @@ class ViewRemoteConnDetailModal extends React.Component<{}, {}> {
|
|||||||
className={clsx(
|
className={clsx(
|
||||||
"terminal-wrapper",
|
"terminal-wrapper",
|
||||||
{ focus: isTermFocused },
|
{ focus: isTermFocused },
|
||||||
remote != null ? "status-" + remote.status : null
|
remote != null ? "status-" + remote.status : null,
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
<If condition={!isTermFocused}>
|
<If condition={!isTermFocused}>
|
||||||
@ -393,7 +393,7 @@ class ViewRemoteConnDetailModal extends React.Component<{}, {}> {
|
|||||||
height: textmeasure.termHeightFromRows(
|
height: textmeasure.termHeightFromRows(
|
||||||
appconst.RemotePtyRows,
|
appconst.RemotePtyRows,
|
||||||
termFontSize,
|
termFontSize,
|
||||||
appconst.RemotePtyTotalRows
|
appconst.RemotePtyTotalRows,
|
||||||
),
|
),
|
||||||
width: termWidth,
|
width: termWidth,
|
||||||
}}
|
}}
|
||||||
|
@ -333,7 +333,7 @@ class MainSideBar extends React.Component<MainSideBarProps, {}> {
|
|||||||
key="documentation"
|
key="documentation"
|
||||||
frontIcon={<i className="fa-sharp fa-regular fa-circle-question icon" />}
|
frontIcon={<i className="fa-sharp fa-regular fa-circle-question icon" />}
|
||||||
contents="Documentation"
|
contents="Documentation"
|
||||||
onClick={() => openLink("https://docs.waveterm.dev")}
|
onClick={() => openLink("https://legacydocs.waveterm.dev")}
|
||||||
endIcons={[
|
endIcons={[
|
||||||
<CenteredIcon key="offsite" className="link-offsite hoverEffect">
|
<CenteredIcon key="offsite" className="link-offsite hoverEffect">
|
||||||
<i className="fa-sharp fa-solid fa-arrow-up-right-from-square"></i>
|
<i className="fa-sharp fa-solid fa-arrow-up-right-from-square"></i>
|
||||||
|
@ -225,7 +225,7 @@ class CmdInput extends React.Component<{}, {}> {
|
|||||||
<If condition={feState["invalidshellstate"]}>
|
<If condition={feState["invalidshellstate"]}>
|
||||||
<div className="remote-status-warning">
|
<div className="remote-status-warning">
|
||||||
The shell state for this tab is invalid (
|
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
|
see FAQ
|
||||||
</a>
|
</a>
|
||||||
). Must reset to continue.
|
). Must reset to continue.
|
||||||
@ -287,7 +287,7 @@ class CmdInput extends React.Component<{}, {}> {
|
|||||||
key="input"
|
key="input"
|
||||||
className={clsx(
|
className={clsx(
|
||||||
"cmd-input-field field has-addons",
|
"cmd-input-field field has-addons",
|
||||||
inputMode != null ? "inputmode-" + inputMode : null
|
inputMode != null ? "inputmode-" + inputMode : null,
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
<If condition={inputMode != null}>
|
<If condition={inputMode != null}>
|
||||||
|
@ -55,7 +55,7 @@ const loggerConfig = {
|
|||||||
level: "info",
|
level: "info",
|
||||||
format: winston.format.combine(
|
format: winston.format.combine(
|
||||||
winston.format.timestamp({ format: "YYYY-MM-DD HH:mm:ss" }),
|
winston.format.timestamp({ format: "YYYY-MM-DD HH:mm:ss" }),
|
||||||
winston.format.printf((info) => `${info.timestamp} ${info.message}`)
|
winston.format.printf((info) => `${info.timestamp} ${info.message}`),
|
||||||
),
|
),
|
||||||
transports: loggerTransports,
|
transports: loggerTransports,
|
||||||
};
|
};
|
||||||
@ -75,8 +75,8 @@ console.log(
|
|||||||
getElectronAppBasePath(),
|
getElectronAppBasePath(),
|
||||||
getGoAppBasePath(),
|
getGoAppBasePath(),
|
||||||
unamePlatform,
|
unamePlatform,
|
||||||
unameArch
|
unameArch,
|
||||||
)
|
),
|
||||||
);
|
);
|
||||||
if (isDev) {
|
if (isDev) {
|
||||||
console.log("waveterm-app WAVETERM_DEV set");
|
console.log("waveterm-app WAVETERM_DEV set");
|
||||||
@ -361,11 +361,11 @@ function createWindow(clientData: ClientDataType | null): Electron.BrowserWindow
|
|||||||
win.webContents.on("will-frame-navigate", shFrameNavHandler);
|
win.webContents.on("will-frame-navigate", shFrameNavHandler);
|
||||||
win.on(
|
win.on(
|
||||||
"resize",
|
"resize",
|
||||||
debounce(400, (e) => mainResizeHandler(e, win))
|
debounce(400, (e) => mainResizeHandler(e, win)),
|
||||||
);
|
);
|
||||||
win.on(
|
win.on(
|
||||||
"move",
|
"move",
|
||||||
debounce(400, (e) => mainResizeHandler(e, win))
|
debounce(400, (e) => mainResizeHandler(e, win)),
|
||||||
);
|
);
|
||||||
win.on("focus", () => {
|
win.on("focus", () => {
|
||||||
wasInFg = true;
|
wasInFg = true;
|
||||||
@ -375,7 +375,7 @@ function createWindow(clientData: ClientDataType | null): Electron.BrowserWindow
|
|||||||
win.webContents.send("zoom-changed");
|
win.webContents.send("zoom-changed");
|
||||||
});
|
});
|
||||||
win.webContents.setWindowOpenHandler(({ url, frameName }) => {
|
win.webContents.setWindowOpenHandler(({ url, frameName }) => {
|
||||||
if (url.startsWith("https://docs.waveterm.dev/")) {
|
if (url.startsWith("https://legacydocs.waveterm.dev/")) {
|
||||||
console.log("openExternal docs", url);
|
console.log("openExternal docs", url);
|
||||||
electron.shell.openExternal(url);
|
electron.shell.openExternal(url);
|
||||||
} else if (url.startsWith("https://discord.gg/")) {
|
} else if (url.startsWith("https://discord.gg/")) {
|
||||||
|
Loading…
Reference in New Issue
Block a user