mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-09-03 20:52:55 -05:00
Fix #2931: code-block directive with same :caption: causes warning of duplicate target
This commit is contained in:
@@ -4,7 +4,7 @@ Caption
|
||||
References
|
||||
----------
|
||||
|
||||
See :numref:`caption *test* rb` and :numref:`caption **test** py`.
|
||||
See :numref:`name *test* rb` and :numref:`name **test** py`.
|
||||
|
||||
See :ref:`Ruby <name *test* rb>` and :ref:`Python <name **test** py>`.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user