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

Build documentation as one package #235

Closed
dleprovost opened this issue May 4, 2018 · 0 comments · Fixed by #249
Closed

Build documentation as one package #235

dleprovost opened this issue May 4, 2018 · 0 comments · Fixed by #249

Comments

@dleprovost
Copy link

Having multiple bazel packages, I try to obtain an united documentation, like stack produces it:

Haddock with Stack

I tried to declare a dedicated bazel packages, in doc/BUILD:

package(default_visibility = ["//visibility:public"])

load("@io_tweag_rules_haskell//haskell:haskell.bzl", "haskell_doc")

haskell_doc(
  name = "doc",
  deps = [
    "//app/numerod",
    "//app/numerop",
    "//numero",
    "//numero-clovis",
    "//numero-operations",
    "//numero-logger",
    "//numero-pretty",
    "//process-calculus",
  ]
)

But documentation is still splited per bazel packages:

Bazel output files

Dans each index only contains its only content:
Haddock with Bazel

This issue might be somehow related to #232, plus the fact that the unique doc package dosen't gather the documentation in Haddock, like stack do.

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant