Takeshi KOMIYA
76e9f57c2e
Merge branch '1.8'
2019-01-02 16:16:25 +09:00
Takeshi KOMIYA
1b1ebd2c75
A happy new year!
2019-01-02 16:00:30 +09:00
jfbu
32d57b8637
Merge branch '1.8'
...
resolved Conflicts:
doc/development/tutorials/todo.rst
sphinx/locale/__init__.py
sphinx/search/zh.py
2018-12-28 12:50:20 +01:00
Timotheus Kampik
221614654f
#5605 fix Chinese search index ( #5611 )
...
generate search index for Latin words correctly if search language is Chinese
2018-12-25 18:41:52 +01:00
Jon Dufresne
bade33c7e4
Remove unnecessary encoding cookie from Python source files
...
In Python 3, the default encoding of source files is utf-8. The encoding
cookie is now unnecessary and redundant so remove it. For more details,
see the docs:
https://docs.python.org/3/howto/unicode.html#the-string-type
> The default encoding for Python source code is UTF-8, so you can
> simply include a Unicode character in a string literal ...
Includes a fix for the flake8 header checks to stop expecting an
encoding cookie.
2018-12-16 12:22:12 -08:00
Jon Dufresne
4cda774566
Improve JS handling in test_search.py
...
- Reuse jsload() in all tests to reduce duplication.
- Fix -2 index to -1, to include the entire JSON string. Was previously
chopping off the final '}'.
- Assert the serialized string ends with a closing parenthesis
2018-11-13 21:25:46 -08:00
Jon Dufresne
4f4e225775
Replace all six.BytesIO with io.BytesIO
2018-09-23 18:38:06 -07:00
Jon Dufresne
490e4aed41
Remove unnecessary object from class definitions
...
In Python 3, all classes are new-style classes. The object in the
definition is redundant and unnecessary.
2018-09-11 07:07:01 -07:00
Jakob Lykke Andersen
dd711a7dc7
Search: make a difference between fullname and dispname
2018-06-10 17:16:58 +02:00
Takeshi KOMIYA
f7027049b1
Fix flake8 violations
2018-02-19 23:20:56 +09:00
Takeshi KOMIYA
2426cedb8b
A happy new year!
2018-01-01 01:06:58 +09:00
Takeshi KOMIYA
4448902977
Fix #4169 : Chinese language doesn't trigger Chinese search automatically
2017-10-21 01:42:53 +09:00
Takeshi KOMIYA
c57e47e042
Year++
2017-03-26 11:49:34 +09:00
Takeshi KOMIYA
19d2d56e36
Fix IndexBuilder.prune() and load() supports _filenames field
2017-02-21 00:17:38 +09:00
Takeshi KOMIYA
1f973caf06
Fix #3349 : Result of `IndexBuilder.load()
` is broken
2017-02-20 16:33:37 +09:00
Takeshi KOMIYA
cf2061dfad
Fix flake8 violations
2017-01-26 01:13:17 +09:00
shimizukawa
baaef9146d
pytest: remove deprecated with_app decorator functions
2017-01-06 01:14:47 +09:00
Takeshi KOMIYA
e04fe845c7
Fix #3039 : English stemmer returns wrong word if the word is capitalized
2016-10-17 21:09:58 +09:00
Takeshi KOMIYA
53ea1cb280
Fix #3045 : HTML search index creator should ignore "raw" content if now html
2016-10-17 16:08:37 +09:00
Timotheus Kampik
de7c93756c
allow search hits in body text that are in title of other doc #2891 ( #2971 )
...
* allow search hits in body text that are in title of other doc #2891
* shorten lines/add line breaks #2891
* remove out-commented LoC, simplify check #2891
2016-10-11 00:42:41 +09:00
Timotheus Kampik
05ad82ffa8
Merge branch 'master' into fix-stemming-removes-short-words-from-search-results
2016-07-10 11:44:35 +02:00
Takeshi KOMIYA
31c6beb578
Merge pull request #2454 from mgeier/html-sourcelink-txt
...
Add option html_sourcelink_suffix
2016-07-06 01:43:18 +09:00
Takeshi KOMIYA
88c026d0bd
Merge branch 'stable'
2016-06-12 00:42:47 +09:00
Takeshi KOMIYA
80921b2ab8
Fix flake8 violation under tests/
2016-06-12 00:02:11 +09:00
Matthias Geier
3ecb08c5a9
TESTS: Add missing docname in test_search.py
2016-06-07 15:17:12 +02:00
Timotheus Kampik
475ebf6c36
Merge branch 'master' into fix-stemming-removes-short-words-from-search-results
2016-06-04 17:35:16 +02:00
Timotheus Kampik
ba64f54e4e
search index: don't stemm words that would be excluded from search index only after stemming #1529
2016-06-04 17:21:11 +02:00
Takeshi KOMIYA
c028cfc5d3
Refactor testcases for #2516
2016-05-24 11:14:17 +09:00
Timotheus Kampik
01797faede
refactor code/tests: keyword support for search index #2516
2016-05-05 18:09:22 +02:00
Timotheus Kampik
6f6b28d3e6
refactor, add more tests #2516
2016-05-02 07:54:44 +02:00
Timotheus Kampik
a8dabf334d
add tests for meta-tag search index generation #2463
2016-05-02 00:11:48 +02:00
Takeshi KOMIYA
cfd8b520b6
Fix test_search has been failed
2016-03-01 00:48:58 +09:00
Takeshi KOMIYA
77df787e81
Fix #2019 : the domain objects in search result are not escaped
2016-02-29 10:52:48 +09:00
Georg Brandl
46d7e8558e
Obligatory copyright update.
2016-01-14 22:54:04 +01:00
Georg Brandl
a23903d8d5
Merge branch 'stable'
2015-01-03 21:41:14 +01:00
Georg Brandl
567d52f199
all: update copyright
2015-01-03 21:36:32 +01:00
Takayuki Shimizukawa
ba4dcaa8dd
use b prefix for bytes instead of sphinx.pycompat.b function.
2014-05-01 22:54:09 +09:00
Georg Brandl
e030031321
Update copyright year.
2014-03-01 08:18:16 +01:00
Takayuki Shimizukawa
19a8c9e2e5
fix problems with py25,py3x for search index generation
2013-01-04 21:46:17 +09:00
Georg Brandl
151856819c
Copyright update.
2013-01-01 22:13:15 +01:00
Georg Brandl
cfe85b4e8b
Determine search language in builder, and add missing method in websupport indexer implementations.
2011-01-04 12:47:49 +01:00
Georg Brandl
17efae5622
merge with 1.0
2011-01-04 11:29:09 +01:00
Georg Brandl
0e1db6ad90
New year update.
2011-01-04 10:00:51 +01:00
Georg Brandl
8cb5a02312
Give a binary document name.
2010-07-28 19:27:45 +02:00
Georg Brandl
c00fd08aa9
Clean up unused imports.
2010-01-17 12:02:15 +01:00
Georg Brandl
f6a56192d1
Happy new year!
2010-01-01 14:09:13 +01:00
Georg Brandl
cfd0d8c42d
Don't consider contents of source comments for the search index.
2009-05-31 19:47:42 +02:00