justarandomgeek / vscode-factoriomod-debug

Factorio Mod Tool Kit
Other
97 stars 21 forks source link

Documentation Links for runtime objects breaks with API docs redirect #98

Closed muppet9010 closed 7 months ago

muppet9010 commented 9 months ago

The documentation link included with the typeDefs goes to an old URL it seems. When the Factorio API website redirects it drops off the function part of the URL.

Factorio object: game.get_filtered_entity_prototypes() Documentation Link in typedefs: https://lua-api.factorio.com/latest/LuaGameScript.html#LuaGameScript.get_filtered_entity_prototypes Factorio API Website redirects to: https://lua-api.factorio.com/latest/classes/LuaGameScript.html note the loss of the function to jump to.

I had to free type the Documentation Link on typedefs so if there's a typo above that's probably on me.

justarandomgeek commented 9 months ago

yeah a lot of the links are still broken because teh upgrade to v4 json docs is still only kinda half done

justarandomgeek commented 7 months ago

afaik all the links should be fixed in 1.1.38, let me know if you find more broken ones!