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

UI: missing a means to ignore some files or directories? #1144

Open
NicNomadic opened this issue Jun 7, 2024 · 2 comments
Open

UI: missing a means to ignore some files or directories? #1144

NicNomadic opened this issue Jun 7, 2024 · 2 comments

Comments

@NicNomadic
Copy link

When running odoc on a repository containing both original and vendored source directories, we don't need to publish the doc for the latter, because this (1) takes a lot of extra time, and (2) raise errors for sources we don't control.

I could not find a way to exclude the vendored directories, neither in odoc itself nor when running odoc from dune.

In the latter case, I tried both listing the to-be-ignored dirs in two different dune stanzas:

  • putting them in vendored-dirs doesn't produce any error, but still builds the doc for them
  • putting them in data_only_dirs raises blocking errors such as Library "octez-internal-libs.irmin" not found

Should one of these solutions work? If not, is there another solution?

@jonludlam
Copy link
Member

No current solution as far as I'm aware. It's probably worth creating a feature-request issue in ocaml/dune rather than here as the build rules are in dune.

@dbuenzli
Copy link
Contributor

dbuenzli commented Jun 7, 2024

Well this is related to the problem of generating partial docsets see #1120

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

No branches or pull requests

3 participants