有人知道一个CSS文档工具吗? [英] Does anyone know of a CSS documentation tool?

查看:147
本文介绍了有人知道一个CSS文档工具吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们最近使用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 。解释它的博客文章

以及文档注释的示例

  /**
  * 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆