diff options
| author | Georg Brandl <georg@python.org> | 2010-05-30 12:11:52 +0200 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2010-05-30 12:11:52 +0200 |
| commit | d653dacea8d7a933a02dbf08ad1708255ad14630 (patch) | |
| tree | 499503f34149677d2e3b2b5b2696e1b4065adc9f /doc/markup/inline.rst | |
| parent | f713c87d438f3adb668c7190d1c29fe66282277f (diff) | |
| download | sphinx-d653dacea8d7a933a02dbf08ad1708255ad14630.tar.gz | |
Allow linking to tables just like figures with :ref:.
Diffstat (limited to 'doc/markup/inline.rst')
| -rw-r--r-- | doc/markup/inline.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/markup/inline.rst b/doc/markup/inline.rst index 4d4ebe24..bb1ed68e 100644 --- a/doc/markup/inline.rst +++ b/doc/markup/inline.rst @@ -83,6 +83,9 @@ Cross-referencing arbitrary locations a reference ``:ref:`my-figure``` would insert a reference to the figure with link text "Figure caption". + The same works for tables that are given an explicit caption using the + :dudir:`table` directive. + * Labels that aren't placed before a section title can still be referenced to, but you must give the link an explicit title, using this syntax: ``:ref:`Link title <label-name>```. |
