facebook/hh-apidoc
最新稳定版本:v0.8.0
Composer 安装命令:
composer require facebook/hh-apidoc
包简介
README 文档
README
An API documentation generator for Hack files. The generator works on files that start with <?hh.
Example
HHAPIDoc generates its own API reference documentation.
Project status
This is derived from docs.hhvm.com's documentation generator, and has been in use there for several months.
As a standalone project, it is immature, and an early preview; work is needed on output format (prettiness), usability, and functionality. See the issues to get started. We welcome contributions.
Installing hh-apidoc
- Install hhvm
- Install composer
- Move
composer.pharto your desired location. Many people put this in their home directory or a globalbindirectory. - Clone this repo
cd path/to/cloned/hh-apidochhvm path/to/composer.phar install- Verify installation via
hhvm bin/hh-apidoc --help. You should see usage instructions.
Testing hh-apidoc
Running hh-apidoc against itself is a good way to test the generator:
hhvm bin/hh-apidoc -o /tmp/docs ./srcThe-ois where to output the resulting files (it is important to note that the path given to-omust currently be an existing path)..means use the current directory as the source.cd /tmp/docs- See generated
.htmlfiles. You can openindex.htmlin your favorite browser to see the generated documentation.
License
hh-apidoc is MIT licensed, as found in the LICENSE file.
统计信息
- 总下载量: 15.56k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 10
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-06-29