hansjorg / rust-ci

Django webapp for www.rust-ci.org
Apache License 2.0
17 stars 8 forks source link

new location for doc directory #20

Open brycefisher opened 10 years ago

brycefisher commented 10 years ago

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 commented 10 years ago

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 commented 10 years ago

@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.