有谁知道一个CSS文档工具? [英] Does anyone know of a CSS documentation tool?
问题描述
我们最近使用OOCSS原则重建了我们的网站,这些原则允许一个真正模块化的方式来编写CSS。
We have recently rebuilt our site using the OOCSS principles that allow for a really modular way to write CSS.
该网站很大,并且有很多开发人员可以使用它所以我想要能够记录CSS,以便CSS模块尽可能高效地重用。
The site is large and has many devs working on it so I want to be able to document the CSS so that the CSS modules get reused as efficiently as possible.
有没有人有使用自动化的CSS文档工具的经验?或者使用另一个文档工具来使用CSS文件?
Does anyone have any experience using a automated CSS documentation tool? Or adapting another documentation tool to use CSS files?
推荐答案
CSS_DOC
< > CSS_Doc 。解释它的博客文章。
还有一个文档评论的例子
And an example of documentation comment
/**
* Reset text color and line height.
*/
body {
line-height: 1;
color: black;
background: white;
}
这是Ruby中 CSSDOC 。关于 CSSDOC评论入门的简短教程
It is an implementation in Ruby of CSSDOC. A short tutorial on Getting Started With CSSDOC Commenting
这篇关于有谁知道一个CSS文档工具?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!