Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Oct 29, 2024. It is now read-only.

A toolset for Reason / OCaml related documentation generation

License

NotificationsYou must be signed in to change notification settings

rescript-association/doc-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A toolset for Reason / OCaml related documentation generation

Requirements

  1. CloneBucklescript somewhere on your machine (for example at~/projects/bucklescript).
  2. Follow the build instructions inCONTRIBUTING.md in the Bucklescript repository.
  3. Installesy withnpm install -g esy.

Generate documentation from Bucklescript modules

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).

$ esy

And finally, run the tool to generate the documentation artefacts (e.g. JSON):

$ esy x -- bs-doc --output=_output --bs-project-dir=~/projects/bucklescript

This 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 --help

Working on JSON generator

Currently 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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors2

  •  
  •  

Languages


[8]ページ先頭

©2009-2025 Movatter.jp