mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Merged in tk0miya/sphinx (pull request #291)
Fix cannot capture title of literal_block node by xref
This commit is contained in:
@@ -142,6 +142,7 @@ Adding \n to test unescaping.
|
||||
* :ref:`here <some-label>`
|
||||
* :ref:`my-figure`
|
||||
* :ref:`my-table`
|
||||
* :ref:`my-code-block`
|
||||
* :doc:`subdir/includes`
|
||||
* ``:download:`` is tested in includes.txt
|
||||
* :option:`Python -c option <python -c>`
|
||||
@@ -228,8 +229,11 @@ Version markup
|
||||
Code blocks
|
||||
-----------
|
||||
|
||||
.. _my-code-block:
|
||||
|
||||
.. code-block:: ruby
|
||||
:linenos:
|
||||
:caption: my ruby code
|
||||
|
||||
def ruby?
|
||||
false
|
||||
|
||||
Reference in New Issue
Block a user