Skip to content

Commit

Permalink
docs: Fix code links for jenny examples (#3229)
Browse files Browse the repository at this point in the history
Jenny code links were broken in examples. This PR fixes them.
  • Loading branch information
ufrshubham authored Jul 21, 2024
1 parent 70806a8 commit df9be25
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions examples/lib/stories/bridge_libraries/flame_jenny/jenny.dart
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,14 @@ void addFlameJennyExample(Dashbook dashbook) {
dashbook.storiesOf('FlameJenny')
..add(
'Simple Jenny example',
(_) => GameWidget(
game: JennySimpleExample(),
),
codeLink: baseLink(
'bridge_libraries/flame_jenny/jenny_simple_example.dart',
),
(_) => GameWidget(game: JennySimpleExample()),
codeLink: baseLink('jenny_simple_example.dart'),
info: JennySimpleExample.description,
)
..add(
'Advanced Jenny example',
(_) => GameWidget(
game: JennyAdvancedExample(),
),
codeLink: baseLink(
'bridge_libraries/flame_jenny/jenny_advanced_example.dart',
),
(_) => GameWidget(game: JennyAdvancedExample()),
codeLink: baseLink('jenny_advanced_example.dart'),
info: JennyAdvancedExample.description,
);
}

0 comments on commit df9be25

Please sign in to comment.