File tree Expand file tree Collapse file tree
src/extensions/score_metamodel Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2929 {
3030 "base_url" : "https://eclipse-score.github.io/score/main" ,
3131 "json_url" : "https://eclipse-score.github.io/score/main/needs.json" ,
32- "version" : "0.1" ,
3332 "id_prefix" : "score_" ,
3433 },
3534 ],
4140 {
4241 "base_url" : "https://eclipse-score.github.io/score/main" ,
4342 "json_path" : "/score_platform~/docs/docs_needs/_build/needs/needs.json" ,
44- "version" : "0.1" ,
4543 "id_prefix" : "score_" ,
4644 },
4745 ],
Original file line number Diff line number Diff line change @@ -266,10 +266,12 @@ def default_options() -> list[str]:
266266
267267
268268def parse_external_needs_sources (app : Sphinx , config ):
269- # HACK: mabye there is a nicer way for this
269+ # HACK: maybe there is a nicer way for this
270270 if app .config .external_needs_source not in ["[]" , "" ]:
271271 x = None
272- x = json .loads (app .config .external_needs_source )
272+ # NOTE: Due to upgrades in modules, encoding changed. Need to clean string in order to read it right again.
273+ clean_str = app .config .external_needs_source .replace ('\\ "' , "" )
274+ x = json .loads (clean_str )
273275 if r := os .getenv ("RUNFILES_DIR" ):
274276 if x [0 ].get ("json_path" , None ):
275277 for a in x :
You can’t perform that action at this time.
0 commit comments