summaryrefslogtreecommitdiff
path: root/sphinx/domains/math.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix COM812Adam Turner2023-02-181-2/+2
|
* De-glob mypy whitelist for 'sphinx.domains.*' (#11064)danieleades2023-01-021-7/+8
| | | Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* Run pyupgrade (#11070)Adam Turner2023-01-021-3/+3
|
* Use PEP 604 typesAdam Turner2023-01-011-2/+2
|
* Use PEP 595 typesAdam Turner2023-01-011-8/+8
|
* Insert ``from __future__ import annotations``Adam Turner2023-01-011-0/+2
|
* 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
|
* address some unused loop control variables (B007)Daniel Eades2022-01-121-1/+1
|
* Migrate to Node.findall() from Node.traverse()Takeshi KOMIYA2022-01-031-1/+1
| | | | | | | | Node.traverse() was marked as deprecated since docutils-0.18. Instead of it, Node.findall() has been added as successor of traverse(). This applies a patch to docutils-0.17 or older to be available Node.findall() and use it.
* A happy new year!Takeshi KOMIYA2022-01-011-1/+1
|
* refactor: Add Optional to type annotationsTakeshi KOMIYA2021-05-101-2/+2
|
* refactor: Use PEP-526 based variable annotation (sphinx.domains)Takeshi KOMIYA2021-03-231-2/+2
|
* Merge branch '3.x'Takeshi KOMIYA2021-01-081-2/+5
|\
| * Close #6241: html: Allow to add JS/CSS files to the specific pageTakeshi KOMIYA2021-01-071-2/+5
| | | | | | | | | | | | Allow to add JS/CSS files to the specific page when an extension calls `app.add_js_file()` or `app.add_css_file()` on `html-page-context` event.
* | 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
* | Do isortTakeshi KOMIYA2020-11-121-2/+1
| |
* | Merge branch '3.x'Takeshi KOMIYA2020-11-121-2/+1
|\ \ | |/
| * Sort imports with isortFrançois Freitag2020-11-111-2/+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.
| * Add stacklevel parameter to warnings.warn() callTakeshi KOMIYA2020-05-031-2/+2
| |
* | Remove deprecated features marked as RemovedInSphinx40WarningTakeshi KOMIYA2020-04-291-20/+0
| |
* | Hello TYPE_CHECKING!Takeshi KOMIYA2020-03-071-2/+2
|/
* Merge branch '2.0'Takeshi KOMIYA2020-01-011-1/+1
|\
| * A happy new year!Takeshi KOMIYA2020-01-011-1/+1
| |
* | Merge branch '2.0'Takeshi KOMIYA2019-06-301-35/+28
|\ \ | |/
| * Migrate to py3 style type annotation: sphinx.domains.mathTakeshi KOMIYA2019-06-301-35/+28
| |
* | Merge branch '2.0'Takeshi KOMIYA2019-06-211-14/+44
|\ \ | |/
| * refactor: Add data accessors to MathDomainTakeshi KOMIYA2019-06-151-14/+44
| |
* | Drop features and APIs deprecated in 1.8Takeshi KOMIYA2019-03-301-2/+0
|/
* Clean up import for annotationsTakeshi KOMIYA2019-03-061-1/+1
|
* 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-10/+9
| |
* | Fix annotations of resolve_nodesTakeshi KOMIYA2018-12-031-1/+1
| |
* | Fix annotations for domainsTakeshi KOMIYA2018-11-301-4/+4
| |
* | Merge pull request #5665 from tk0miya/fix_typehintsTakeshi KOMIYA2018-11-261-0/+1
|\ \ | | | | | | Add sphinx.util.typing:unicode to help mypy-3 migration
| * | Add sphinx.util.typing:unicode to help mypy-3 migrationTakeshi KOMIYA2018-11-241-0/+1
| | |
* | | Fix annotations for Domain.resolve_xref()Takeshi KOMIYA2018-11-241-2/+3
| | |
* | | Fix annotations for Domain.process_doc()Takeshi KOMIYA2018-11-241-1/+2
|/ /
* | Fix typehints: sphinx.domainsTakeshi KOMIYA2018-11-061-3/+2
|/
* Fix #5497: Do not include MathJax.js and jsmath.js unless it is really neededTakeshi KOMIYA2018-10-171-1/+18
|
* Add :rst:role:`math:numref` role to refer equations (Same as :rst:role:`eq`)Takeshi KOMIYA2018-08-021-2/+6
|
* refactor: Move math_reference node to sphinx.builders.latex.nodesTakeshi KOMIYA2018-05-201-24/+18
| | | | | The node is only used in latex builder. So this makes it builder- specific node.
* Enable eq role by defaultTakeshi KOMIYA2018-05-171-3/+11
|
* Move MathDomain to sphinx.domains.mathTakeshi KOMIYA2018-05-171-0/+130