Skip to content

Commit d1306ca

Browse files
committed
docs: add versioning documentation guidelines
1 parent e382a6c commit d1306ca

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,13 @@ Userscripts Safari currently supports the following userscript metadata:
198198

199199
Userscripts currently supports the following api methods. All methods are asynchronous unless otherwise noted. Users must `@grant` these methods in order to use them in a userscript. When using API methods, it's only possible to inject into the content script scope due to security concerns.
200200

201+
> [!NOTE]
202+
>
203+
> The following API description applies to the latest development branch, you may need to check the documentation for the corresponding version. Please switch to the version you want to check via `Branches` or `Tags` at the top.
204+
>
205+
> For example, for the v4.x.x version of the App Store:
206+
> https://github.com/quoid/userscripts/tree/release/4.x.x
207+
201208
For API type definitions, please refer to: [`types.d.ts`](https://github.com/userscriptsup/testscripts/blob/bfce18746cd6bcab0616727401fa7ab6ef4086ac/userscripts/types.d.ts)
202209

203210
- `GM.addStyle(css)`

0 commit comments

Comments
 (0)