Skip to content

Commit 85fe715

Browse files
committed
Add icon to documentation repo to remove warning.
Set notfound_urls_prefix to empty string to remove warning.
1 parent 2a41412 commit 85fe715

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

docs/_static/copy.svg

Lines changed: 6 additions & 0 deletions
Loading

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@
214214

215215
# -- sphinx-notfound-page configuration ----------------------------------
216216

217-
notfound_urls_prefix = None
217+
notfound_urls_prefix = ""
218218
notfound_template = "404.html"
219219

220220

docs/contributing/myst-reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ Note that the HTML attribute `class` must be set to `inline` to render the image
120120

121121
The above syntax renders as shown below.
122122

123-
> You can copy <img alt="Copy icon" src="../../_images/copy.svg" class="inline"> blocks.
123+
> You can copy <img alt="Copy icon" src="/_static/copy.svg" class="inline"> blocks.
124124
125125
Images and figures should always include `alt` text.
126126

0 commit comments

Comments
 (0)