From bdf85dd692d803b7b2fc793f1c7723f9874bfcdb Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Wed, 8 Oct 2025 18:58:28 -0700 Subject: Numerous link fixups - protocols now use xrefs.md properly. --- docs/ref/proto/pub.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/ref/proto/pub.md') diff --git a/docs/ref/proto/pub.md b/docs/ref/proto/pub.md index 55292f7a..40fccb24 100644 --- a/docs/ref/proto/pub.md +++ b/docs/ref/proto/pub.md @@ -22,9 +22,9 @@ Applications should construct their messages accordingly. ## Socket Operations -The [`nng_pub0_open`][nng_pub_open] functions create a publisher socket. +The [`nng_pub0_open`] function creates a publisher socket. This socket may be used to send messages, but is unable to receive them. -Attempts to receive messages will result in `NNG_ENOTSUP`. +Attempts to receive messages will result in [`NNG_ENOTSUP`]. ## Protocol Versions @@ -39,4 +39,4 @@ The _PUB_ protocol has no protocol-specific options. The _PUB_ protocol has no protocol-specific headers. -[nng_pub_open]: TODO.md +{{#include ../xref.md}} -- cgit v1.2.3-70-g09d2