- Notifications
You must be signed in to change notification settings - Fork0
A toolset for Reason / OCaml related documentation generation
License
rescript-association/doc-tools
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
A toolset for Reason / OCaml related documentation generation
- CloneBucklescript somewhere on your machine (for example at
~/projects/bucklescript). - Follow the build instructions in
CONTRIBUTING.mdin the Bucklescript repository. - Installesy with
npm install -g esy.
Make sure you followed all the steps in the Requirements section first. Once that is done, you can build thebs-doc tool (this is a temporary name).
$ esyAnd finally, run the tool to generate the documentation artefacts (e.g. JSON):
$ esy x -- bs-doc --output=_output --bs-project-dir=~/projects/bucklescriptThis will generate JSON and odoc files in the_output folder. When regenerating the files, make sure to remove the previously created files.
For additional configuration options see:
$ esy x -- bs-doc --helpCurrently the JSON generation is implemented in aforked version of odoc.
To work with the JSON generator, clone the forked version of odoc on your machine and build it with esyesy @ocaml-4.06.
To use the modified version of odoc, you can update thepackage.json file in this repository to link to the clonedodoc folder.
About
A toolset for Reason / OCaml related documentation generation
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors2
Uh oh!
There was an error while loading.Please reload this page.