-
Notifications
You must be signed in to change notification settings - Fork 94
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
Folders starting with underscore on github pages #955
Comments
We need a name that cannot be accessed via the module or Given that other people with other systems seem to struggle with this I'd rather say the problem is with jekyll here. |
odoc itself supports putting the support files wherever you like - it's up to the driver to tell odoc to do that though. I'm guessing you're using dune to create the docs? In which case, dune could be updated to be able to specify the location of the support directory. |
So you'd need to make this configurable: https://github.com/ocaml/dune/blob/e4ee4004e911eb022e585a9a3034fe1ce13a7569/src/dune_rules/odoc.ml#L88 |
I am using dune 3.7.1 which is the most recent version. How can I tell dune the location of the support directory? |
You can't, it's hardcoded right now - see my link above. Dune would need modification in order to do this, so your issue is with dune, not odoc :-) I'll close this, but feel free to make an issue for dune. |
For xref there is one here ocaml/dune#7364 |
I have run into the following problem. I have an ocaml project where I generate the documentation with
odoc
.odoc
generates the directory_odoc_support
where files likeodoc.css
etc. are put.Unfortunately github pages with jekyll considers directories starting with underscore as special and does not copy them to the final site. In that case the rendering of the documentation does not look nice.
I have found a workaround by putting an empty file called
.nojekyll
at the root of my github pages. But in the long run it would be better ifodoc
did not generate directories starting with underscore.Regards
Helmut
The text was updated successfully, but these errors were encountered: