Skip to content
This repository was archived by the owner on Dec 17, 2025. It is now read-only.

Commit 05b221d

Browse files
committed
Fixes example code links
Renaming the Kotlin source files to be PascalCase (matching the current Kotlin style guide) broke the github-embed links in the individual examples. This commit fixes them to reference the updated names.
1 parent b8d4a75 commit 05b221d

File tree

9 files changed

+30
-30
lines changed

9 files changed

+30
-30
lines changed

examples/gettingstarted/src/jsMain/resources/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ <h1 class="display-4">Getting started</h1>
3939
"ref": "master",
4040
"embed": [
4141
{
42-
"path": "/examples/gettingstarted/src/jsMain/kotlin/dev/fritz2/examples/gettingstarted/gettingstarted.kt",
42+
"path": "/examples/gettingstarted/src/jsMain/kotlin/dev/fritz2/examples/gettingstarted/GettingStarted.kt",
4343
"type": "kotlin",
44-
"label": "gettingstarted.kt"
44+
"label": "GettingStarted.kt"
4545
},
4646
{
4747
"path": "/examples/gettingstarted/src/jsMain/resources/index.html",

examples/masterdetail/src/jsMain/resources/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,14 @@ <h1 class="display-4">Master Detail</h1>
4646
"ref": "master",
4747
"embed": [
4848
{
49-
"path": "/examples/masterdetail/src/jsMain/kotlin/dev/fritz2/examples/masterdetail/masterdetail.kt",
49+
"path": "/examples/masterdetail/src/jsMain/kotlin/dev/fritz2/examples/masterdetail/MasterDetail.kt",
5050
"type": "kotlin",
51-
"label": "masterdetail.kt"
51+
"label": "MasterDetail.kt"
5252
},
5353
{
54-
"path": "/examples/masterdetail/src/commonMain/kotlin/dev/fritz2/examples/masterdetail/model.kt",
54+
"path": "/examples/masterdetail/src/commonMain/kotlin/dev/fritz2/examples/masterdetail/Model.kt",
5555
"type": "kotlin",
56-
"label": "model.kt"
56+
"label": "Model.kt"
5757
},
5858
{
5959
"path": "/examples/masterdetail/src/jsMain/resources/index.html",

examples/nestedmodel/src/jsMain/resources/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,14 @@ <h1 class="display-4">Nested model</h1>
4343
"ref": "master",
4444
"embed": [
4545
{
46-
"path": "/examples/nestedmodel/src/jsMain/kotlin/dev/fritz2/examples/nestedmodel/nestedmodel.kt",
46+
"path": "/examples/nestedmodel/src/jsMain/kotlin/dev/fritz2/examples/nestedmodel/NestedModel.kt",
4747
"type": "kotlin",
48-
"label": "nestedmodel.kt"
48+
"label": "NestedModel.kt"
4949
},
5050
{
51-
"path": "/examples/nestedmodel/src/commonMain/kotlin/dev/fritz2/examples/nestedmodel/model.kt",
51+
"path": "/examples/nestedmodel/src/commonMain/kotlin/dev/fritz2/examples/nestedmodel/Model.kt",
5252
"type": "kotlin",
53-
"label": "model.kt"
53+
"label": "Model.kt"
5454
},
5555
{
5656
"path": "/examples/nestedmodel/src/jsMain/resources/index.html",

examples/performance/src/jsMain/resources/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ <h1 class="display-4">Performance</h1>
4444
"ref": "master",
4545
"embed": [
4646
{
47-
"path": "/examples/performance/src/jsMain/kotlin/dev/fritz2/examples/performance/performance.kt",
47+
"path": "/examples/performance/src/jsMain/kotlin/dev/fritz2/examples/performance/Performance.kt",
4848
"type": "kotlin",
49-
"label": "performance.kt"
49+
"label": "Performance.kt"
5050
},
5151
{
5252
"path": "/examples/performance/src/jsMain/resources/index.html",

examples/remote/src/jsMain/resources/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ <h1 class="display-4">Remote</h1>
4343
"ref": "master",
4444
"embed": [
4545
{
46-
"path": "/examples/remote/src/jsMain/kotlin/dev/fritz2/examples/remote/remote.kt",
46+
"path": "/examples/remote/src/jsMain/kotlin/dev/fritz2/examples/remote/Remote.kt",
4747
"type": "kotlin",
48-
"label": "remote.kt"
48+
"label": "Remote.kt"
4949
},
5050
{
5151
"path": "/examples/remote/src/jsMain/resources/index.html",

examples/routing/src/jsMain/resources/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ <h1 class="display-4">Routing</h1>
4343
"ref": "master",
4444
"embed": [
4545
{
46-
"path": "/examples/routing/src/jsMain/kotlin/dev/fritz2/examples/routing/routing.kt",
46+
"path": "/examples/routing/src/jsMain/kotlin/dev/fritz2/examples/routing/Routing.kt",
4747
"type": "kotlin",
48-
"label": "routing.kt"
48+
"label": "Routing.kt"
4949
},
5050
{
5151
"path": "/examples/routing/src/jsMain/resources/index.html",

examples/tictactoe/src/jsMain/resources/index.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,19 +39,19 @@ <h1 class="display-4">Tic Tac Toe</h1>
3939
"ref": "master",
4040
"embed": [
4141
{
42-
"path": "/examples/tictactoe/src/jsMain/kotlin/dev/fritz2/examples/tictactoe/tictactoe.kt",
42+
"path": "/examples/tictactoe/src/jsMain/kotlin/dev/fritz2/examples/tictactoe/TicTacToe.kt",
4343
"type": "kotlin",
44-
"label": "tictactoe.kt"
44+
"label": "TicTacToe.kt"
4545
},
4646
{
47-
"path": "/examples/tictactoe/src/commonMain/kotlin/dev/fritz2/examples/tictactoe/model.kt",
47+
"path": "/examples/tictactoe/src/commonMain/kotlin/dev/fritz2/examples/tictactoe/Model.kt",
4848
"type": "kotlin",
49-
"label": "model.kt"
49+
"label": "Model.kt"
5050
},
5151
{
52-
"path": "/examples/tictactoe/src/commonMain/kotlin/dev/fritz2/examples/tictactoe/logic.kt",
52+
"path": "/examples/tictactoe/src/commonMain/kotlin/dev/fritz2/examples/tictactoe/Logic.kt",
5353
"type": "kotlin",
54-
"label": "logic.kt"
54+
"label": "Logic.kt"
5555
},
5656
{
5757
"path": "/examples/tictactoe/src/jsMain/resources/index.html",

examples/validation/src/jsMain/resources/index.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,19 +51,19 @@ <h1 class="display-4">Validation</h1>
5151
"ref": "master",
5252
"embed": [
5353
{
54-
"path": "/examples/validation/src/jsMain/kotlin/dev/fritz2/examples/validation/validation.kt",
54+
"path": "/examples/validation/src/jsMain/kotlin/dev/fritz2/examples/validation/Validation.kt",
5555
"type": "kotlin",
56-
"label": "validation.kt",
56+
"label": "Validation.kt",
5757
},
5858
{
59-
"path": "/examples/validation/src/commonMain/kotlin/dev/fritz2/examples/validation/model.kt",
59+
"path": "/examples/validation/src/commonMain/kotlin/dev/fritz2/examples/validation/Model.kt",
6060
"type": "kotlin",
61-
"label": "model.kt"
61+
"label": "Model.kt"
6262
},
6363
{
64-
"path": "/examples/validation/src/commonMain/kotlin/dev/fritz2/examples/validation/validator.kt",
64+
"path": "/examples/validation/src/commonMain/kotlin/dev/fritz2/examples/validation/Validator.kt",
6565
"type": "kotlin",
66-
"label": "validator.kt"
66+
"label": "Validator.kt"
6767
},
6868
{
6969
"path": "/examples/validation/src/jsMain/resources/index.html",

examples/webcomponent/src/jsMain/resources/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ <h1 class="display-4">WebComponent</h1>
4545
"ref": "master",
4646
"embed": [
4747
{
48-
"path": "/examples/webcomponent/src/jsMain/kotlin/dev/fritz2/examples/webcomponent/webcomponent.kt",
48+
"path": "/examples/webcomponent/src/jsMain/kotlin/dev/fritz2/examples/webcomponent/WebComponent.kt",
4949
"type": "kotlin",
50-
"label": "webcomponent.kt"
50+
"label": "WebComponent.kt"
5151
},
5252
{
5353
"path": "/examples/webcomponent/src/jsMain/resources/index.html",

0 commit comments

Comments
 (0)