pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/rescript-association/doc-tools

k crossorigen="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/primer-b55097560d244c08.css" /> GitHub - rescript-association/doc-tools: A toolset for Reason / OCaml related documentation generation · GitHub
Skip to content
This repository was archived by the owner on Oct 29, 2024. It is now read-only.

rescript-association/doc-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

doc-tools

A toolset for Reason / OCaml related documentation generation

Requirements

  1. Clone Bucklescript somewhere on your machine (for example at ~/projects/bucklescript).
  2. Follow the build instructions in CONTRIBUTING.md in the Bucklescript repository.
  3. Install esy with npm 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 the bs-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 a forked version of odoc.

To work with the JSON generator, clone the forked version of odoc on your machine and build it with esy esy @ocaml-4.06.

To use the modified version of odoc, you can update the package.json file in this repository to link to the cloned odoc folder.

About

A toolset for Reason / OCaml related documentation generation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy