Commit graph

5 commits

Author SHA1 Message Date
Alex Crichton e219167738 Remove Location, use Url everywhere
Now that rust-url supports windows paths in URLs, this commit jettisons the
janky Location enum in favor of just using Url everywhere.
2014-08-06 17:09:24 -07:00
Alex Crichton c64d191d20 Allow documenting binary targets.
This removes the check in the compilation phase, but adds an error if you're
documenting a library and a binary with the same name (as the rustdoc output
would conflict).
2014-08-04 07:28:57 -07:00
Alex Crichton bfc1519490 Make freshness tests more robust with time travel
Add a helper function to forcibly move a tree back one hour so new edits are
picked up correctly.
2014-08-02 10:55:02 -07:00
Alex Crichton e97f46562d Don't blow away target/doc
The existing rustdoc behavior for working with an already-present directory is
good enough, so there's no need for cargo to help out by blowing things away.
This also makes the copy-back portion easier by just not having it.

Closes #284
2014-07-28 21:13:08 -07:00
Alex Crichton 3f110840b3 Add a cargo-doc command 2014-07-27 19:17:26 -07:00