Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Allow multi-line object description signatures (#11011) | TLouf | 2023-05-11 | 1 | -9/+75 |
| | | | | | Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com> Co-authored-by: Jean-François B <2589111+jfbu@users.noreply.github.com> Co-authored-by: TLouf <loufthomas@gmail.com> | ||||
* | Fix pytest style issues | Adam Turner | 2023-02-18 | 1 | -1/+1 |
| | |||||
* | Fix COM812 | Adam Turner | 2023-02-18 | 1 | -1/+1 |
| | |||||
* | Resolve Ruff SIM114 violations | Adam Turner | 2023-02-15 | 1 | -5/+4 |
| | |||||
* | Undo parallel image changes | Adam Turner | 2023-01-10 | 1 | -3/+3 |
| | |||||
* | Make MyPy happy | Adam Turner | 2023-01-02 | 1 | -3/+3 |
| | |||||
* | Run pyupgrade (#11070) | Adam Turner | 2023-01-02 | 1 | -5/+5 |
| | |||||
* | Use PEP 604 types | Adam Turner | 2023-01-01 | 1 | -3/+3 |
| | |||||
* | 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 |
| | |||||
* | remove blanket 'noqas' | Daniel Eades | 2022-12-16 | 1 | -2/+4 |
| | |||||
* | Update typing ignores for mypy 0.990 | Adam Turner | 2022-11-13 | 1 | -2/+2 |
| | |||||
* | Revert ``html_codeblock_linenos_style`` removal (#10922) | Adam Turner | 2022-10-16 | 1 | -1/+4 |
| | |||||
* | Merge branch '5.x' | Adam Turner | 2022-10-16 | 1 | -1/+1 |
|\ | | | | | | | | | | | | | | | # Conflicts: # .github/workflows/main.yml # CHANGES # sphinx/__init__.py # sphinx/domains/c.py | ||||
| * | URI-escape image filenames (#10268) | Eric Wieser | 2022-10-13 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | Without this change, local images with `#` in their name result in incorrect URLs There is already a similar call to `urllib.parse.quote` for file downloads, suggesting this is a sensible approach. Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Takeshi KOMIYA <i.tkomiya@gmail.com> | ||||
* | | Merge branch '5.x' | Adam Turner | 2022-09-23 | 1 | -2/+2 |
|\ \ | |/ | | | | | | | | | # Conflicts: # setup.py # sphinx/__init__.py | ||||
| * | Shrink strict optional whitelist (HTML writers) (#10838) | danieleades | 2022-09-20 | 1 | -2/+2 |
| | | |||||
| * | Improve static typing strictness (#10569) | danieleades | 2022-07-18 | 1 | -2/+2 |
| | | |||||
* | | Remove deprecated items for Sphinx 6.0 (#10471) | Adam Turner | 2022-06-16 | 1 | -33/+1 |
|/ | |||||
* | Merge branch '4.x' into 5.x | Takeshi KOMIYA | 2022-05-06 | 1 | -1/+16 |
|\ | |||||
| * | Merge pull request #10251 from jbms/fix-inline-syntax-highlight | Takeshi KOMIYA | 2022-05-06 | 1 | -1/+16 |
| |\ | | | | | | | Make code role highlighting consistent with code-block directive | ||||
| | * | Make code role highlighting consistent with code-block directive | Jeremy Maitin-Shepard | 2022-03-19 | 1 | -1/+16 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes https://github.com/sphinx-doc/sphinx/issues/5157 This is factored out of the sphinx-immaterial theme: https://github.com/jbms/sphinx-immaterial/blob/1ef121a612d4f5afc2a9ca9c4e3f20fca89065e8/sphinx_immaterial/inlinesyntaxhighlight.py#L1 See also: https://github.com/sphinx-doc/sphinx/pull/6916 | ||||
* | | | Merge branch '4.x' | Takeshi KOMIYA | 2022-03-19 | 1 | -9/+1 |
|\ \ \ | |/ / | |||||
| * | | Collapse single line docstrings | Adam Turner | 2022-02-20 | 1 | -2/+1 |
| | | | |||||
| * | | Remove copyright and licence fields | Adam Turner | 2022-02-20 | 1 | -3/+0 |
| | | | |||||
| * | | Fix module docstring indentation | Adam Turner | 2022-02-20 | 1 | -2/+2 |
| | | | |||||
| * | | 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 |
| |/ | |||||
* | | Merge commit '07110b7557a552ecfe702bdd6a2d2f9685cb1af9' | Takeshi KOMIYA | 2022-02-14 | 1 | -1/+4 |
|\ \ | |/ | |||||
| * | Fix #10121: html: <div> tag for admonition is not closed w/ docutils-0.18 | Takeshi KOMIYA | 2022-01-26 | 1 | -1/+4 |
| | | | | | | | | | | | | | | | | Since v0.18, docutils has output <aside> tag to represent admonitions. On the other hand, our custom HTML Writer overrides the handler for admonition nodes halfly. As a result, the opening and closing tags become mismatched. This fully overrides the handler to use <div> tag to represent admonitions. | ||||
* | | Change "Permalink to this {headline -> heading}" | Pradyun Gedam | 2022-01-02 | 1 | -2/+2 |
| | | | | | | | | | | "heading" is a better word to use in this tooltip, since it better matches the use case. | ||||
* | | Merge branch '4.x' | Takeshi KOMIYA | 2022-01-01 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Merge branch '4.3.x' into 4.x | Takeshi KOMIYA | 2022-01-01 | 1 | -1/+1 |
| |\ | |||||
| | * | A happy new year! | Takeshi KOMIYA | 2022-01-01 | 1 | -1/+1 |
| | | | |||||
* | | | Merge branch '4.x' | Takeshi KOMIYA | 2022-01-01 | 1 | -3/+0 |
|\ \ \ | |/ / | |||||
| * | | drop translator-specific unknown_visit calls | James Knight | 2021-12-05 | 1 | -3/+0 |
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removes the need for various translators from raising a `NotImplementedError` exception when missing support for a specific node type. docutils will already raise [1][2] a `NotImplementedError` exception for these cases. This help reduce the implementation inside Sphinx as well as prevents the possible undesired replication of unknown-node handling with third-party extensions [3]. In most cases, generating a warning message for an unsupported node type can be preferred. Providing an indication that a node is not supported can be easier for a user of Sphinx to understand a limitation of a builder over a generic "not implemented" exception. This commit takes the logging call which is already used by `texinfo` and applies it to the `SphinxTranslator` base class -- which any Sphinx translator implementation can use. [1]: https://repo.or.cz/docutils.git/blob/d169015ee0f412cffd69b33654d8a119d99bc0f3:/docutils/nodes.py#l2048 [2]: https://repo.or.cz/docutils.git/blob/53716a13b48128af6045139d3cd2909f61e7ed8e:/docutils/nodes.py#l1897 [3]: https://github.com/sphinx-doc/sphinx/issues/9921 Signed-off-by: James Knight <james.d.knight@live.com> | ||||
* | | refactor: Remove RemovedInSphinx50Warning (partially) | Takeshi KOMIYA | 2021-12-17 | 1 | -7/+1 |
|/ | |||||
* | Fix a mypy warning | Takeshi KOMIYA | 2021-11-23 | 1 | -2/+2 |
| | |||||
* | BUG: prevent automatic inline conversion by class | Evan Bolyen | 2021-11-22 | 1 | -0/+4 |
| | |||||
* | Fix #9710: html: Wrong styles for even/odd rows in nested tables | Takeshi KOMIYA | 2021-10-09 | 1 | -8/+28 |
| | |||||
* | Fix local file download by encoding URL | Johannes Aalto | 2021-09-24 | 1 | -1/+3 |
| | | | | | | | | | | | | | Properly encode links to files with special characters for the user to actually be able to download them. The issue still remains for image files but the logic path is quite different than with other files fix might involve changes to docutils. Fixes sphinx-doc/sphinx#3097 Signed-off-by: Johannes Aalto <ext-johannes.aalto@vaisala.com> | ||||
* | Typo fix in sphinx.writers.html5 docstring | Louis Maddox | 2021-07-18 | 1 | -1/+1 |
| | |||||
* | Merge pull request #9225 from doerwalter/typehint-html | Takeshi KOMIYA | 2021-07-11 | 1 | -2/+4 |
|\ | | | | | Add HTML markup to method/function return typehint | ||||
| * | Remove configuration option html_signaturereturn_icon. | Walter Doerwald | 2021-06-14 | 1 | -3/+3 |
| | | |||||
| * | Add configuration option html_signaturereturn_icon for the arrow before a ↵ | Walter Doerwald | 2021-05-16 | 1 | -1/+3 |
| | | | | | | | | return type hint. | ||||
| * | Rename CSS classes for return type hint HTML markup. | Walter Doerwald | 2021-05-16 | 1 | -2/+2 |
| | | | | | | | | | | | | | | Wrap the complete type hint in a additional <span> to enable showing the typehint as a popup on hover. Port changes to sphinx/writers/html.py. | ||||
| * | Add HTML markup to the return type hint. | Walter Doerwald | 2021-05-16 | 1 | -2/+2 |
| | | |||||
* | | Provide more semantic structure for screen-readers | Joe Nelson | 2021-06-17 | 1 | -1/+1 |
|/ | | | | https://www.w3.org/WAI/WCAG21/Techniques/aria/ARIA12 | ||||
* | Decl styling, consistent monospace | Jakob Lykke Andersen | 2021-04-12 | 1 | -4/+4 |
| | |||||
* | Decl styling, make desc_inline node | Jakob Lykke Andersen | 2021-04-12 | 1 | -0/+6 |
| | | | | Use the new node for cpp:expr |