summaryrefslogtreecommitdiff
path: root/sphinx/util/docfields.py
Commit message (Collapse)AuthorAgeFilesLines
...
* | Fix annotations for cpp domainTakeshi KOMIYA2018-12-041-1/+1
| |
* | Fix annotations for utilTakeshi KOMIYA2018-11-301-34/+43
| |
* | Fix annotations for minor methods and functionsTakeshi KOMIYA2018-11-301-3/+3
| |
* | Add sphinx.util.typing:unicode to help mypy-3 migrationTakeshi KOMIYA2018-11-241-0/+1
| |
* | Use super() to call parent class's methodJon Dufresne2018-11-111-2/+2
| |
* | Merge branch 'master' into HEADTakeshi KOMIYA2018-09-221-2/+4
|\ \ | |/
| * Merge branch '1.8' into 5426_TypeError_for_class_attributesTakeshi KOMIYA2018-09-221-1/+2
| |\
| | * Fix #5432: py domain: :type: field can't process :term: referencesTakeshi KOMIYA2018-09-221-1/+2
| | |
| * | Fix py domain: TypeError has been raised for class attribute (ref: #5426)Takeshi KOMIYA2018-09-221-1/+2
| |/
* | Remove unnecessary object from class definitionsJon Dufresne2018-09-111-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 KOMIYA2018-03-181-3/+2
|\
| * Revert "Use typing.TYPE_CHECKING for typehints"Takeshi KOMIYA2018-03-131-3/+2
| | | | | | | | This reverts commit a073e17537c2aacaac305feadea58d4473ec97f4.
* | Merge branch '1.7'Takeshi KOMIYA2018-02-181-2/+3
|\ \ | |/
| * Use typing.TYPE_CHECKING for typehintsTakeshi KOMIYA2018-02-141-2/+3
| |
* | Merge pull request #4047 from AWhetter/fix_2979_2Rob Ruana2018-02-031-6/+23
|\ \ | |/ |/| Properties can have types documented with :type:
| * Properties can have types documented with :type:Ashley Whetter2017-09-061-6/+23
| |
* | A happy new year!Takeshi KOMIYA2018-01-011-1/+1
|/
* Merge branch 'stable' into 1.6-releasejfbu2017-05-051-1/+2
|\
| * Fix #3685: AttributeError when using 3rd party domainsTakeshi KOMIYA2017-05-031-1/+2
| |
* | Merge branch 'stable'Takeshi KOMIYA2017-03-261-1/+1
|\ \ | |/
| * Year++Takeshi KOMIYA2017-03-261-1/+1
| |
* | Correct missing space before type annotationjfbu2017-03-121-4/+4
| |
* | Split some long type-checking annotation linesjfbu2017-03-121-12/+39
| |
* | Merge branch 'stable'jfbu2017-03-121-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 compatibleJakob Lykke Andersen2017-03-111-21/+22
| |
| * Add callback on domains for xrefs from fields.Jakob Lykke Andersen2017-03-081-15/+16
| | | | | | | | | | Fixes sphinx-doc/sphinx#2607. Fixes sphinx-doc/sphinx#2665.
* | Upgrade to mypy-0.5Takeshi KOMIYA2017-03-031-1/+1
| |
* | Fix mypy violationsTakeshi KOMIYA2017-02-081-3/+4
| |
* | Set 'document' attribute of new node in DocFieldTransformerHenrik Alsing Friberg2017-01-191-0/+1
| |
* | Add type-check annotations to sphinx.utilTakeshi KOMIYA2016-11-161-2/+21
|/
* Fix #2687: Uninstall sphinx directives and roles after buildTakeshi KOMIYA2016-09-211-0/+1
|
* Python domain can now link container types automaticallyAshley Whetter2016-08-031-10/+17
| | | | | | | Google types now greedily match the closing parenthesis. Also removed name from returns section in Google docstrings. Instead, everything before the colon is treated as the type.
* Obligatory copyright update.Georg Brandl2016-01-141-1/+1
|
* Refactor GroupedField.make_field()Takeshi KOMIYA2016-01-051-9/+3
|
* beautify collapsed grouped fieldMaximilian Köhl2016-01-051-1/+8
|
* Fixes #1915: Do not generate smart quotes in doc field type annotations.Georg Brandl2015-07-251-3/+4
|
* util: pep8 fixesGeorg Brandl2015-03-081-4/+4
|
* Merge branch 'stable'Georg Brandl2015-01-031-1/+1
|\
| * all: update copyrightGeorg Brandl2015-01-031-1/+1
| |
* | Closes #1623: Return types specified with ``:rtype:`` are now turned into ↵Georg Brandl2014-11-121-6/+17
| | | | | | | | links if possible.
* | merge with stableGeorg Brandl2014-03-021-3/+3
|\ \ | |/
| * Fix a change of pull request #96 that break ↵Takayuki Shimizukawa2014-03-021-3/+3
| | | | | | | | sphinx.util.docfields.Field.make_field interface/behavior for `item` argument usage. Closes #1367
* | Update copyright year.Georg Brandl2014-03-011-1/+1
|\ \ | |/
| * Update copyright year.Georg Brandl2014-03-011-1/+1
| |
* | Fix formattingDmitry Shachnev2014-01-221-1/+1
| |
* | Modernize the code now that Python 2.5 is no longer supportedDmitry Shachnev2014-01-191-4/+2
| | | | | | | | | | | | | | | | | | | | | | - Use print function instead of print statement; - Use new exception handling; - Use in operator instead of has_key(); - Do not use tuple arguments in functions; - Other miscellaneous improvements. This is based on output of `futurize --stage1`, with some manual corrections.
* | Closes #1174: Fix smart quotes being applied inside roles like ↵Georg Brandl2014-01-121-2/+4
|/ | | | :rst:role:`program` or :rst:role:`makevar`.
* Small code style fix.Georg Brandl2013-09-161-1/+1
|
* Fix #1203: Does not append space to unknown field names.Rob Ruana2013-06-231-1/+3
| | | | | | | If an unknown field name is encountered, a space is only appended if the field arguments are not empty. Also, only the first character of the field name is upper cased, and the case of the rest of the string remains unchanged.
* use ``nodes.inline`` with a "translatable" attr insteadNozomu Kaneko2013-01-131-2/+2
|