@farming-labs/docs 0.0.2-beta.27 → 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.
Files changed (2) hide show
  1. package/dist/index.d.mts +5 -2
  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. `{url}` is replaced with the current page URL.
435
- * `{mdxUrl}` is replaced with the `.mdx` variant of the page URL.
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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@farming-labs/docs",
3
- "version": "0.0.2-beta.27",
3
+ "version": "0.0.2-beta.28",
4
4
  "description": "Modern, flexible MDX-based docs framework — core types, config, and CLI",
5
5
  "keywords": [
6
6
  "docs",