如何从css文件生成文档?

发布于 2024-09-27 13:10:00 字数 306 浏览 1 评论 0原文

我参考 CSSDoc 规范并希望从 css 文件生成注释文档。首先想到的是使用 phpdocumentor 工具。当执行 phpdoc -o HTML:frames:default -f main.css -t docs 命令时,我得到“文件未解析,不是 php 文件”< /strong> 错误消息。请告诉我如何通过自动文档工具从 css 文件生成文档。应该使用Doxygen、JavaDoc工具或用现有工具编写新的解析器。谢谢~~~~

I reference to CSSDoc specification and want to generate comment documentation from css file. The first thought used phpdocumentor tool. When execute phpdoc -o HTML:frames:default -f main.css -t docs command, i got "File not parsed,not a php file" error message. Please tell me how to generate documentation from css file by auto-documentation tools. Should be used Doxygen,JavaDoc tool or write a new parser with existing tools. Thanks~~~~

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文