@farming-labs/docs 0.0.2-beta.26 → 0.0.2-beta.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +5 -2
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -431,10 +431,13 @@ interface OpenDocsProvider {
|
|
|
431
431
|
/** Icon element rendered next to the name */
|
|
432
432
|
icon?: unknown;
|
|
433
433
|
/**
|
|
434
|
-
* URL template.
|
|
435
|
-
* `{
|
|
434
|
+
* URL template. Placeholders:
|
|
435
|
+
* - `{url}` — current page URL (encoded).
|
|
436
|
+
* - `{mdxUrl}` — page URL with `.mdx` suffix (encoded).
|
|
437
|
+
* - `{githubUrl}` — GitHub edit URL for the current page (same as "Edit on GitHub"). Requires `github` in config.
|
|
436
438
|
*
|
|
437
439
|
* @example "https://claude.ai/new?q=Read+this+doc:+{url}"
|
|
440
|
+
* @example "{githubUrl}" — open current page file on GitHub (edit view)
|
|
438
441
|
*/
|
|
439
442
|
urlTemplate: string;
|
|
440
443
|
}
|