about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-10-21 21:23:02 +0200
committerGitHub <noreply@github.com>2023-10-21 21:23:02 +0200
commit4ebc81a521ae12c4bf625b827b603cdae44dfe79 (patch)
treea761001bd41ca13bce694e84e1b89fa905988ec4
parent31865b7bfb19dc91f1707dc756de5fe3a407187c (diff)
parentaf871808459c84ba9e39aff0fb75a632cd8fb927 (diff)
downloadrust-4ebc81a521ae12c4bf625b827b603cdae44dfe79.tar.gz
rust-4ebc81a521ae12c4bf625b827b603cdae44dfe79.zip
Rollup merge of #117026 - rmehri01:fix_ayu_theme_link, r=notriddle
Fix broken link to Ayu theme in the rustdoc book

Fixes #116977
-rw-r--r--src/doc/rustdoc/src/write-documentation/what-to-include.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/rustdoc/src/write-documentation/what-to-include.md b/src/doc/rustdoc/src/write-documentation/what-to-include.md
index 16457ed0ff8..4bcae4d222c 100644
--- a/src/doc/rustdoc/src/write-documentation/what-to-include.md
+++ b/src/doc/rustdoc/src/write-documentation/what-to-include.md
@@ -117,7 +117,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/css/themes/ayu.css
+[Ayu]: https://github.com/rust-lang/rust/blob/master/src/librustdoc/html/static/css/rustdoc.css#L2384-L2574
 [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