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

dyn-trait-for-trait-objects.md: Fix link to impl Trait explanation #134

Closed
wants to merge 1 commit into from

Conversation

xtian
Copy link

@xtian xtian commented Jan 10, 2019

No description provided.

@ehuss
Copy link
Contributor

ehuss commented Jan 10, 2019

I don't think the link is broken. The edition guide is published on the official site with mdbook 0.1 which uses different (absolute) links. See https://doc.rust-lang.org/stable/edition-guide/rust-2018/trait-system/dyn-trait-for-trait-objects.html for how it looks.

@steveklabnik do you want help changing travis here to use mdbook 0.1. Or, more ambitiously, I offer to help transition all of the official books to 0.2.

@steveklabnik
Copy link
Member

You're right, @ehuss !

So, @jamesmunns has rust-lang/rust#56291 open, which would allow for per-book mdbook versions, and let us upgrade piecemeal. If he lands that, we can update the books one at a time, which I think is the most realistic option. James, do you need help getting that PR across the line? After we land that, help updating all of the books would be very appreciated, for sure.

@jamesmunns
Copy link
Member

Hey @steveklabnik, I haven't had time to dig into mdbook to correct the issue of rendering the print.html correctly, which is blocking that PR at the moment.

What I can do very quickly, is to remove the embedded portion of that PR, and only add the MdBook 1/2 compatibility section, and land that very soon. This would come with the warning that @ehuss 's changes might also trip over the same print.html issues we did, depending on how links are used (I haven't reviewed this PR yet).

If I do split this up, would you (Steve) prefer a new PR that only does the 1/2 compat, or would you like me to repurpose the old PR, and open a new one to add embedded later? The later part will probably require an upgrade of the mdbook2 dependency.

@xtian
Copy link
Author

xtian commented Jan 11, 2019

Ah sorry, the published version I was using was at https://rust-lang-nursery.github.io/edition-guide/rust-2018/trait-system/dyn-trait-for-trait-objects.html where the link is broken. Should have noted that in the description. Is this intended?

GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this pull request Jan 21, 2019
…abnik

Support multiple versions of MdBook for docs

Only the compatibility items from the embedded book PR. PR with embedded book components: rust-lang#56291

CC @steveklabnik, @ehuss, and rust-lang/edition-guide#134
bors added a commit to rust-lang/rust that referenced this pull request Jan 29, 2019
Support multiple versions of MdBook for docs

Only the compatibility items from the embedded book PR. PR with embedded book components: #56291

CC @steveklabnik, @ehuss, and rust-lang/edition-guide#134
bors added a commit to rust-lang/rust that referenced this pull request Jan 30, 2019
Support multiple versions of MdBook for docs

Only the compatibility items from the embedded book PR. PR with embedded book components: #56291

CC @steveklabnik, @ehuss, and rust-lang/edition-guide#134
@Ppjet6
Copy link

Ppjet6 commented Feb 12, 2019

#143 fixes this and a bunch of other links.

@ehuss
Copy link
Contributor

ehuss commented Feb 28, 2019

Thanks for the PR! The links should now be updated with #152.

@ehuss ehuss closed this Feb 28, 2019
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

Successfully merging this pull request may close these issues.

None yet

5 participants