Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add odoc rules #6

Open
leostera opened this issue Oct 8, 2018 · 0 comments
Open

Add odoc rules #6

leostera opened this issue Oct 8, 2018 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@leostera
Copy link
Owner

leostera commented Oct 8, 2018

ocaml_module(
  name = "module_srcs",
  srcs = glob(["*.ml", "*.mli"]),
)

odoc_unit(
  name = "docs.odoc",
  srcs = [ ":module_srcs" ],
)

odoc_html(
  name = "docs.html",
  srcs = [ ":docs.odoc"]
)

Alternatively

ocaml_module(
  name = "module_srcs",
  srcs = glob(["*.ml", "*.mli"]),
)

odoc(
 name = "docs",
 srcs = [ ":module_srcs" ],
)
@leostera leostera added enhancement New feature or request help wanted Extra attention is needed labels Oct 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant