Skip to content

Commit

Permalink
fix links
Browse files Browse the repository at this point in the history
  • Loading branch information
yume-chan committed Dec 30, 2023
1 parent f7e0818 commit 0a23714
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/api/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Exposed as fields of `Adb` class, these are implemented by ADB daemon itself.
* [`subprocess`](./subprocess.mdx): Spawn processes on device
* [`power`](./power.md): Shutdown/reboot device
* [`reverse`](./reverse.mdx): Manage reverse port forwarding
* [`tcpip`](./tcpip.md): Enable/disable ADB over WiFi
* [`tcpip`](./tcpip.mdx): Enable/disable ADB over WiFi
* [`getProp`](./get-prop.md): Shorthand for `getprop` executable
* [`rm`](./rm.md): Delete files on device
* [`sync`](./sync/index.mdx): Interact with device filesystem
Expand Down
2 changes: 1 addition & 1 deletion docs/api/tcpip.md → docs/api/tcpip.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Toggling ADB over WiFi will restart ADB daemon, causing all existing connections

:::info

Tango requires another daemon connection to connect devices over TCP. See [create TCP connection](../daemon/tcp/create-connection.mdx) for more information.
Tango requires another daemon connection to connect devices over TCP. See [create TCP connection](../tango/daemon/tcp/create-connection.mdx) for more information.

:::

Expand Down
2 changes: 1 addition & 1 deletion docs/scrcpy/start-server.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ adb shell CLASSPATH=/data/local/tmp/scrcpy-server.jar app_process / com.genymobi

## Start using Tango

It uses [Subprocess#spawn](../tango/commands/subprocess.mdx#start-process-in-raw-mode) to start a process on device:
It uses [Subprocess#spawn](../api/subprocess.mdx#start-process-in-raw-mode) to start a process on device:

```ts transpile
import type { Adb } from "@yume-chan/adb";
Expand Down
2 changes: 1 addition & 1 deletion docs/tango/daemon/tcp/enable.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@ On non-rooted devices with Android 10 and below, enabling ADB over WiFi requires

`5555` is the port ADB daemon will listen at, and can be freely changed.

- To enable ADB over WiFI using Tango, use the [`tcpip` command](../../../api/tcpip.md).
- To enable ADB over WiFI using Tango, use the [`tcpip` command](../../api/tcpip.mdx).

When device is restarted, ADB over WiFi will be disabled. To re-enable it, connect the device using a USB cable and follow the steps above again.

0 comments on commit 0a23714

Please sign in to comment.