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

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,31 +19,12 @@ 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-beta2 ![beta](https://img.shields.io/badge/release-beta-yellow)
22
+ ## Version 1.1.0 ![Release](https://img.shields.io/badge/release-production-blue)
23
23
 
24
- Enhanced documentation with practical examples
24
+ Enhanced task interactions with outputs, better navigation, and improved animations
25
25
 
26
26
  <details>
27
- <summary><strong>Beta Details</strong> (2025 December 09)</summary>
28
-
29
- ### Improvements
30
-
31
- - **Better Documentation**: Added new task examples with detailed output explanations
32
- - Clearer demonstrations of plugin capabilities
33
- - More practical usage examples for common scenarios
34
- - **Improved Structure**: Updated sidebar positions and added known issues documentation
35
- - **Visual Refinements**: Enhanced sidebar and navbar logo handling
36
-
37
- </details>
38
-
39
- ---
40
-
41
- ## Version 1.1.0-beta1 ![beta](https://img.shields.io/badge/release-beta-yellow)
42
-
43
- Show expected outputs and enjoy smoother interactions
44
-
45
- <details>
46
- <summary><strong>Beta Details</strong> (2025 December 08)</summary>
27
+ <summary><strong>Details</strong> (2026 January 07)</summary>
47
28
 
48
29
  ### New Features
49
30
 
@@ -51,7 +32,6 @@ Show expected outputs and enjoy smoother interactions
51
32
  - New `:::output` directive displays expected command results or task outcomes
52
33
  - Helps learners verify they're on the right track
53
34
  - Consistent styling with hints and solutions
54
-
55
35
  - **Better Navigation**: Tasks now appear in your page's table of contents
56
36
  - Easier to jump between tasks in long tutorials
57
37
  - Improved document structure for better accessibility
@@ -61,15 +41,16 @@ Show expected outputs and enjoy smoother interactions
61
41
  - **Smoother Animations**: Polished panel transitions when revealing hints, solutions, and outputs
62
42
  - No more jarring layout shifts
63
43
  - More responsive and professional feel
44
+ - **Better Documentation**: Added new task examples with detailed output explanations
45
+ - Clearer demonstrations of plugin capabilities
46
+ - More practical usage examples for common scenarios
47
+ - **Edit URL Support**: Package documentation now includes "Edit this page" links that point to the correct source file in GitHub
48
+ - **Package Documentation**: Documentation is now bundled with the npm package, making it accessible during development and for offline reference
64
49
 
65
50
  ### Bug Fixes
66
51
 
67
52
  - Fixed compatibility issues with Docusaurus's markdown processing pipeline
68
53
 
69
- ### Package Documentation
70
-
71
- - Documentation is now bundled with the npm package, making it accessible during development and for offline reference
72
-
73
54
  </details>
74
55
 
75
56
  ---
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",
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,