| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | A happy new year! | Takeshi KOMIYA | 2021-01-01 | 1 | -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 | ||||
| * | Fix #8365: py domain: :type: and :rtype: gives false ambiguous warnings | Takeshi KOMIYA | 2020-12-19 | 1 | -0/+1 |
| | | | | | | | The searching context like py:module and py:class are missing in the pending_xref nodes generated from info-field-lists. This sets these searching context info to them. | ||||
| * | Sort imports with isort | François Freitag | 2020-11-11 | 1 | -3/+3 |
| | | | | | | | | | | | | | 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. | ||||
| * | Add stacklevel parameter to warnings.warn() call | Takeshi KOMIYA | 2020-05-03 | 1 | -2/+2 |
| | | |||||
| * | A happy new year! | Takeshi KOMIYA | 2020-01-01 | 1 | -1/+1 |
| | | |||||
| * | Fix #6474: ``DocFieldTransformer`` raises AttributeError | Takeshi KOMIYA | 2019-08-02 | 1 | -1/+8 |
| | | |||||
| * | Fix type annotation for python 3.5.1 | Takeshi KOMIYA | 2019-07-13 | 1 | -3/+4 |
| | | |||||
| * | Migrate to py3 style type annotation: sphinx.util.docfields | Takeshi KOMIYA | 2019-06-03 | 1 | -67/+32 |
| | | |||||
| * | Add ObjectDescription.get_field_type_map() | Takeshi KOMIYA | 2019-03-23 | 1 | -5/+7 |
| | | | | | | Conceal caching mechanism of Field classes to ObjectDescription class. This deprecates DocFieldTransformer.preprocess_field_types(). | ||||
| * | Clean up import for annotations | Takeshi KOMIYA | 2019-03-06 | 1 | -1/+0 |
| | | |||||
| * | Merge branch '1.8' | Takeshi KOMIYA | 2019-01-02 | 1 | -1/+1 |
| |\ | |||||
| | * | A happy new year! | Takeshi KOMIYA | 2019-01-02 | 1 | -1/+1 |
| | | | |||||
| * | | Merge pull request #5509 from stephenfin/remove-future-imports | Takeshi KOMIYA | 2018-12-17 | 1 | -1/+0 |
| |\ \ | | | | | | | Remove future imports | ||||
| | * | | py3: Remove (most) __future__ imports | Stephen Finucane | 2018-12-17 | 1 | -1/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There were two used: - print_function - absolute_import Both of these are mandatory in Python 3.0 onwards [1] and can therefore be removed...mostly. Unfortunately, mypy is still running in Python 2.7 mode, meaning we need the 'print_function' future wherever we're calling 'print' with the 'file' argument. There's also a single 'absolute_import' future that must be retained as its removal breaks a test for as-yet unknown reasons. TODOs are added to resolve both issues in the future. [1] https://docs.python.org/3/library/__future__.html Signed-off-by: Stephen Finucane <stephen@that.guru> | ||||
| * | | | Remove unnecessary encoding cookie from Python source files | Jon Dufresne | 2018-12-16 | 1 | -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. | ||||
| * | | Use Python 3 super() argument-less syntax | Jon Dufresne | 2018-12-15 | 1 | -2/+2 |
| | | | | | | | | | | | | | The form is less verbose and more idiomatic for Python 3 only code. https://docs.python.org/3/library/functions.html#super | ||||
| * | | Replace all "unicode" type by "str" | Takeshi KOMIYA | 2018-12-15 | 1 | -22/+22 |
| | | | |||||
| * | | Fix annotaions for docfields | Takeshi KOMIYA | 2018-12-12 | 1 | -15/+15 |
| | | | |||||
| * | | Merge pull request #5740 from tk0miya/fix_typehints_for_TextlikeNode | Takeshi KOMIYA | 2018-12-10 | 1 | -3/+3 |
| |\ \ | | | | | | | Add TextlikeNode type for docfields | ||||
| | * | | Add TextlikeNode type for docfields | Takeshi KOMIYA | 2018-12-10 | 1 | -3/+3 |
| | | | | |||||
| * | | | Fix annotations | Takeshi KOMIYA | 2018-12-10 | 1 | -1/+1 |
| |/ / | |||||
| * | | Fix annotations for cpp domain | Takeshi KOMIYA | 2018-12-04 | 1 | -1/+1 |
| | | | |||||
| * | | Fix annotations for util | Takeshi KOMIYA | 2018-11-30 | 1 | -34/+43 |
| | | | |||||
| * | | Fix annotations for minor methods and functions | Takeshi KOMIYA | 2018-11-30 | 1 | -3/+3 |
| | | | |||||
| * | | Add sphinx.util.typing:unicode to help mypy-3 migration | Takeshi KOMIYA | 2018-11-24 | 1 | -0/+1 |
| | | | |||||
| * | | Use super() to call parent class's method | Jon Dufresne | 2018-11-11 | 1 | -2/+2 |
| | | | |||||
| * | | Merge branch 'master' into HEAD | Takeshi KOMIYA | 2018-09-22 | 1 | -2/+4 |
| |\ \ | |/ | |||||
| | * | Merge branch '1.8' into 5426_TypeError_for_class_attributes | Takeshi KOMIYA | 2018-09-22 | 1 | -1/+2 |
| | |\ | |||||
| | | * | Fix #5432: py domain: :type: field can't process :term: references | Takeshi KOMIYA | 2018-09-22 | 1 | -1/+2 |
| | | | | |||||
| | * | | Fix py domain: TypeError has been raised for class attribute (ref: #5426) | Takeshi KOMIYA | 2018-09-22 | 1 | -1/+2 |
| | |/ | |||||
| * | | Remove unnecessary object from class definitions | Jon Dufresne | 2018-09-11 | 1 | -2/+2 |
| |/ | | | | | In Python 3, all classes are new-style classes. The object in the definition is redundant and unnecessary. | ||||
| * | Merge branch '1.7' | Takeshi KOMIYA | 2018-03-18 | 1 | -3/+2 |
| |\ | |||||
| | * | Revert "Use typing.TYPE_CHECKING for typehints" | Takeshi KOMIYA | 2018-03-13 | 1 | -3/+2 |
| | | | | | | | | | This reverts commit a073e17537c2aacaac305feadea58d4473ec97f4. | ||||
| * | | Merge branch '1.7' | Takeshi KOMIYA | 2018-02-18 | 1 | -2/+3 |
| |\ \ | |/ | |||||
| | * | Use typing.TYPE_CHECKING for typehints | Takeshi KOMIYA | 2018-02-14 | 1 | -2/+3 |
| | | | |||||
| * | | Merge pull request #4047 from AWhetter/fix_2979_2 | Rob Ruana | 2018-02-03 | 1 | -6/+23 |
| |\ \ | |/ |/| | Properties can have types documented with :type: | ||||
| | * | Properties can have types documented with :type: | Ashley Whetter | 2017-09-06 | 1 | -6/+23 |
| | | | |||||
| * | | A happy new year! | Takeshi KOMIYA | 2018-01-01 | 1 | -1/+1 |
| |/ | |||||
| * | Merge branch 'stable' into 1.6-release | jfbu | 2017-05-05 | 1 | -1/+2 |
| |\ | |||||
| | * | Fix #3685: AttributeError when using 3rd party domains | Takeshi KOMIYA | 2017-05-03 | 1 | -1/+2 |
| | | | |||||
| * | | Merge branch 'stable' | Takeshi KOMIYA | 2017-03-26 | 1 | -1/+1 |
| |\ \ | |/ | |||||
| | * | Year++ | Takeshi KOMIYA | 2017-03-26 | 1 | -1/+1 |
| | | | |||||
| * | | Correct missing space before type annotation | jfbu | 2017-03-12 | 1 | -4/+4 |
| | | | |||||
| * | | Split some long type-checking annotation lines | jfbu | 2017-03-12 | 1 | -12/+39 |
| | | | |||||
| * | | Merge branch 'stable' | jfbu | 2017-03-12 | 1 | -19/+22 |
| |\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | Conflicts resolved: sphinx/domains/cpp.py sphinx/domains/python.py sphinx/texinputs/sphinx.sty sphinx/util/docfields.py sphinx/writers/latex.py tests/test_build_latex.py Also updated: sphinx/domains/__init__.py | ||||
| | * | Make docfield xref changes backwards compatible | Jakob Lykke Andersen | 2017-03-11 | 1 | -21/+22 |
| | | | |||||
| | * | Add callback on domains for xrefs from fields. | Jakob Lykke Andersen | 2017-03-08 | 1 | -15/+16 |
| | | | | | | | | | | | Fixes sphinx-doc/sphinx#2607. Fixes sphinx-doc/sphinx#2665. | ||||
| * | | Upgrade to mypy-0.5 | Takeshi KOMIYA | 2017-03-03 | 1 | -1/+1 |
| | | | |||||
| * | | Fix mypy violations | Takeshi KOMIYA | 2017-02-08 | 1 | -3/+4 |
| | | | |||||
| * | | Set 'document' attribute of new node in DocFieldTransformer | Henrik Alsing Friberg | 2017-01-19 | 1 | -0/+1 |
| | | | |||||
