wiki/IPC: Link to the online rustdoc
Browse files at this commit4543873dae1fdfd0b1b9a028d168ada97ab011b2Parent: a2c85531 changed file +2 -4
- wiki/IPC.md +2 -4
wiki/IPC.mdmodified+2 -4
| @@ -26,7 +26,7 @@ To get a taste of the events, run `niri msg event-stream`. | |||
| 26 | Though, this is more of a debug function than anything. | 26 | Though, this is more of a debug function than anything. |
| 27 | You can get raw events from `niri msg --json event-stream`, or by connecting to the niri socket and requesting an event stream manually. | 27 | You can get raw events from `niri msg --json event-stream`, or by connecting to the niri socket and requesting an event stream manually. |
| 28 | 28 | ||
| 29 | -You can find the full list of events along with documentation in the [niri-ipc sub-crate][niri-ipc]. | 29 | +You can find the full list of events along with documentation [here](https://yalter.github.io/niri/niri_ipc/enum.Event.html). |
| 30 | 30 | ||
| 31 | ### Programmatic Access | 31 | ### Programmatic Access |
| 32 | 32 | ||
| @@ -57,7 +57,7 @@ $ env NIRI_SOCKET=./temp.sock niri msg action focus-workspace 2 | |||
| 57 | {"Action":{"FocusWorkspace":{"reference":{"Index":2}}}} | 57 | {"Action":{"FocusWorkspace":{"reference":{"Index":2}}}} |
| 58 | ``` | 58 | ``` |
| 59 | 59 | ||
| 60 | -You can find all available requests and response types in the [niri-ipc sub-crate][niri-ipc]. | 60 | +You can find all available requests and response types in the [niri-ipc sub-crate documentation](https://yalter.github.io/niri/niri_ipc/). |
| 61 | 61 | ||
| 62 | ### Backwards Compatibility | 62 | ### Backwards Compatibility |
| 63 | 63 | ||
| @@ -75,5 +75,3 @@ Please prefer the JSON output for scripts, since I reserve the right to make any | |||
| 75 | 75 | ||
| 76 | The `niri-ipc` sub-crate (like other niri sub-crates) is *not* API-stable in terms of the Rust semver; rather, it follows the version of niri itself. | 76 | The `niri-ipc` sub-crate (like other niri sub-crates) is *not* API-stable in terms of the Rust semver; rather, it follows the version of niri itself. |
| 77 | In particular, new struct fields and enum variants will be added. | 77 | In particular, new struct fields and enum variants will be added. |
| 78 | - | ||
| 79 | -[niri-ipc]: https://github.com/YaLTeR/niri/tree/main/niri-ipc | ||