summaryrefslogtreecommitdiff
path: root/sphinx/util/jsdump.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove support for the ``jsdump`` format in ``sphinx.search`` (#11365)Adam Turner2023-04-271-201/+0
|
* Fix COM812Adam Turner2023-02-181-1/+1
|
* Run pyupgrade (#11070)Adam Turner2023-01-021-6/+5
|
* Use PEP 604 typesAdam Turner2023-01-011-2/+2
|
* Use PEP 595 typesAdam Turner2023-01-011-3/+3
|
* Insert ``from __future__ import annotations``Adam Turner2023-01-011-0/+2
|
* Enable Ruff's pygrep-hooks checksAdam Turner2022-12-291-1/+1
|
* Review commentsAdam Turner2022-05-011-19/+5
|
* Schedule removal for 7.0Adam Turner2022-04-301-2/+2
|
* Revert removal of `jsdump` implementationAdam Turner2022-04-301-6/+199
|
* Deprecate `sphinx.util.jsdump`Adam Turner2022-04-271-194/+21
|
* Remove copyright and licence fieldsAdam Turner2022-02-201-3/+0
|
* Conform to PEP 257 summary line conventionsAdam Turner2022-02-201-0/+1
|
* Fix module docstring indentationAdam Turner2022-02-201-3/+3
|
* Fix module docstring first lineAdam Turner2022-02-201-2/+1
|
* Remove module titles in docstringsAdam Turner2022-02-191-3/+0
|
* A happy new year!Takeshi KOMIYA2022-01-011-1/+1
|
* refactor: Use PEP-526 based variable annotation (sphinx.util)Takeshi KOMIYA2021-03-101-3/+3
|
* A happy new year!Takeshi KOMIYA2021-01-011-1/+1
| | | | | | | .. note:: $ find sphinx tests LICENSE doc/conf.py -type f -exec sed -i '' -e 's/2007\-20../2007-2021/' {} \; $ git co sphinx/locale/**/*.js sphinx/templates/epub3/mimetype
* Sort imports with isortFrançois Freitag2020-11-111-1/+1
| | | | | | | | | | | | Keep imports alphabetically sorted and their order homogeneous across Python source files. The isort project has more feature and is more active than the flake8-import-order plugin. Most issues caught were simply import ordering from the same module. Where imports were purposefully placed out of order, tag with isort:skip.
* A happy new year!Takeshi KOMIYA2020-01-011-1/+1
|
* Replace `a and b or c` by the more legible `b if a or c`.Antony Lee2019-12-211-1/+1
|
* Migrate to py3 style type annotation: sphinx.util.jsdumpTakeshi KOMIYA2019-06-031-18/+8
|
* Merge branch '1.8'Takeshi KOMIYA2019-01-021-1/+1
|\
| * A happy new year!Takeshi KOMIYA2019-01-021-1/+1
| |
* | Remove unnecessary encoding cookie from Python source filesJon Dufresne2018-12-161-1/+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.
* | Replace all "unicode" type by "str"Takeshi KOMIYA2018-12-151-2/+1
| |
* | refactor: Replace six.integer_types by intTakeshi KOMIYA2018-12-151-3/+1
| |
* | Move to py3 mode for mypy (and remove many "type: ignore" comments)Takeshi KOMIYA2018-12-151-1/+1
| |
* | Add sphinx.util.typing:unicode to help mypy-3 migrationTakeshi KOMIYA2018-11-241-0/+1
| |
* | Replace six.string_types with native strJon Dufresne2018-11-211-4/+4
| |
* | Deprecate sphinx.util.pycompat.uJon Dufresne2018-11-121-3/+1
| | | | | | | | | | It is now simply a constant equal to the empty string. Provides no further utility.
* | Remove use of six.iteritems()Jon Dufresne2018-09-111-2/+2
|/ | | | In Python 3, dict.items() is always an iterator.
* Revert "Use typing.TYPE_CHECKING for typehints"Takeshi KOMIYA2018-03-131-3/+2
| | | | This reverts commit a073e17537c2aacaac305feadea58d4473ec97f4.
* Use typing.TYPE_CHECKING for typehintsTakeshi KOMIYA2018-02-141-2/+3
|
* A happy new year!Takeshi KOMIYA2018-01-011-1/+1
|
* Merge branch 'stable'Takeshi KOMIYA2017-03-261-1/+1
|\
| * Year++Takeshi KOMIYA2017-03-261-1/+1
| |
* | Fix mypy violationTakeshi KOMIYA2017-03-031-1/+1
| |
* | Upgrade to mypy-0.5Takeshi KOMIYA2017-03-031-2/+2
| |
* | Fix mypy violationsTakeshi KOMIYA2017-02-081-2/+3
| |
* | Merge branch 'stable'Takeshi KOMIYA2017-01-121-2/+2
|\ \ | |/
| * Fix flake8 violationsTakeshi KOMIYA2017-01-121-2/+2
| |
* | Add type-check annotations to sphinx.utilTakeshi KOMIYA2016-11-161-4/+15
|/
* #2902: jsdump.loads fails to load search index if keywords starts with ↵Takeshi KOMIYA2016-08-271-1/+1
| | | | underscore
* Make javascript search work in more contextsSilvio Tomatis2016-07-081-1/+1
| | | | | | | | | | | | The meaning of `\w` changed from python 2 to python 3. > $ python3.5 -c "import re; print(re.compile(r'[a-zA-Z]\w*$').match(u'a\xe8'));" > <_sre.SRE_Match object; span=(0, 2), match='aè'> > python -c "import re; print(re.compile(r'[a-zA-Z]\w*$').match(u'a\xe8'));" > None but the definition of what's an acceptable javascript identifier should not vary from case to case.
* Obligatory copyright update.Georg Brandl2016-01-141-1/+1
|
* util: pep8 fixesGeorg Brandl2015-03-081-0/+4
|
* Remove non-determinismDmitry Shachnev2015-01-281-3/+5
| | | | | | | | | | | | | | To enable packages using Sphinx to build reproducibly, its output needs to be the same from one build to another. Its output now strips memory references such as: <__main__.A at 0x7f68cb685710> In addition, various generated files (objects.inv, searchindex.js, translations) are now written with their keys in a determinstic order. Based on a patch by Chris Lamb <lamby@debian.org>.
* Merge branch 'stable'Georg Brandl2015-01-031-1/+1
|\