Ver código fonte

docs(api): fix shell links

Lucas Nogueira 3 anos atrás
pai
commit
3e18264d9e
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      tooling/api/src/shell.ts

+ 2 - 2
tooling/api/src/shell.ts

@@ -29,13 +29,13 @@
  *
  * This API has a scope configuration that forces you to restrict the programs and arguments that can be used.
  *
- * ### Restricting access to the [[`open`]] API
+ * ### Restricting access to the [[open | `open`]] API
  *
  * On the allowlist, `open: true` means that the [[open]] API can be used with any URL,
  * as the argument is validated with the `^https?://` regex.
  * You can change that regex by changing the boolean value to a string, e.g. `open: ^https://github.com/`.
  *
- * ### Restricting access to the [[`Command`]] APIs
+ * ### Restricting access to the [[Command | `Command`]] APIs
  *
  * The `shell` allowlist object has a `scope` field that defines an array of CLIs that can be used.
  * Each CLI is a configuration object `{ name: string, cmd: string, sidecar?: bool, args?: boolean | Arg[] }`.