Skip to content
This repository was archived by the owner on Apr 8, 2025. It is now read-only.

Commit a127366

Browse files
committed
Don't guess the correct link
This should be merged after readthedocs/readthedocs.org#7070 is deployed.
1 parent 383b0e3 commit a127366

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sphinx_search/static/js/rtd_sphinx_search.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ const generateSingleResult = (resultData, projectName) => {
312312
</h2> \
313313
</a>';
314314

315-
let page_link = `${resultData.link}${DOCUMENTATION_OPTIONS.FILE_SUFFIX}`;
315+
let page_link = resultData.link;
316316
let page_title = resultData.title;
317317

318318
// if title is present in highlighted field, use that.

sphinx_search/static/js/rtd_sphinx_search.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)