From 4095007ab081354621ebca77a24aef6b3dbb11a5 Mon Sep 17 00:00:00 2001 From: Iaiao Date: Mon, 24 Jan 2022 20:39:00 +0200 Subject: [PATCH] Fix a broken link in rustdoc book And replace with a permalink. --- src/doc/rustdoc/src/what-to-include.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/doc/rustdoc/src/what-to-include.md b/src/doc/rustdoc/src/what-to-include.md index 9683f519be121..f213f236dc9c2 100644 --- a/src/doc/rustdoc/src/what-to-include.md +++ b/src/doc/rustdoc/src/what-to-include.md @@ -118,7 +118,7 @@ rustdoc --theme awesome.css src/lib.rs Here is an example of a new theme, [Ayu]. -[Ayu]: https://github.com/rust-lang/rust/blob/master/src/librustdoc/html/static/themes/ayu.css +[Ayu]: https://github.com/rust-lang/rust/blob/51126be1b260216b41143469086e6e6ee567647e/src/librustdoc/html/static/css/themes/ayu.css [API Guidelines]: https://rust-lang.github.io/api-guidelines/documentation.html#rustdoc-does-not-show-unhelpful-implementation-details-c-hidden [Documentation tests]: documentation-tests.md [on this blog]: https://blog.guillaume-gomez.fr/articles/2016-09-16+Generating+doc+with+rustdoc+and+a+custom+theme