Download the PHP package facebook/hh-apidoc without Composer
On this page you can find all versions of the php package facebook/hh-apidoc. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package hh-apidoc
hh-apidoc
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.phar
to your desired location. Many people put this in their home directory or a globalbin
directory. - Clone this repo
cd path/to/cloned/hh-apidoc
hhvm 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 ./src
The-o
is where to output the resulting files (it is important to note that the path given to-o
must currently be an existing path)..
means use the current directory as the source.cd /tmp/docs
- See generated
.html
files. You can openindex.html
in your favorite browser to see the generated documentation.
License
hh-apidoc is MIT licensed, as found in the LICENSE file.
All versions of hh-apidoc with dependencies
hhvm/hsl Version ^4.0
hhvm/hsl-experimental Version ^4.53
facebook/fbmarkdown Version ^1.6.5
facebook/hh-clilib Version ^2.1.0
facebook/definition-finder Version ^2.13.0
hhvm/hhast Version ^4.80
hhvm/hsl-io Version ^0.2.1|^0.3