Skip to content

Commit

Permalink
Merge pull request #50 from readthedocs/dont-use-suffix
Browse files Browse the repository at this point in the history
Don't guess the correct link
  • Loading branch information
stsewd authored May 19, 2020
2 parents 383b0e3 + a127366 commit faa85a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sphinx_search/static/js/rtd_sphinx_search.js
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ const generateSingleResult = (resultData, projectName) => {
</h2> \
</a>';

let page_link = `${resultData.link}${DOCUMENTATION_OPTIONS.FILE_SUFFIX}`;
let page_link = resultData.link;
let page_title = resultData.title;

// if title is present in highlighted field, use that.
Expand Down
2 changes: 1 addition & 1 deletion sphinx_search/static/js/rtd_sphinx_search.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit faa85a9

Please sign in to comment.