Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我搜索如何使用 git hooks 从 doxygen 生成文档。 我已经阅读了 git hooks 示例,但我没有看到我想要的
根项目: |- 文档/ |- src/ |- .git/
为了从根项目生成文档,我这样做: $ doxygen documentation/doc.doxyfile
感谢您的帮助
没有预推钩。
即使有,我也非常怀疑您是否想要生成并提交大量 HTML。
但是,您可能想要做的是从您推送到的存储库的更新后挂钩中触发某些内容。它可以更新非裸克隆并在其中运行 doxygen,将结果公开。