linux-doc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* How to cross-link to another document?
@ 2022-07-06 17:15 Matthew Wilcox
  2022-07-07  8:10 ` Akira Yokosawa
  0 siblings, 1 reply; 2+ messages in thread
From: Matthew Wilcox @ 2022-07-06 17:15 UTC (permalink / raw)
  To: linux-doc


I've tried several variants of this without success.  What's the
correct incantation?

+++ b/Documentation/core-api/idr.rst
@@ -17,6 +17,8 @@ solution to the problem to avoid everybody inventing their own.  The IDR
 provides the ability to map an ID to a pointer, while the IDA provides
 only ID allocation, and as a result is much more memory-efficient.

+The IDR interface is deprecated; please use the _`XArray` instead.
+
 IDR usage
 =========

+++ b/Documentation/core-api/xarray.rst
@@ -1,4 +1,5 @@
 .. SPDX-License-Identifier: GPL-2.0+
+.. XArray_

 ======
 XArray

I first tried "named reference, reStructuredText_;"
and then "_`inline internal target`" and I've tried both prefixing and
suffixing both destination and target with an underscore.  Nothing seems
to work and sometimes I get error messages telling me it won't work,
and sometimes I just get non-hyperlinks.

Do I have to do something like

	:ref:`Documentation/core-api/xarray.rst <XArray>`
?  That would seem unnecessarily verbose.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-07-07  8:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-06 17:15 How to cross-link to another document? Matthew Wilcox
2022-07-07  8:10 ` Akira Yokosawa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).