Skip to content

Commit d882904

Browse files
authored
[doc] Update the url example for remote html announcement banner (#2266)
Adresses issue #2265 In the following documentation page : https://pydata-sphinx-theme.readthedocs.io/en/stable/user_guide/announcements.html, this commit replaces the given example url "https://github.com/pydata/pydata-sphinx-theme/raw/main/docs/_templates/custom-template.html" with its redirected url "https://raw.githubusercontent.com/pydata/pydata-sphinx-theme/main/docs/_templates/custom-template.html" (GitHub's preferred file access method) because only the second url works.
1 parent cf34852 commit d882904

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/user_guide/announcements.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ For example, the following configuration tells the theme to load the ``custom-te
3838
3939
html_theme_options = {
4040
...
41-
"announcement": "https://github.com/pydata/pydata-sphinx-theme/raw/main/docs/_templates/custom-template.html",
41+
"announcement": "https://raw.githubusercontent.com/pydata/pydata-sphinx-theme/main/docs/_templates/custom-template.html",
4242
}
4343
4444
Update or remove announcement banner

0 commit comments

Comments
 (0)