Skip to content

Commit

Permalink
Fixes example code links
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
haukesomm committed Nov 18, 2024
1 parent a4ddb0c commit 44b16cf
Show file tree
Hide file tree
Showing 9 changed files with 30 additions and 30 deletions.
4 changes: 2 additions & 2 deletions examples/gettingstarted/src/jsMain/resources/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ <h1 class="display-4">Getting started</h1>
"ref": "master",
"embed": [
{
"path": "/examples/gettingstarted/src/jsMain/kotlin/dev/fritz2/examples/gettingstarted/gettingstarted.kt",
"path": "/examples/gettingstarted/src/jsMain/kotlin/dev/fritz2/examples/gettingstarted/GettingStarted.kt",
"type": "kotlin",
"label": "gettingstarted.kt"
"label": "GettingStarted.kt"
},
{
"path": "/examples/gettingstarted/src/jsMain/resources/index.html",
Expand Down
8 changes: 4 additions & 4 deletions examples/masterdetail/src/jsMain/resources/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,14 @@ <h1 class="display-4">Master Detail</h1>
"ref": "master",
"embed": [
{
"path": "/examples/masterdetail/src/jsMain/kotlin/dev/fritz2/examples/masterdetail/masterdetail.kt",
"path": "/examples/masterdetail/src/jsMain/kotlin/dev/fritz2/examples/masterdetail/MasterDetail.kt",
"type": "kotlin",
"label": "masterdetail.kt"
"label": "MasterDetail.kt"
},
{
"path": "/examples/masterdetail/src/commonMain/kotlin/dev/fritz2/examples/masterdetail/model.kt",
"path": "/examples/masterdetail/src/commonMain/kotlin/dev/fritz2/examples/masterdetail/Model.kt",
"type": "kotlin",
"label": "model.kt"
"label": "Model.kt"
},
{
"path": "/examples/masterdetail/src/jsMain/resources/index.html",
Expand Down
8 changes: 4 additions & 4 deletions examples/nestedmodel/src/jsMain/resources/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,14 @@ <h1 class="display-4">Nested model</h1>
"ref": "master",
"embed": [
{
"path": "/examples/nestedmodel/src/jsMain/kotlin/dev/fritz2/examples/nestedmodel/nestedmodel.kt",
"path": "/examples/nestedmodel/src/jsMain/kotlin/dev/fritz2/examples/nestedmodel/NestedModel.kt",
"type": "kotlin",
"label": "nestedmodel.kt"
"label": "NestedModel.kt"
},
{
"path": "/examples/nestedmodel/src/commonMain/kotlin/dev/fritz2/examples/nestedmodel/model.kt",
"path": "/examples/nestedmodel/src/commonMain/kotlin/dev/fritz2/examples/nestedmodel/Model.kt",
"type": "kotlin",
"label": "model.kt"
"label": "Model.kt"
},
{
"path": "/examples/nestedmodel/src/jsMain/resources/index.html",
Expand Down
4 changes: 2 additions & 2 deletions examples/performance/src/jsMain/resources/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ <h1 class="display-4">Performance</h1>
"ref": "master",
"embed": [
{
"path": "/examples/performance/src/jsMain/kotlin/dev/fritz2/examples/performance/performance.kt",
"path": "/examples/performance/src/jsMain/kotlin/dev/fritz2/examples/performance/Performance.kt",
"type": "kotlin",
"label": "performance.kt"
"label": "Performance.kt"
},
{
"path": "/examples/performance/src/jsMain/resources/index.html",
Expand Down
4 changes: 2 additions & 2 deletions examples/remote/src/jsMain/resources/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ <h1 class="display-4">Remote</h1>
"ref": "master",
"embed": [
{
"path": "/examples/remote/src/jsMain/kotlin/dev/fritz2/examples/remote/remote.kt",
"path": "/examples/remote/src/jsMain/kotlin/dev/fritz2/examples/remote/Remote.kt",
"type": "kotlin",
"label": "remote.kt"
"label": "Remote.kt"
},
{
"path": "/examples/remote/src/jsMain/resources/index.html",
Expand Down
4 changes: 2 additions & 2 deletions examples/routing/src/jsMain/resources/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ <h1 class="display-4">Routing</h1>
"ref": "master",
"embed": [
{
"path": "/examples/routing/src/jsMain/kotlin/dev/fritz2/examples/routing/routing.kt",
"path": "/examples/routing/src/jsMain/kotlin/dev/fritz2/examples/routing/Routing.kt",
"type": "kotlin",
"label": "routing.kt"
"label": "Routing.kt"
},
{
"path": "/examples/routing/src/jsMain/resources/index.html",
Expand Down
12 changes: 6 additions & 6 deletions examples/tictactoe/src/jsMain/resources/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,19 +39,19 @@ <h1 class="display-4">Tic Tac Toe</h1>
"ref": "master",
"embed": [
{
"path": "/examples/tictactoe/src/jsMain/kotlin/dev/fritz2/examples/tictactoe/tictactoe.kt",
"path": "/examples/tictactoe/src/jsMain/kotlin/dev/fritz2/examples/tictactoe/TicTacToe.kt",
"type": "kotlin",
"label": "tictactoe.kt"
"label": "TicTacToe.kt"
},
{
"path": "/examples/tictactoe/src/commonMain/kotlin/dev/fritz2/examples/tictactoe/model.kt",
"path": "/examples/tictactoe/src/commonMain/kotlin/dev/fritz2/examples/tictactoe/Model.kt",
"type": "kotlin",
"label": "model.kt"
"label": "Model.kt"
},
{
"path": "/examples/tictactoe/src/commonMain/kotlin/dev/fritz2/examples/tictactoe/logic.kt",
"path": "/examples/tictactoe/src/commonMain/kotlin/dev/fritz2/examples/tictactoe/Logic.kt",
"type": "kotlin",
"label": "logic.kt"
"label": "Logic.kt"
},
{
"path": "/examples/tictactoe/src/jsMain/resources/index.html",
Expand Down
12 changes: 6 additions & 6 deletions examples/validation/src/jsMain/resources/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,19 +51,19 @@ <h1 class="display-4">Validation</h1>
"ref": "master",
"embed": [
{
"path": "/examples/validation/src/jsMain/kotlin/dev/fritz2/examples/validation/validation.kt",
"path": "/examples/validation/src/jsMain/kotlin/dev/fritz2/examples/validation/Validation.kt",
"type": "kotlin",
"label": "validation.kt",
"label": "Validation.kt",
},
{
"path": "/examples/validation/src/commonMain/kotlin/dev/fritz2/examples/validation/model.kt",
"path": "/examples/validation/src/commonMain/kotlin/dev/fritz2/examples/validation/Model.kt",
"type": "kotlin",
"label": "model.kt"
"label": "Model.kt"
},
{
"path": "/examples/validation/src/commonMain/kotlin/dev/fritz2/examples/validation/validator.kt",
"path": "/examples/validation/src/commonMain/kotlin/dev/fritz2/examples/validation/Validator.kt",
"type": "kotlin",
"label": "validator.kt"
"label": "Validator.kt"
},
{
"path": "/examples/validation/src/jsMain/resources/index.html",
Expand Down
4 changes: 2 additions & 2 deletions examples/webcomponent/src/jsMain/resources/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ <h1 class="display-4">WebComponent</h1>
"ref": "master",
"embed": [
{
"path": "/examples/webcomponent/src/jsMain/kotlin/dev/fritz2/examples/webcomponent/webcomponent.kt",
"path": "/examples/webcomponent/src/jsMain/kotlin/dev/fritz2/examples/webcomponent/WebComponent.kt",
"type": "kotlin",
"label": "webcomponent.kt"
"label": "WebComponent.kt"
},
{
"path": "/examples/webcomponent/src/jsMain/resources/index.html",
Expand Down

0 comments on commit 44b16cf

Please sign in to comment.