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

Extend .odocl to allow file copy #6068

Closed
vicuna opened this issue Jul 8, 2013 · 1 comment
Closed

Extend .odocl to allow file copy #6068

vicuna opened this issue Jul 8, 2013 · 1 comment

Comments

@vicuna
Copy link

vicuna commented Jul 8, 2013

Original bug ID: 6068
Reporter: @dbuenzli
Assigned to: @gasche
Status: resolved (set by @gasche on 2016-04-20T21:58:51Z)
Resolution: suspended
Priority: normal
Severity: feature
Category: -for ocamlbuild use https://github.com/ocaml/ocamlbuild/issues
Monitored by: @gasche

Bug description

Currently, .odocl files allow only to specify module names. I wonder if it would we possible to extend them to allow the specification of files along side the module (with module names taking over files if there's an ambiguity). The semantics of it would be just copy the file. I need that in the documentation of vg which lead me to need to script things as follows:

$OCAMLBUILD api.docdir/index.html
cp doc/style.css _build/api.docdir/style.css
cp doc/*.png _build/api.dodcir/

So for example an api.docdir with:

Vg
style.css
doc-joins.png

Would copy style.css and doc-joins.png in _build/api.docdir/

For me that would also solve PR #4430

@vicuna
Copy link
Author

vicuna commented Apr 20, 2016

Comment author: @gasche

Migrated to the new issue tracker:
ocaml/ocamlbuild#73

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

No branches or pull requests

2 participants