Merge pull request #7062 from tk0miya/7032_no-scaled_link

Close #7032: html_scaled_image_link is disabled for individual image
This commit is contained in:
Takeshi KOMIYA authored and GitHub committed 2020-02-22 17:38:04 +09:00
commit 8987f3c031
7 files changed
+55 -6

No files matched your search

+13
View File
@@ -1357,8 +1357,21 @@ that use Sphinx's HTMLWriter class.
'target' option or scale related options: 'scale', 'width', 'height'.
The default is ``True``.
Document authors can this feature manually with giving ``no-scaled-link``
class to the image:
.. code-block:: rst
.. image:: sphinx.png
:scale: 50%
:class: no-scaled-link
.. versionadded:: 1.3
.. versionchanged:: 2.4
It is disabled for images having ``no-scaled-link`` class
.. confval:: html_math_renderer
The name of math_renderer extension for HTML output. The default is