summaryrefslogtreecommitdiff
path: root/sphinx/search
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch '3.x'Takeshi KOMIYA2020-10-241-5/+5
|\
| * Merge branch '3.x' into 3.2.x_to_3.xTakeshi KOMIYA2020-10-2415-30/+30
| |\
| * | Fix mypy violations (with mypy-0.790)Takeshi KOMIYA2020-10-241-5/+5
| | |
* | | Merge branch '3.x' into masterTakeshi KOMIYA2020-10-0415-30/+30
|\ \ \ | | |/ | |/|
| * | Strip trailing whitespaces and normalize line endingsFrançois Freitag2020-10-0315-30/+30
| |/ | | | | | | | | | | | | | | Trailing whitespace do not have impact on the result, they are just unused bytes. Most text editors are configured to strip trailing whitespaces. Remove them all in one go. Update a handful of files to use the UNIX line ending.
* | Synchronise word length between python stemmer and javascript stemmer. ↵Mateusz Lapsa-Malawski2020-08-071-1/+1
| | | | | | | | Python rejects words shorter then 3 while javascript allows user to search fo them.
* | Merge branch '3.x'Takeshi KOMIYA2020-08-011-1/+1
|\ \ | |/
| * Allow searching for things like serials, phone numbers, etcJoris Beckers2020-07-221-1/+1
| |
* | Merge branch '3.x'Takeshi KOMIYA2020-07-051-2/+2
|\ \ | |/
| * Fix exception causes all over the codebaseRam Rachum2020-06-141-2/+2
| |
* | Merge branch '3.x'Takeshi KOMIYA2020-06-041-5/+5
|\ \ | |/
| * Merge branch '3.0.x' into 3.xTakeshi KOMIYA2020-06-031-5/+5
| |\
| | * Fix mypy violations (with mypy-0.780)Takeshi KOMIYA2020-06-031-5/+5
| | |
* | | Merge branch '3.x'Takeshi KOMIYA2020-05-171-2/+2
|\ \ \ | |/ /
| * | Deprecate sphinx.util:rpartition()Takeshi KOMIYA2020-05-091-2/+2
| | |
| * | Add stacklevel parameter to warnings.warn() callTakeshi KOMIYA2020-05-031-1/+1
| |/
* | Remove deprecated features marked as RemovedInSphinx40WarningTakeshi KOMIYA2020-04-291-6/+1
| |
* | Merge branch '3.x'Takeshi KOMIYA2020-03-211-1/+15
|\ \ | |/
| * Close #7293: html search: Allow to override JavaScript splitterTakeshi KOMIYA2020-03-151-1/+15
| |
* | Deprecate codes for python 3.5Takeshi KOMIYA2020-03-071-5/+1
|/
* Merge branch '2.0'Takeshi KOMIYA2020-01-015-5/+5
|\
| * A happy new year!Takeshi KOMIYA2020-01-015-5/+5
| |
* | Merge branch '2.0'Takeshi KOMIYA2019-12-2518-228/+116
|\ \ | |/
| * Migrate to py3 style type annotation: sphinx.searchTakeshi KOMIYA2019-12-2518-228/+116
| |
* | Merge branch '2.0'Takeshi KOMIYA2019-08-191-2/+2
|\ \ | |/
| * Switch uses of __import__ to importlib.get_module()Jon Dufresne2019-08-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Python docs for __import__ recommend using importlib.get_module(). https://docs.python.org/3/library/functions.html#__import__ > Note: This is an advanced function that is not needed in everyday > Python programming, unlike importlib.import_module(). As importlib.get_module() uses the Python module cache and returns the module, this also allows simplifying many module cache checks of use of sys.modules. importlib.get_module() has been available since Python 3.3.
* | Merge branch '2.0'jfbu2019-08-011-1/+2
|\ \ | |/
| * Fix type annotation for python 3.5.1Takeshi KOMIYA2019-07-131-1/+2
| |
* | Drop features and APIs deprecated in 1.8Takeshi KOMIYA2019-03-301-15/+1
|/
* Python-3-only clean ups discovered by pyupgradeJon Dufresne2019-03-172-7/+6
| | | | | | | | | | | | | | https://github.com/asottile/pyupgrade > A tool to automatically upgrade syntax for newer versions of the > language. - Drop u str prefix - Drop base object inheritance - Drop args to super() - Use set literals - Use dict comprehension - Use set comprehension
* Fix import orderTakeshi KOMIYA2019-02-111-1/+1
|
* Merge branch '1.8'Takeshi KOMIYA2019-01-025-5/+5
|\
| * A happy new year!Takeshi KOMIYA2019-01-025-5/+5
| |
* | Merge branch '1.8'jfbu2018-12-281-2/+16
|\ \ | |/ | | | | | | | | | | resolved Conflicts: doc/development/tutorials/todo.rst sphinx/locale/__init__.py sphinx/search/zh.py
| * #5605 fix Chinese search index (#5611)Timotheus Kampik2018-12-251-2/+16
| | | | | | generate search index for Latin words correctly if search language is Chinese
* | Replace use of six.text_type with strJon Dufresne2018-12-181-4/+2
| | | | | | | | | | This removes the last use of the six package allowing Sphinx to remove it as a dependency.
* | Remove unnecessary encoding cookie from Python source filesJon Dufresne2018-12-1619-19/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | refactor: Remove u-prefix from stringsTakeshi KOMIYA2018-12-1618-312/+312
| |
* | Merge pull request #5803 from jdufresne/encoding-utf8Takeshi KOMIYA2018-12-161-1/+1
|\ \ | | | | | | Avoid respecifying default encoding for .encode()/.decode() calls
| * | Avoid respecifying default encoding for .encode()/.decode() callsJon Dufresne2018-12-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In Python 3, both .encode() and .decode() default the encoding to 'utf-8'. See the docs: https://docs.python.org/3/library/stdtypes.html#str.encode https://docs.python.org/3/library/stdtypes.html#bytes.decode Simplify and shorten the code by using the default instead of respecifying it.
* | | Merge pull request #5796 from jdufresne/superTakeshi KOMIYA2018-12-162-3/+3
|\ \ \ | | | | | | | | Use Python 3 super() argument-less syntax
| * | | Use Python 3 super() argument-less syntaxJon Dufresne2018-12-152-3/+3
| |/ / | | | | | | | | | | | | | | | The form is less verbose and more idiomatic for Python 3 only code. https://docs.python.org/3/library/functions.html#super
* | | Replace pycompat.htmlescape() by html.escape()Takeshi KOMIYA2018-12-161-3/+3
|/ /
* | Replace all "unicode" type by "str"Takeshi KOMIYA2018-12-1518-84/+66
| |
* | Refactor sphinx.searchTakeshi KOMIYA2018-11-301-22/+25
| |
* | Add sphinx.util.typing:unicode to help mypy-3 migrationTakeshi KOMIYA2018-11-2418-0/+18
| |
* | Replace six.string_types with native strJon Dufresne2018-11-211-3/+3
| |
* | Always prefer dict literals over calls to dict()Jon Dufresne2018-11-131-6/+6
| | | | | | | | | | Dict literals are always slightly faster and are idiomatic modern Python.
* | Use super() to call parent class's methodJon Dufresne2018-11-111-1/+1
| |
* | Merge branch '1.8'Takeshi KOMIYA2018-11-011-1/+1
|\ \ | |/