summaryrefslogtreecommitdiff
path: root/sphinx/util/cfamily.py
Commit message (Collapse)AuthorAgeFilesLines
* Expand the mypy whitelist for 'sphinx.util' (#11406)danieleades2023-05-121-3/+3
|
* Resolve ``flake8-return`` errorsAdam Turner2023-02-181-3/+2
|
* De-glob mypy whitelist for 'sphinx.domains.*' (#11064)danieleades2023-01-021-1/+1
| | | Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* Use ``re`` flagsAdam Turner2023-01-021-9/+9
|
* Run pyupgrade (#11070)Adam Turner2023-01-021-5/+5
|
* Use PEP 604 typesAdam Turner2023-01-011-3/+3
|
* Use PEP 595 typesAdam Turner2023-01-011-11/+11
|
* Insert ``from __future__ import annotations``Adam Turner2023-01-011-0/+2
|
* simplify dict key checks (SIM118)Daniel Eades2022-06-031-1/+1
|
* Merge branch '5.x' into fix-warningsAdam Turner2022-05-021-0/+33
|\ | | | | | | | | # Conflicts: # tests/test_search.py
| * C and C++, refactor attribute listsJakob Lykke Andersen2022-04-171-0/+33
| |
* | `rawsource` is deprecated in `docutils.nodes.Text`Adam Turner2022-04-221-4/+4
|/
* Merge pull request #10212 from AA-Turner/remove-module-docstring-titlesTakeshi KOMIYA2022-03-141-9/+1
|\ | | | | Remove module docstring titles
| * Collapse single line docstringsAdam Turner2022-02-201-2/+1
| |
| * Remove copyright and licence fieldsAdam Turner2022-02-201-3/+0
| |
| * Fix module docstring indentationAdam Turner2022-02-201-2/+2
| |
| * Fix module docstring first lineAdam Turner2022-02-201-2/+1
| |
| * Remove module titles in docstringsAdam Turner2022-02-191-3/+0
| |
* | Update sphinx/util/cfamily.pyJeremy Maitin-Shepard2022-03-111-3/+3
| | | | | | Co-authored-by: Jakob Lykke Andersen <jakobandersen@users.noreply.github.com>
* | Update sphinx/util/cfamily.pyJeremy Maitin-Shepard2022-03-111-1/+1
| | | | | | Co-authored-by: Jakob Lykke Andersen <jakobandersen@users.noreply.github.com>
* | [C++] Support attributes on class and union and improve formattingJeremy Maitin-Shepard2022-03-101-2/+4
|/
* A happy new year!Takeshi KOMIYA2022-01-011-1/+1
|
* Fix #9481: autosummary: some warnings contain non-existing filenamesTakeshi KOMIYA2021-07-251-1/+1
| | | | | | | | | | | | | | `SphinxDirective.get_source_info()` returns the pair of fullpath of source and current line number. But our logging module expects one of these: * A string consists of fullpath and current line number * A pair of docname and current line number To show correct location for warnings, this adds `get_location()` method that returns the former one. Note: This also modifies C/C++ domains.
* C++, C, support digit separators in literalsJakob Lykke Andersen2021-06-241-10/+11
|
* refactor: Use PEP-526 based variable annotation (sphinx.util)Takeshi KOMIYA2021-03-101-5/+5
|
* Merge branch '3.x'Takeshi KOMIYA2021-01-011-1/+1
|\
| * 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
* | Merge branch '3.x'Takeshi KOMIYA2020-11-121-3/+1
|\ \ | |/
| * Sort imports with isortFrançois Freitag2020-11-111-3/+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.
* | Merge branch '3.x'Takeshi KOMIYA2020-08-141-1/+1
|\ \ | |/
| * C and C++, parsing function attributesJakob Lykke Andersen2020-08-131-1/+1
| | | | | | | | Fixes sphinx-doc/sphinx#8114
* | Merge branch '3.x'Takeshi KOMIYA2020-07-241-1/+0
|\ \ | |/
| * Merge branch '3.1.x' into c_optimizationJakob Lykke Andersen2020-07-151-1/+0
| |\
| | * C, don't deepcopy as deep on handling enumeratorsJakob Lykke Andersen2020-07-141-1/+0
| | |
* | | Merge branch '3.x'Takeshi KOMIYA2020-07-051-9/+12
|\ \ \ | |/ /
| * | C,C++: support parameterized GNU style attributesJakob Lykke Andersen2020-06-201-9/+12
| |/ | | | | | | Fixes sphinx-doc/sphinx#7853
* | Merge branch '3.x'Takeshi KOMIYA2020-05-021-1/+13
|\ \ | |/
| * C++, parse expressions with user-defined literalsJakob Lykke Andersen2020-05-011-1/+13
| | | | | | | | Fixes sphinx-doc/sphinx#7294
* | Remove deprecated features marked as RemovedInSphinx40WarningTakeshi KOMIYA2020-04-291-20/+3
|/
* C++, semicolon, move it entirely to ASTDeclarationJakob Lykke Andersen2020-04-241-3/+7
|
* C, parse attributesJakob Lykke Andersen2020-04-131-1/+180
|
* C, C++, improve error messages.Jakob Lykke Andersen2020-03-241-4/+8
|
* Fix flake and mypy errorsJakob Lykke Andersen2020-03-171-0/+2
|
* Use logging.suppress_logging()Jakob Lykke Andersen2020-03-171-5/+2
|
* C and C++ domains, change to new loggingJakob Lykke Andersen2020-03-171-8/+12
| | | | Also add get_source_info() to SphinxDirective and SphinxRole
* C, improve type annotations with related refactoringJakob Lykke Andersen2020-03-161-1/+1
|
* C, flake and mypy fixes, rename attr in desc_signature_lineJakob Lykke Andersen2020-03-151-4/+4
|
* C, add expression parsing and expr roleJakob Lykke Andersen2020-03-151-0/+38
|
* C, initial rewriteJakob Lykke Andersen2020-03-151-0/+209