Skip to content

Commit

Permalink
(Aegis) fix doc generation
Browse files Browse the repository at this point in the history
  • Loading branch information
ahyangyi committed Oct 3, 2023
1 parent e7e5b3a commit a812d2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion industry/docgen/economy.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def gen_economy_doc(all_economies, string_manager):
file=f,
)
translate = lambda x: get_translation(string_manager["STR_CARGO_" + x.decode()], 0x7F)
industrylink = lambda x: f"[{translate(x.label)}](../industries/{x}.html)"
industrylink = lambda x: f"[{x}](../industries/{x}.html)"
cargolink = lambda x: f"[{translate(x.label)}](../cargos/{x.label.decode()}.html)"
for industry, flow in economy.graph.items():
accepts = ", ".join(cargolink(x) for x in flow.accepts)
Expand Down

0 comments on commit a812d2f

Please sign in to comment.