docs: build-docs.lua: place lua extensions near the top.