mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-11-02 20:30:30 -06:00
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:
7 files changed
+55
-6
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user