[Fixes #78923316] add build layout.coffee before generating the documents from layout.js