Open hahawoo opened 4 years ago
@hahawoo I just tried updating love-atom and ran into an issue because there is a variant missing for:
I found 4 functions with no variants using this code:
api = require('love-api.extra')(require('love-api.love_api'))
for i, v in ipairs(api.allfunctions) do
if #v.variants == 0 then
print(v.fullname)
end
end
which found:
love.audio.getActiveEffects
ChainShape:getPoints
PrismaticJoint:setLimitsEnabled
PrismaticJoint:setMotorEnabled
love.audio.getActiveEffects
and ChainShape:getPoints
were missing the "arguments" section on their wiki pages, so I've fixed the wiki pages.
PrismaticJoint:setLimitsEnabled
and PrismaticJoint:setMotorEnabled
were an issue with the scraper which I've also now fixed (these functions were both removed/renamed and re-added).
I've updated the table. Hopefully it will work now! :)
KeyConstant isn't currently scraped correctly.
I've finally made a wiki scraper, which means (ideally) we don't have to manually edit the table anymore.
It's not perfect, for example it doesn't scrape modules for their names and descriptions.