-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
initial work for cargo doc for markdown #2256
Conversation
r? @huonw (rust_highfive has picked a reviewer for you, use r? to override) |
/cc @chriskrycho |
👍 One of the things I was thinking about with this was including the |
Looks like it's mostly along the right lines to me, thanks @steveklabnik! Some thoughts:
|
Great! I wanted to hear from you before I did more work, that all seems reasonable.
Should I use the walkdir crate for this? I forget what Cargo's policies on including external crates is.
I don't know enough about Cargo's architecture to know what this would look like, any pointers? |
Nah I'd just recurse manually, it should be a pretty simple recursive traversal. For now I guess we can avoid parallelization, would be good to at least get the framework and tests written first. To land this, however, I think we may need that (and I can help) |
That would be rad, if you have the time, since you know Cargo way better than me. |
Sure, let's get the main bulk of stuff set up first (e.g. get the interface and all the tests working), and then after that we can do all that. Another reason I just thought of for using the parallelization backend is that it also tracks dirtiness by default (e.g. doesn't re-run rustdoc unless it needs to), which is likely desirable. |
591e97f
to
b44d07d
Compare
Hm, I thought removing the unwraps would help here. Need to dig deeper. |
Closing due to inactivity, but feel free to reopen if this is filled out! |
The beginnings of #739
This handles the building of a
doc
directory, but notcargo test
yet.Does this look like it's on the right track?