Skip to content

Conversation

jdisanti
Copy link
Contributor

Rust 1.53 added a lint for bare URLs: rust-lang/rust#81764

This PR fixes doc generation so that docs continue to build with the latest stable compiler, but does not attempt to be the long-term documentation normalization strategy.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@rcoh
Copy link
Collaborator

rcoh commented Jun 29, 2021

would be nice to have a generated code diff to audit

@jdisanti
Copy link
Contributor Author

On second thought, there isn't really a good way to fix this without full parsing of the documentation. There are cases in the documentation such as this that should not get transformed:

<code>curl
http://someurl</code>

Or

<code>[ "CMD-SHELL", "curl -f http://localhost/ || exit 1" ]</code>

I'll table this and start on the long-term approach.

@jdisanti jdisanti closed this Jun 30, 2021
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.

2 participants