From df9be25ba4af9e96dea7cad507067f8d921bd7d1 Mon Sep 17 00:00:00 2001 From: DevKage <33748002+ufrshubham@users.noreply.github.com> Date: Sun, 21 Jul 2024 16:03:18 +0530 Subject: [PATCH] docs: Fix code links for jenny examples (#3229) Jenny code links were broken in examples. This PR fixes them. --- .../bridge_libraries/flame_jenny/jenny.dart | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/examples/lib/stories/bridge_libraries/flame_jenny/jenny.dart b/examples/lib/stories/bridge_libraries/flame_jenny/jenny.dart index e9d512e7652..648640eb533 100644 --- a/examples/lib/stories/bridge_libraries/flame_jenny/jenny.dart +++ b/examples/lib/stories/bridge_libraries/flame_jenny/jenny.dart @@ -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, ); }