mirror of
https://github.com/flame-engine/flame.git
synced 2025-11-03 12:28:03 +08:00
docs: Allow multiple infoboxes on a page to have code (#1814)
This commit is contained in:
@ -119,7 +119,7 @@ class FlutterAppDirective(SphinxDirective):
|
||||
onclick=f'run_flutter_app("{iframe_url}")',
|
||||
))
|
||||
if 'code' in self.modes:
|
||||
code_id = self.app_name + "-source"
|
||||
code_id = self.app_name + "-source-" + page
|
||||
result.append(self._generate_code_listings(code_id))
|
||||
result.append(Button(
|
||||
'',
|
||||
|
||||
Reference in New Issue
Block a user