Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use PEP 595 types | Adam Turner | 2023-01-01 | 1 | -3/+3 |
| | |||||
* | Insert ``from __future__ import annotations`` | Adam Turner | 2023-01-01 | 1 | -0/+2 |
| | |||||
* | Factor out HTML 4 translator (#11051) | Adam Turner | 2022-12-30 | 1 | -3/+3 |
| | | | Move the HTML 4 translator into a private module. | ||||
* | remove blanket 'noqas' | Daniel Eades | 2022-12-16 | 1 | -1/+4 |
| | |||||
* | Improve static typing strictness (#10569) | danieleades | 2022-07-18 | 1 | -1/+1 |
| | |||||
* | Remove copyright and licence fields | Adam Turner | 2022-02-20 | 1 | -3/+0 |
| | |||||
* | Conform to PEP 257 summary line conventions | Adam Turner | 2022-02-20 | 1 | -3/+5 |
| | |||||
* | Fix module docstring indentation | Adam Turner | 2022-02-20 | 1 | -4/+4 |
| | |||||
* | Fix module docstring first line | Adam Turner | 2022-02-20 | 1 | -2/+1 |
| | |||||
* | Remove module titles in docstrings | Adam Turner | 2022-02-19 | 1 | -3/+0 |
| | |||||
* | A happy new year! | Takeshi KOMIYA | 2022-01-01 | 1 | -1/+1 |
| | |||||
* | Merge branch '4.3.x' into 4.x | Takeshi KOMIYA | 2021-11-23 | 1 | -2/+9 |
|\ | |||||
| * | Remove debug print | Takeshi KOMIYA | 2021-11-23 | 1 | -1/+0 |
| | | |||||
| * | Fix #9864: mathjax: Failed to render equations via MathJax v2 | Takeshi KOMIYA | 2021-11-21 | 1 | -2/+10 |
| | | | | | | | | | | | | | | | | | | MathJax library has been loaded via "defer" method since v4.3.0. But it prevents to work MathJax v2. This rollbacks the change and use "async" method as default again. To support changing the loading method, this allows to specify it via mathjax_options. | ||||
* | | Fix #9878: mathjax: MathJax config is placed after loading MathJax | Takeshi KOMIYA | 2021-11-22 | 1 | -5/+5 |
|/ | |||||
* | Close #9450: mathjax: Load MathJax via "defer" strategy | Takeshi KOMIYA | 2021-11-09 | 1 | -1/+1 |
| | | | | | To allow configure MathJax via static JS file, it should be loaded via "defer" strategy. | ||||
* | Rename variable to `html_assets_policy` | Manuel Kaufmann | 2021-06-14 | 1 | -1/+1 |
| | |||||
* | Add `Sphinx.add_html_assets_in_all_pages` | Manuel Kaufmann | 2021-05-06 | 1 | -1/+1 |
| | | | | | | | | | | | | | This new method in the `Sphinx` object allows extensions to communicate to Sphinx that it's preferred to include HTML assets in all the pages. However, it's extensions developers' responsability to follow this config and decide whether or not include the assets required. Extensions developers' can check `Sphinx.html_assets_in_all_pages` together with any other logic they may have to decide if the assets will be included in the rendered page or not. Closes #9115 | ||||
* | Add mathjax3_config config option | Matthias Geier | 2021-04-23 | 1 | -3/+14 |
| | |||||
* | Merge branch '3.x' | Takeshi KOMIYA | 2021-01-08 | 1 | -14/+12 |
|\ | |||||
| * | Close #6241: html: Allow to add JS/CSS files to the specific page | Takeshi KOMIYA | 2021-01-07 | 1 | -9/+7 |
| | | | | | | | | | | | | 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. | ||||
| * | refactor: mathjax: Add a constant for the URL of mathjax | Takeshi KOMIYA | 2021-01-04 | 1 | -5/+6 |
| | | |||||
* | | Merge branch '3.x' | Takeshi KOMIYA | 2021-01-01 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | 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 | ||||
* | | Merge branch '3.x' | Takeshi KOMIYA | 2020-11-12 | 1 | -2/+1 |
|\ \ | |/ | |||||
| * | Sort imports with isort | François Freitag | 2020-11-11 | 1 | -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. | ||||
* | | Move to MathJax 3. | Hameer Abbasi | 2020-07-15 | 1 | -2/+2 |
|/ | |||||
* | Update mathjax to version 2.7.7 | Ryan Soklaski | 2020-05-28 | 1 | -1/+1 |
| | | | | | There is a bug in latest.js in versions 2.7.5 and below; when the current version on the CDN is 3.0 or higher, latest.js will not use the highest version of 2.x, but instead will use the version from which latest.js has been taken. See the warning section on this page: http://docs.mathjax.org/en/latest/upgrading/v2.html This PR fixes that by pointing to 2.7.7, the latest version available on the CDN. | ||||
* | A happy new year! | Takeshi KOMIYA | 2020-01-01 | 1 | -1/+1 |
| | |||||
* | Migrate to py3 style type annotation: sphinx.ext.mathjax | Takeshi KOMIYA | 2019-07-01 | 1 | -15/+8 |
| | |||||
* | Merge pull request #5975 from sphinx-doc/5966_mathjax_not_loaded | Takeshi KOMIYA | 2019-01-22 | 1 | -1/+1 |
|\ | | | | | Fix #5966: mathjax has not been loaded on incremental build | ||||
| * | Fix #5966: mathjax has not been loaded on incremental build | Takeshi KOMIYA | 2019-01-21 | 1 | -1/+1 |
| | | |||||
* | | 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 branch '1.8' | Takeshi KOMIYA | 2018-12-18 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Use mathjax CDN "latest" URL by default | Michael Goerz | 2018-12-17 | 1 | -1/+1 |
| | | | | | | | | Closes #5725 | ||||
* | | 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. | ||||
* | | Replace all "unicode" type by "str" | Takeshi KOMIYA | 2018-12-15 | 1 | -2/+1 |
| | | |||||
* | | Fix annotaions for extensions | Takeshi KOMIYA | 2018-11-28 | 1 | -5/+10 |
| | | |||||
* | | Add sphinx.util.typing:unicode to help mypy-3 migration | Takeshi KOMIYA | 2018-11-24 | 1 | -0/+1 |
| | | |||||
* | | Fix typehints: sphinx.util.math | Takeshi KOMIYA | 2018-11-05 | 1 | -1/+2 |
|/ | |||||
* | Fix #5497: Do not include MathJax.js and jsmath.js unless it is really needed | Takeshi KOMIYA | 2018-10-17 | 1 | -6/+9 |
| | |||||
* | Merge pull request #5230 from tk0miya/726_mathjax_config | Takeshi KOMIYA | 2018-08-04 | 1 | -0/+7 |
|\ | | | | | #726, #969: Add mathjax_config | ||||
| * | WIP: #726, #969: Add mathjax_config | Takeshi KOMIYA | 2018-07-29 | 1 | -0/+7 |
| | | |||||
* | | Deprecate whole of sphinx.ext.mathbase | Takeshi KOMIYA | 2018-07-29 | 1 | -1/+1 |
|/ | |||||
* | Implement math_renderer framework | Takeshi KOMIYA | 2018-07-28 | 1 | -6/+6 |
| | |||||
* | Close #3784: mathjax: Add :confval:`mathjax_options` | Takeshi KOMIYA | 2018-06-13 | 1 | -1/+4 |
| | |||||
* | Fix mathjax is not loaded | Takeshi KOMIYA | 2018-06-13 | 1 | -2/+3 |
| | |||||
* | Fix #3606: MathJax should be loaded with async attribute | Takeshi KOMIYA | 2018-05-25 | 1 | -1/+2 |
| | |||||
* | Rename app.add_javascript() to add_js_file() | Takeshi KOMIYA | 2018-05-24 | 1 | -1/+1 |
| |