-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add section linking for the search result #5829
Merged
ericholscher
merged 70 commits into
readthedocs:gsoc-19-indoc-search
from
dojutsu-user:search-section-linking
Jul 12, 2019
Merged
Changes from 12 commits
Commits
Show all changes
70 commits
Select commit
Hold shift + click to select a range
ee1ba1a
add sections field
dojutsu-user 4b05f8a
index each section as separate document in ES
dojutsu-user 79d2459
Merge branch 'master' into search-section-linking
dojutsu-user 54ceb5c
few refactoring
dojutsu-user b11e357
revert all
dojutsu-user 5b81471
Merge branch 'master' into search-section-linking
dojutsu-user 762a79d
update document mapping (nested fields)
dojutsu-user 7a61dbd
format text
dojutsu-user 644565b
get results from inner_hits
dojutsu-user fa51a1c
Merge branch 'master' into search-section-linking
dojutsu-user 0bc6be5
correct the none
dojutsu-user 0139993
add field for PageDocument.
dojutsu-user 53a02e8
remove domain_index settings
dojutsu-user 11ba9e7
Merge branch 'htmlfile-sphinx-domain-integration' into search-section…
dojutsu-user 6207f4e
remove SphinxDomainDocument and DomainSearch
dojutsu-user a251a98
generate correct query
dojutsu-user b6847b9
remove boosting and allsearch
dojutsu-user af2d69f
remove allsearch import
dojutsu-user 32d0bed
recursively remove newline characters from highlight dict
dojutsu-user d472f29
Merge branch 'master' into search-section-linking
dojutsu-user 878343d
lint fix
dojutsu-user f98d91c
Merge branch 'master' into search-section-linking
dojutsu-user 7c1c641
set number_of_fragments to 1
dojutsu-user fd8e8f7
use nested facet
dojutsu-user f6221ec
get sorted results
dojutsu-user 8840606
Merge branch 'master' into search-section-linking
dojutsu-user 60e229c
fix search.html
dojutsu-user 3835e2e
remove unused imports and add logging
dojutsu-user ae5033c
show more data on domain objects
dojutsu-user 28e7cbf
fix main site search
dojutsu-user 1e2a40b
mark as safe and change log to debug
dojutsu-user 7b7a3c9
add transpiled files -- js
dojutsu-user 3931bc0
remove log
dojutsu-user 84a2494
small improvements in template
dojutsu-user 5cae508
change variable name
dojutsu-user adb74ed
fix template
dojutsu-user d500d98
fix lint
dojutsu-user 9461d4f
use python datatypes
dojutsu-user 75dcc2f
remove highlight url param from sections and domains
dojutsu-user ea36138
fix clashing css classes
dojutsu-user 451c0f4
Merge branch 'master' into search-section-linking
dojutsu-user 0817d43
use underscore.js template
dojutsu-user 5305458
add _ with variables
dojutsu-user 68cb7af
add comment in template
dojutsu-user d62bf3e
use .iterator()
dojutsu-user ed16e56
show multiple results per section, if present
dojutsu-user 0ed64f7
fix sphinx indexing
dojutsu-user f988302
don't index '-' value of domain.display_name
dojutsu-user 429b3e9
fix eslint
dojutsu-user 897e09f
Merge branch 'master' into search-section-linking
dojutsu-user aeaba6f
reduce complexity in search.js
dojutsu-user 6f9b2bc
refactor tasks.py file
dojutsu-user 6135cde
fix logic in search.views
dojutsu-user d3566ac
make 100 a constant
dojutsu-user 992c72e
Add checkbox for searching in current section
dojutsu-user f0babf1
remove checkbox code for now
dojutsu-user 4527839
Merge branch 'master' into search-section-linking
dojutsu-user 7e75d7e
fix test_imported_file
dojutsu-user 1e6721d
fix test_search_json_parsing
dojutsu-user 2a4c070
fix test_search_json_parsing
dojutsu-user 4beec39
update test_search_json_parsing
dojutsu-user 01346a0
Merge branch 'master' into search-section-linking
dojutsu-user 91282de
refactor parse_json and its test
dojutsu-user cfe8f5b
write initial tests
dojutsu-user 7e99f6a
make 100 as constant
dojutsu-user b7ce777
fix lint
dojutsu-user 6701a4e
add test for domains and filter by version and project
dojutsu-user cee24ed
revert changes to python_environments.py
dojutsu-user 685f6db
remove tests from this pr
dojutsu-user d7edeee
update template to make 100 as constant
dojutsu-user File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we need
trans
here, I think we can usewith
: https://docs.djangoproject.com/en/2.2/ref/templates/builtins/#with