From 58d5e3ebdb01b76f334db26e48261af5a06cd97e Mon Sep 17 00:00:00 2001 From: Firefly <45487685+Snoopy1866@users.noreply.github.com> Date: Mon, 25 Nov 2024 18:24:13 +0800 Subject: [PATCH] Update download.md (#859) Correct the option name. --- docs/components/download.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/components/download.md b/docs/components/download.md index 8c2e24e59..152a86ef3 100644 --- a/docs/components/download.md +++ b/docs/components/download.md @@ -13,7 +13,7 @@ html_theme_options = { ``` ```{note} -This theme over-rides the Sphinx default for `html_source_suffix` to be `''` instead of `.txt`. +This theme over-rides the Sphinx default for `html_sourcelink_suffix` to be `''` instead of `.txt`. This is because most users of this theme want to download source files of the pages themselves, which do not begin with `.txt`. -If you wish to add a different source suffix, manually specify `html_source_suffix` in `conf.py`. +If you wish to add a different source suffix, manually specify `html_sourcelink_suffix` in `conf.py`. ```