Skip to content

Commit 722b67a

Browse files
committed
Docs: Using absolute URLs so ReadTheDocs can find the image resources here.
1 parent 330bc44 commit 722b67a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/header.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@
132132
</a>
133133
</div>
134134
<div class="forumLink" style="display:flex;align-items:baseline;margin-top: -5px;margin-left:10px;">
135-
<div id="forumCTAText"></div><a id="winking-cow-link" style="font-weight: bold;" href="https://forum.pymupdf.com">Try our forum! <img alt="MuPDF Forum link logo" id="winking-cow-image" src="/_static/forum-logo.gif" width=38px height=auto /></a>
135+
<div id="forumCTAText"></div><a id="winking-cow-link" style="font-weight: bold;" href="https://forum.pymupdf.com">Try our forum! <img alt="MuPDF Forum link logo" id="winking-cow-image" src="https://pymupdf.readthedocs.io/en/latest/_static/forum-logo.gif" width=38px height=auto /></a>
136136
</div>
137137
</div>
138138

@@ -165,11 +165,11 @@
165165
const img = document.getElementById('winking-cow-image');
166166
167167
link.addEventListener('mouseenter', function() {
168-
img.src = '/_static/forum-logo-wink.png';
168+
img.src = 'https://pymupdf.readthedocs.io/en/latest/_static/forum-logo-wink.png';
169169
});
170170
171171
link.addEventListener('mouseleave', function() {
172-
img.src = '/_static/forum-logo.gif';
172+
img.src = 'https://pymupdf.readthedocs.io/en/latest/_static/forum-logo.gif';
173173
});
174174
175175
</script>

0 commit comments

Comments
 (0)