@sp-days-framework/create-sp-days 1.0.4 → 1.1.0-beta2

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 (75) hide show
  1. package/README.md +14 -0
  2. package/bin/index.js +2 -0
  3. package/docs/advanced-config.mdx +412 -0
  4. package/docs/changelog.mdx +129 -0
  5. package/docs/index.mdx +206 -0
  6. package/docs/install.mdx +199 -0
  7. package/docs/sidebar-sections.mdx +268 -0
  8. package/docs/sp-days-plugin-color-light.svg +53 -0
  9. package/lib/.tsbuildinfo +1 -0
  10. package/lib/.tsbuildinfo-build +1 -0
  11. package/lib/index.d.ts +1 -0
  12. package/lib/index.js +36 -7
  13. package/package.json +31 -7
  14. package/publish-package-docs.js +12 -0
  15. package/templates/addon-resources/resources/api-reference.mdx +132 -0
  16. package/templates/addon-resources/resources/best-practice.mdx +407 -0
  17. package/templates/addon-resources/resources/cheat-sheet.mdx +120 -0
  18. package/templates/addon-resources/resources/cli-reference.mdx +280 -0
  19. package/templates/addon-resources/resources/configuration-guide.mdx +211 -0
  20. package/templates/addon-resources/resources/environment-setup.mdx +317 -0
  21. package/templates/addon-resources/resources/faq.mdx +146 -0
  22. package/templates/addon-resources/resources/glossary.mdx +78 -0
  23. package/templates/addon-resources/resources/index.mdx +67 -16
  24. package/templates/addon-resources/resources/quick-start.mdx +193 -0
  25. package/templates/addon-resources/resources/troubleshooting.mdx +263 -0
  26. package/templates/addon-resources/resources/useful-links.mdx +61 -0
  27. package/templates/page-course/README.md +87 -0
  28. package/templates/page-course/docusaurus.config.ts +103 -10
  29. package/templates/page-course/package.json +12 -2
  30. package/templates/page-course/sidebarSections.js +118 -0
  31. package/templates/page-course/src/css/sp-days-theme.scss +428 -211
  32. package/tsconfig.base.client.json +10 -0
  33. package/tsconfig.base.json +71 -0
  34. package/tsconfig.build.json +9 -0
  35. package/sp-days-framework-create-sp-days-1.0.3.tgz +0 -0
  36. package/templates/addon-resources/resources/interactive-tasks/creating-tasks.mdx +0 -254
  37. package/templates/addon-resources/resources/interactive-tasks/examples/_category_.yml +0 -3
  38. package/templates/addon-resources/resources/interactive-tasks/examples/advanced-usage.mdx +0 -304
  39. package/templates/addon-resources/resources/interactive-tasks/examples/basic-usage.mdx +0 -128
  40. package/templates/addon-resources/resources/interactive-tasks/index.mdx +0 -93
  41. package/templates/addon-resources/resources/interactive-tasks/setup/advanced-configuration.mdx +0 -273
  42. package/templates/addon-resources/resources/interactive-tasks/setup/index.mdx +0 -120
  43. package/templates/addon-resources/resources/interactive-tasks/task-progression.mdx +0 -140
  44. package/templates/addon-resources/resources/slidev-integration/index.mdx +0 -106
  45. package/templates/addon-resources/resources/slidev-integration/setup/advanced-configuration.mdx +0 -144
  46. package/templates/addon-resources/resources/slidev-integration/setup/index.mdx +0 -200
  47. package/templates/addon-resources/resources/sykehuspartner-theme/index.mdx +0 -105
  48. package/templates/addon-resources/resources/sykehuspartner-theme/layouts/_category_.yml +0 -2
  49. package/templates/addon-resources/resources/sykehuspartner-theme/layouts/content/_category_.yml +0 -2
  50. package/templates/addon-resources/resources/sykehuspartner-theme/layouts/content/center.mdx +0 -33
  51. package/templates/addon-resources/resources/sykehuspartner-theme/layouts/content/default.mdx +0 -59
  52. package/templates/addon-resources/resources/sykehuspartner-theme/layouts/content/full.mdx +0 -49
  53. package/templates/addon-resources/resources/sykehuspartner-theme/layouts/image/_category_.yml +0 -2
  54. package/templates/addon-resources/resources/sykehuspartner-theme/layouts/image/image-left.mdx +0 -37
  55. package/templates/addon-resources/resources/sykehuspartner-theme/layouts/image/image-right.mdx +0 -37
  56. package/templates/addon-resources/resources/sykehuspartner-theme/layouts/image/image.mdx +0 -56
  57. package/templates/addon-resources/resources/sykehuspartner-theme/layouts/multi-column/_category_.yml +0 -2
  58. package/templates/addon-resources/resources/sykehuspartner-theme/layouts/multi-column/three-cols-header.mdx +0 -49
  59. package/templates/addon-resources/resources/sykehuspartner-theme/layouts/multi-column/three-cols.mdx +0 -47
  60. package/templates/addon-resources/resources/sykehuspartner-theme/layouts/multi-column/two-cols-header.mdx +0 -43
  61. package/templates/addon-resources/resources/sykehuspartner-theme/layouts/multi-column/two-cols.mdx +0 -38
  62. package/templates/addon-resources/resources/sykehuspartner-theme/layouts/section/_category_.yml +0 -2
  63. package/templates/addon-resources/resources/sykehuspartner-theme/layouts/section/cover.mdx +0 -43
  64. package/templates/addon-resources/resources/sykehuspartner-theme/layouts/section/end.mdx +0 -33
  65. package/templates/addon-resources/resources/sykehuspartner-theme/layouts/section/intro.mdx +0 -49
  66. package/templates/addon-resources/resources/sykehuspartner-theme/layouts/section/section.mdx +0 -41
  67. package/templates/addon-resources/resources/sykehuspartner-theme/layouts/special/_category_.yml +0 -2
  68. package/templates/addon-resources/resources/sykehuspartner-theme/layouts/special/about-me.mdx +0 -92
  69. package/templates/addon-resources/resources/sykehuspartner-theme/layouts/special/fact.mdx +0 -47
  70. package/templates/addon-resources/resources/sykehuspartner-theme/layouts/special/quote.mdx +0 -27
  71. package/templates/addon-resources/resources/sykehuspartner-theme/layouts/special/statement.mdx +0 -28
  72. package/templates/addon-resources/resources/sykehuspartner-theme/setup/advanced-configuration.mdx +0 -79
  73. package/templates/addon-resources/resources/sykehuspartner-theme/setup/index.mdx +0 -104
  74. package/templates/addon-resources/resources/sykehuspartner-theme/syntax-and-icons.mdx +0 -89
  75. package/templates/addon-slidev/package.json +0 -54
@@ -1,33 +0,0 @@
1
- ---
2
- title: Center
3
- description: Vertically and horizontally centered content layout
4
- ---
5
-
6
- # Center Layout
7
-
8
- The `center` layout centers all content both vertically and horizontally on the slide. Perfect for emphasizing short, important messages.
9
-
10
- ## When to Use
11
-
12
- - Emphasizing key points
13
- - Short important messages
14
- - Transition slides
15
- - Single concept slides
16
-
17
- ## Parameters
18
-
19
- | Parameter | Type | Default | Description |
20
- |-----------|------|---------|-------------|
21
- | `logo` | boolean | `true` | Show/hide the logo in top right |
22
-
23
- ## Basic Example
24
-
25
- ```markdown
26
- ---
27
- layout: center
28
- ---
29
-
30
- # Main Message
31
-
32
- Supporting text that reinforces the point
33
- ```
@@ -1,59 +0,0 @@
1
- ---
2
- title: Default
3
- description: Standard content layout with automatic header extraction
4
- ---
5
-
6
- # Default Layout
7
-
8
- The `default` layout is the most commonly used layout for regular content slides. It automatically extracts the first H1 as a header and includes a logo in the top right.
9
-
10
- ## When to Use
11
-
12
- - Regular content slides
13
- - Bullet point lists
14
- - General information
15
- - Most standard slides
16
-
17
- ## Parameters
18
-
19
- | Parameter | Type | Default | Description |
20
- |-----------|------|---------|-------------|
21
- | `logo` | boolean | `true` | Show/hide the logo |
22
- | `textAlignment` | string | `'center'` | Vertical alignment: `'top'`, `'center'`, `'bottom'` |
23
-
24
- ## Basic Example
25
-
26
- ```markdown
27
- ---
28
- layout: default
29
- ---
30
-
31
- # Introduction to Docker
32
-
33
- Docker is a platform for developing and running applications in containers.
34
-
35
- ## Key Benefits
36
-
37
- - Consistency across environments
38
- - Fast deployment
39
- - Resource efficiency
40
- - Isolation
41
- ```
42
-
43
- ## With Top Alignment
44
-
45
- ```markdown
46
- ---
47
- layout: default
48
- textAlignment: top
49
- ---
50
-
51
- # Lots of Content
52
-
53
- When you have extensive content, align to top for better readability.
54
-
55
- - Point 1
56
- - Point 2
57
- - Point 3
58
- - (many more points)
59
- ```
@@ -1,49 +0,0 @@
1
- ---
2
- title: Full
3
- description: Full-screen layout with no padding or logo
4
- ---
5
-
6
- # Full Layout
7
-
8
- The `full` layout provides a completely blank canvas with no padding, margin, or logo. Perfect for custom content that needs maximum space.
9
-
10
- ## When to Use
11
-
12
- - Custom HTML/CSS layouts
13
- - Full-screen graphics or visualizations
14
- - Interactive demos
15
- - Maximum creative control needed
16
-
17
- ## Parameters
18
-
19
- | Parameter | Type | Default | Description |
20
- |-----------|------|---------|-------------|
21
- | `logo` | boolean | `false` | Show/hide logo (default is hidden) |
22
-
23
- ## Basic Example
24
-
25
- ```markdown
26
- ---
27
- layout: full
28
- ---
29
-
30
- <div class="flex items-center justify-center h-full flex-col">
31
- <h1 class="text-4xl font-bold mb-4">Full Screen</h1>
32
- <p class="text-2xl">Complete creative freedom</p>
33
- </div>
34
- ```
35
-
36
- ## With Custom Styling
37
-
38
- ```markdown
39
- ---
40
- layout: full
41
- ---
42
-
43
- <div class="h-full bg-gradient-to-br from-blue-500 to-purple-600 flex items-center justify-center">
44
- <div class="text-white text-center">
45
- <h1 class="text-6xl font-bold">Amazing</h1>
46
- <p class="text-3xl mt-4">Custom Design</p>
47
- </div>
48
- </div>
49
- ```
@@ -1,2 +0,0 @@
1
- position: 4
2
- label: 'Image Layouts'
@@ -1,37 +0,0 @@
1
- ---
2
- title: Image Left
3
- description: Image on left with content on right
4
- ---
5
-
6
- # Image Left Layout
7
-
8
- Display an image on the left side with content on the right.
9
-
10
- ## Parameters
11
-
12
- | Parameter | Type | Default | Description |
13
- |-----------|------|---------|-------------|
14
- | `imageSrc` | string | - | Image URL or path |
15
- | `imageRatio` | string | `'50%'` | Image width percentage |
16
- | `imageScale` | string | `'100%'` | Image size within container |
17
- | `imageAlign` | string | `'center'` | Image alignment |
18
- | `logo` | boolean | `true` | Show/hide logo |
19
- | `textAlignment` | string | `'center'` | Content vertical alignment |
20
-
21
- ## Basic Example
22
-
23
- ```markdown
24
- ---
25
- layout: image-left
26
- imageSrc: /screenshot.png
27
- imageRatio: 40%
28
- ---
29
-
30
- # Feature Overview
31
-
32
- The image shows our new dashboard with:
33
-
34
- - Real-time metrics
35
- - Custom alerts
36
- - Team collaboration
37
- ```
@@ -1,37 +0,0 @@
1
- ---
2
- title: Image Right
3
- description: Content on left with image on right
4
- ---
5
-
6
- # Image Right Layout
7
-
8
- Display content on the left with an image on the right.
9
-
10
- ## Parameters
11
-
12
- | Parameter | Type | Default | Description |
13
- |-----------|------|---------|-------------|
14
- | `imageSrc` | string | - | Image URL or path |
15
- | `imageRatio` | string | `'50%'` | Image width percentage |
16
- | `imageScale` | string | `'100%'` | Image size within container |
17
- | `imageAlign` | string | `'center'` | Image alignment |
18
- | `logo` | boolean | `false` | Show/hide logo |
19
- | `textAlignment` | string | `'center'` | Content vertical alignment |
20
-
21
- ## Basic Example
22
-
23
- ```markdown
24
- ---
25
- layout: image-right
26
- imageSrc: /code-example.png
27
- imageRatio: 45%
28
- ---
29
-
30
- # Code Explanation
31
-
32
- This example demonstrates:
33
-
34
- - Dependency injection
35
- - Error handling
36
- - Async/await pattern
37
- ```
@@ -1,56 +0,0 @@
1
- ---
2
- title: Image
3
- description: Full background or foreground image layout
4
- ---
5
-
6
- # Image Layout
7
-
8
- The `image` layout displays images either as full-screen backgrounds or as foreground elements with content above.
9
-
10
- ## When to Use
11
-
12
- - Full-screen visual slides
13
- - Explaining diagrams or screenshots
14
- - Visual breaks in presentation
15
- - Architectural overviews
16
-
17
- ## Parameters
18
-
19
- | Parameter | Type | Default | Description |
20
- |-----------|------|---------|-------------|
21
- | `imageSrc` | string | - | Image URL or path |
22
- | `imageScale` | string | `'70%'` | Image size (foreground mode) |
23
- | `imageAlign` | string | `'center'` | Image alignment |
24
- | `imageBackgroundMode` | boolean | `true` | Background (true) or foreground (false) |
25
- | `logo` | boolean | `false` | Show/hide logo |
26
-
27
- ## Background Mode
28
-
29
- ```markdown
30
- ---
31
- layout: image
32
- imageSrc: https://example.com/hero.jpg
33
- imageBackgroundMode: true
34
- imageScale: 100%
35
- ---
36
-
37
- # Text Over Image
38
-
39
- Content overlays the background
40
- ```
41
-
42
- ## Foreground Mode
43
-
44
- ```markdown
45
- ---
46
- layout: image
47
- imageSrc: /diagram.png
48
- imageBackgroundMode: false
49
- imageScale: 80%
50
- imageAlign: center
51
- ---
52
-
53
- # Architecture Diagram
54
-
55
- Content above, image below
56
- ```
@@ -1,2 +0,0 @@
1
- position: 3
2
- label: 'Multi-Column Layouts'
@@ -1,49 +0,0 @@
1
- ---
2
- title: Three Cols Header
3
- description: Three columns with spanning header
4
- ---
5
-
6
- # Three Cols Header Layout
7
-
8
- Three equal columns with a header spanning all three.
9
-
10
- ## Parameters
11
-
12
- | Parameter | Type | Default | Description |
13
- |-----------|------|---------|-------------|
14
- | `logo` | boolean | `true` | Show/hide logo |
15
- | `textAlignment` | string | `'center'` | Content vertical alignment |
16
-
17
- ## Basic Example
18
-
19
- ```markdown
20
- ---
21
- layout: three-cols-header
22
- ---
23
-
24
- # DevOps Pipeline Stages
25
-
26
- ::left::
27
-
28
- ## Build
29
- - Compile code
30
- - Run tests
31
- - Security scan
32
- - Create artifacts
33
-
34
- ::middle::
35
-
36
- ## Deploy
37
- - Container build
38
- - Push to registry
39
- - Update services
40
- - Health checks
41
-
42
- ::right::
43
-
44
- ## Monitor
45
- - Metrics collection
46
- - Log aggregation
47
- - Alerting
48
- - Dashboards
49
- ```
@@ -1,47 +0,0 @@
1
- ---
2
- title: Three Cols
3
- description: Three equal-width columns
4
- ---
5
-
6
- # Three Cols Layout
7
-
8
- Organize content across three equal columns.
9
-
10
- ## Parameters
11
-
12
- | Parameter | Type | Default | Description |
13
- |-----------|------|---------|-------------|
14
- | `logo` | boolean | `false` | Show/hide logo |
15
-
16
- ## Basic Example
17
-
18
- ```markdown
19
- ---
20
- layout: three-cols
21
- ---
22
-
23
- # Development
24
-
25
- - Local Docker
26
- - Hot reload
27
- - Debug mode
28
- - Test data
29
-
30
- ::middle::
31
-
32
- # Staging
33
-
34
- - Integration tests
35
- - UAT environment
36
- - Performance tests
37
- - Security scans
38
-
39
- ::right::
40
-
41
- # Production
42
-
43
- - Auto-scaling
44
- - Monitoring
45
- - Logging
46
- - Backups
47
- ```
@@ -1,43 +0,0 @@
1
- ---
2
- title: Two Cols Header
3
- description: Two columns with spanning header
4
- ---
5
-
6
- # Two Cols Header Layout
7
-
8
- Two equal columns with a header that spans both columns.
9
-
10
- ## Parameters
11
-
12
- | Parameter | Type | Default | Description |
13
- |-----------|------|---------|-------------|
14
- | `logo` | boolean | `true` | Show/hide logo |
15
- | `textAlignment` | string | `'center'` | Content vertical alignment |
16
-
17
- ## Basic Example
18
-
19
- ```markdown
20
- ---
21
- layout: two-cols-header
22
- ---
23
-
24
- # Deployment Comparison
25
-
26
- ::left::
27
-
28
- ## Manual Process
29
- - SSH into servers
30
- - Copy files manually
31
- - Restart services
32
- - Hope for the best
33
- - Rollback is hard
34
-
35
- ::right::
36
-
37
- ## Automated CI/CD
38
- - Git push triggers pipeline
39
- - Automated tests
40
- - Container builds
41
- - Zero-downtime deploy
42
- - Easy rollback
43
- ```
@@ -1,38 +0,0 @@
1
- ---
2
- title: Two Cols
3
- description: Two equal-width columns
4
- ---
5
-
6
- # Two Cols Layout
7
-
8
- Split content into two equal columns for comparisons, lists, or parallel information.
9
-
10
- ## Parameters
11
-
12
- | Parameter | Type | Default | Description |
13
- |-----------|------|---------|-------------|
14
- | `logo` | boolean | `false` | Show/hide logo |
15
-
16
- ## Basic Example
17
-
18
- ```markdown
19
- ---
20
- layout: two-cols
21
- ---
22
-
23
- # Traditional VMs
24
-
25
- - Heavy resource usage
26
- - Slow boot times
27
- - OS overhead
28
- - Complex management
29
-
30
- ::right::
31
-
32
- # Containers
33
-
34
- - Lightweight
35
- - Fast startup
36
- - Shared OS kernel
37
- - Simple orchestration
38
- ```
@@ -1,2 +0,0 @@
1
- position: 2
2
- label: 'Section Layouts'
@@ -1,43 +0,0 @@
1
- ---
2
- title: Cover
3
- description: Title slide layout with banner for starting presentations
4
- ---
5
-
6
- # Cover Layout
7
-
8
- The `cover` layout is designed for the title slide of your presentation. It features centered content with the Sykehuspartner banner at the bottom.
9
-
10
- ## When to Use
11
-
12
- - First slide of your presentation
13
- - Major presentation milestones
14
- - Conference or workshop title slides
15
-
16
- ## Parameters
17
-
18
- | Parameter | Type | Default | Description |
19
- |-----------|------|---------|-------------|
20
- | `logo` | boolean | `true` | Show/hide the banner at the bottom |
21
-
22
- ## Basic Example
23
-
24
- ```markdown
25
- ---
26
- layout: cover
27
- ---
28
-
29
- # Docker Fundamentals
30
- ## A Hands-on Workshop
31
- ```
32
-
33
- ## With Banner Hidden
34
-
35
- ```markdown
36
- ---
37
- layout: cover
38
- logo: false
39
- ---
40
-
41
- # Minimalist Title
42
- ## No banner version
43
- ```
@@ -1,33 +0,0 @@
1
- ---
2
- title: End
3
- description: Closing slide layout with centered banner
4
- ---
5
-
6
- # End Layout
7
-
8
- The `end` layout is designed for the final slide of your presentation. It features centered content with the Sykehuspartner banner positioned in the center.
9
-
10
- ## When to Use
11
-
12
- - Final slide of presentation
13
- - Thank you slides
14
- - Q&A slides
15
- - Closing remarks
16
-
17
- ## Parameters
18
-
19
- | Parameter | Type | Default | Description |
20
- |-----------|------|---------|-------------|
21
- | `logo` | boolean | `true` | Show/hide the banner |
22
-
23
- ## Basic Example
24
-
25
- ```markdown
26
- ---
27
- layout: end
28
- ---
29
-
30
- # Thank You!
31
-
32
- ## Questions?
33
- ```
@@ -1,49 +0,0 @@
1
- ---
2
- title: Intro
3
- description: Introduction slide with optional side image
4
- ---
5
-
6
- # Intro Layout
7
-
8
- The `intro` layout is designed for introduction slides with an optional side image and banner at the bottom.
9
-
10
- ## Parameters
11
-
12
- | Parameter | Type | Default | Description |
13
- |-----------|------|---------|-------------|
14
- | `imageSrc` | string | - | Image URL or path |
15
- | `imagePosition` | string | `'right'` | Position: `'left'` or `'right'` |
16
- | `imageRatio` | string | `'40%'` | Image width percentage |
17
- | `imageSize` | string | `'80%'` | Image scale |
18
- | `enableLogo` | boolean | `true` | Show/hide banner |
19
-
20
- ## Basic Example
21
-
22
- ```markdown
23
- ---
24
- layout: intro
25
- imageSrc: /logo.png
26
- imagePosition: right
27
- imageRatio: 40%
28
- ---
29
-
30
- # Module Introduction
31
-
32
- ## What You'll Learn
33
-
34
- An overview of this section
35
- ```
36
-
37
- ## Without Image
38
-
39
- ```markdown
40
- ---
41
- layout: intro
42
- ---
43
-
44
- # Welcome
45
-
46
- ## Getting Started with Containers
47
-
48
- Your journey begins here
49
- ```
@@ -1,41 +0,0 @@
1
- ---
2
- title: Section
3
- description: Section divider with logo and optional image
4
- ---
5
-
6
- # Section Layout
7
-
8
- The `section` layout is used to divide your presentation into distinct sections, similar to chapter breaks.
9
-
10
- ## Parameters
11
-
12
- | Parameter | Type | Default | Description |
13
- |-----------|------|---------|-------------|
14
- | `image` | string | - | Optional background/side image |
15
- | `logo` | boolean | `true` | Show/hide logo |
16
- | `titleLine` | boolean | `true` | Show/hide decorative underline |
17
-
18
- ## Basic Example
19
-
20
- ```markdown
21
- ---
22
- layout: section
23
- ---
24
-
25
- # Module 2
26
- ## Advanced Docker Concepts
27
-
28
- Networking, volumes, and multi-stage builds
29
- ```
30
-
31
- ## With Image
32
-
33
- ```markdown
34
- ---
35
- layout: section
36
- image: /docker-logo.png
37
- ---
38
-
39
- # Container Orchestration
40
- ## Scaling Your Applications
41
- ```
@@ -1,2 +0,0 @@
1
- position: 5
2
- label: 'Special Purpose Layouts'