ratchet README

The project's README from github.com/twbs/ratchet. As one markdown file: README.md.

Ratchet

GitHub Release Build Status devDependency Status

Build mobile apps with simple HTML, CSS, and JS components.

Table of contents

Getting started

Take note that our master branch is our active, unstable development branch and that if you're looking to download a stable copy of the repo, check the tagged downloads.

What's included

Within the download you'll find the following directories and files, logically grouping common assets and providing both compiled and minified variations. You'll see something like this:

ratchet/
├── css/
│   ├── ratchet.css
│   ├── ratchet.min.css
│   ├── ratchet-theme-android.css
│   ├── ratchet-theme-android.min.css
│   ├── ratchet-theme-ios.css
│   └── ratchet-theme-ios.min.css
├── js/
│   ├── ratchet.js
│   └── ratchet.min.js
└── fonts/
    ├── ratchicons.eot
    ├── ratchicons.svg
    ├── ratchicons.ttf
    └── ratchicons.woff

We provide compiled CSS and JS (ratchet.*), as well as compiled and minified CSS and JS (ratchet.min.*). The Ratchicon fonts are included, as are the optional Android and iOS platform themes.

Documentation

Ratchet's documentation is built with Jekyll and publicly hosted on GitHub Pages at http://goratchet.com. The docs may also be run locally.

Running documentation locally

  1. If necessary, install Jekyll (requires v3.0.x).
  1. Install the Ruby-based syntax highlighter, Rouge, with gem install rouge.
  2. From the root /ratchet directory, run jekyll serve in the command line.
  3. Open http://localhost:4000 in your browser, and boom!

Learn more about using Jekyll by reading its documentation.

Documentation for previous releases

Documentation for v1.0.2 has been made available for the time being at http://goratchet.com/1.0.2/ while folks transition to Ratchet 2.

Previous releases and their documentation are also available for download.

Support

Questions or discussions about Ratchet should happen in the Google group or hit us up on Twitter @GoRatchet.

Contributing

Please file a GitHub issue to report a bug. When reporting a bug, be sure to follow the contributor guidelines.

Troubleshooting

A small list of "gotchas" is provided below for designers and developers starting to work with Ratchet.

Versioning

For transparency into our release cycle and in striving to maintain backward compatibility, Ratchet is maintained under the Semantic Versioning guidelines. Sometimes we screw up, but we'll adhere to these rules whenever possible.

Releases will be numbered with the following format:

<major>.<minor>.<patch>

And constructed with the following guidelines:

For more information on SemVer, please visit http://semver.org/.

Maintainers

Connor Sears

Created by Connor Sears, Dave Gamache, and Jacob Thornton.

License

Ratchet is licensed under the MIT License.

ratchet (twbs/ratchet)

Searching Database…

14.7K ·GitHub
这是什么?Ratchet 是一个前端框架,只需使用 HTML、CSS 和 JavaScript 组件,就能搭建移动应用原型。
它是框架还是库?它是一个 CSS/JS 组件框架,思路上与 Bootstrap 相近,但专门用于移动风格界面的原型设计,并不是完整的原生应用开发工具包。
我该如何开始使用?用 git 克隆仓库,或下载随附的编译好的 CSS 和 JS,然后阅读文档来搭建原型,并在手机上查看效果。
使用它需要什么构建工具吗?基本使用不需要任何构建工具,因为下载包中已包含编译和压缩好的 CSS/JS 文件(ratchet.*、ratchet.min.*);只有当你想从源码运行 grunt 测试任务时,才需要 Node >=0.10.1。
master 分支可以放心用于生产环境吗?不可以。master 是正在积极开发、并不稳定的分支;如需稳定版本,请改用打了标签的下载包或发布版本。
它能同时支持 iOS 和 Android 风格的界面吗?可以,下载包中包含可选的平台主题文件,分别适用于 Android 和 iOS 的外观风格。
它自带什么字体或图标集?它包含 Ratchicon 图标字体,与编译好的 CSS 和 JS 一同提供。
文档是如何构建和托管的?文档使用 Jekyll 构建,并公开托管在 GitHub Pages 上。
Ratchet 如何进行版本管理?它遵循语义化版本规范(Semantic Versioning):有破坏性变更时升主版本号,向后兼容的新增功能升次版本号,修复缺陷则升修订号。
Creator
twbs
Size
14.3 MB
Stars
14.7K
Age
14y
Commits · 90 Days