-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
doc_markdown a bit too eager #902
Comments
IMHO it’s a feature here. Raw links in doc are ugly. |
It does not ignore markdown links:
|
@tikue It's a feature. It ignores the link ( doc-valid-idents = ["gRPC"] to |
Gotcha. I think that's reasonable. Though I'd be interested to get some numbers on precision with this one... |
Running into it again on a markdown link: warning: you should put `Prevention_Cheat_Sheet` between ticks in the documentation, #[warn(doc_markdown)] on by default
--> /home/vincent/Code/tera/src/utils.rs:3:76
|
3 | /// From [OWASP](https://www.owasp.org/index.php/XSS_(Cross_Site_Scripting)_Prevention_Cheat_Sheet)
| ^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://github.com/Manishearth/rust-clippy/wiki#doc_markdown
|
In briansmith/ring#285 (comment), @pietro wrote:
Example: /// See [NIST SP 800-56A, revision 2].
///
/// [NIST SP 800-56A, revision 2]:
/// http://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-56Ar2.pdf
fn foo() { } |
@Keats that isn't a valid markdown link; you need to escape the ( ). |
Could we please determine the default value of |
@sanmai-NL While I think it's a good idea how do you expect us to get such a list from a 47396-item list of lower-case IDs? |
@mcarton: |
Running the latest clippy on https://github.com/Keats/tera/ gives the following warning:
The text was updated successfully, but these errors were encountered: