我具有以下结构的静态HTML报告
def _insert_entities_of_type(self,
entity_type,
entities,
fiware_service=None,
fiware_servicepath=None):
for e in entities:
if e[NGSI_TYPE] != entity_type:
msg = "Entity {} is not of type {}."
raise ValueError(msg.format(e[NGSI_ID], entity_type))
如何将所有这些捆绑在一起以生成单个report.html?
答案 0 :(得分:0)
看看https://github.com/chyingp/grunt-inline
但是,根据/ pages和/ attachments文件夹中的内容,您可能需要一些额外的技巧