@sp-days-framework/docusaurus-plugin-interactive-tasks 1.1.0-beta2 → 1.1.0-beta3

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.
@@ -19,6 +19,21 @@ All packages within `@sp-days-framework` use the same version number. In some ca
19
19
 
20
20
  ---
21
21
 
22
+ ## Version 1.1.0-beta3 ![beta](https://img.shields.io/badge/release-beta-yellow)
23
+
24
+ Documentation improvements
25
+
26
+ <details>
27
+ <summary><strong>Beta Details</strong> (2025 December 12)</summary>
28
+
29
+ ### Improvements
30
+
31
+ - **Edit URL Support**: Package documentation now includes "Edit this page" links that point to the correct source file in GitHub
32
+
33
+ </details>
34
+
35
+ ---
36
+
22
37
  ## Version 1.1.0-beta2 ![beta](https://img.shields.io/badge/release-beta-yellow)
23
38
 
24
39
  Enhanced documentation with practical examples
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sp-days-framework/docusaurus-plugin-interactive-tasks",
3
- "version": "1.1.0-beta2",
3
+ "version": "1.1.0-beta3",
4
4
  "description": "A Docusaurus plugin for interactive task components with progress tracking",
5
5
  "repository": {
6
6
  "type": "git",
@@ -9,6 +9,14 @@ module.exports = {
9
9
  id: "interactive-tasks-docs",
10
10
  path: require("path").join(__dirname, "docs"),
11
11
  routeBasePath: "package-docs/interactive-tasks",
12
+ editUrl: function (params) {
13
+ // Remove node_modules/@sp-days-framework/docusaurus-plugin-interactive-tasks/docs from the path
14
+ const cleanPath = params.docPath.replace(
15
+ /^.*node_modules\/@sp-days-framework\/docusaurus-plugin-interactive-tasks\/docs\//,
16
+ "",
17
+ );
18
+ return `https://github.com/helse-sorost/sp-days-framework/edit/main/docusaurus-plugin-interactive-tasks/docs/${cleanPath}`;
19
+ },
12
20
  beforeDefaultRemarkPlugins: [
13
21
  [
14
22
  require("./lib/index.js").remarkTaskDirective,