To announce your document, click Share at the bottom of the editor to reveal the Share banner. At this point, your document is able to receive connections, but is not announced on the local network with Bonjour.
To announce your document on the local network with Bonjour, click Bonjour in the Share banner.
Click Bonjour again to "un-announce" your document from the local network.
Click Share again to hide the Share banner and disable sharing for this document.