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

new location for doc directory #20

Open
brycefisher opened this issue Aug 10, 2014 · 2 comments
Open

new location for doc directory #20

brycefisher opened this issue Aug 10, 2014 · 2 comments

Comments

@brycefisher
Copy link

AFAIK, rust-ci is looking for my documentation ./doc/. However, cargo now builds the docs inside the target directory (./target/doc). It would be nice if rust-ci automatically looked in the place cargo uses by default :-)

@tomaka
Copy link

tomaka commented Aug 12, 2014

It would also be nice if the script automatically called cargo doc (and ignore any error, in case the library doesn't support cargo).

@brycefisher
Copy link
Author

@tomaka hmm, I haven't looked at the cargo doc command recently. Are there flags that can be passed to it? I feel like the developer should be responsible to build the docs using whatever process seems right to them. For instance, if you didn't want cargo to run the doc tests but rust-ci forced the doc tests to run, that would be really annoying. I think just looking in the default location is sufficient.

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

2 participants