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

Display domain docstrings in the search results #42

Merged
merged 4 commits into from
Aug 28, 2019

Conversation

dojutsu-user
Copy link
Member

Copy link
Member

@ericholscher ericholscher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. I will test it locally this week.

@@ -340,7 +312,7 @@ const generateSingleResult = (resultData, projectName) => {
</h2> \
</a>';

let page_link = `${resultData.link}${DOCUMENTATION_OPTIONS.FILE_SUFFIX}`;
let page_link = READTHEDOCS_DATA.canonical_url + resultData.full_path;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any reason for this change? I don't know if we should be forcibly changing domains in search results, it feels less than ideal.

Copy link
Member Author

@dojutsu-user dojutsu-user Aug 13, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No... I forgot to update this PR.
This change was done when I got confused with serving static files from nginx
I have undoed this change.

@ericholscher ericholscher merged commit 8b718b5 into master Aug 28, 2019
@dojutsu-user dojutsu-user deleted the show-domain-docstrings branch August 28, 2019 17:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
PR: work in progress Pull request is not ready for full review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants