# HG changeset patch # User Martin Geisler # Date 2010-07-02 23:56:09 # Node ID 6bfb76cb8873152efc676a671683e22a89da6b2e # Parent 227b9f13db1315c7c71a7d4ca5c8fa52ba7909eb zeroconf: small fixes in docstring Use reST role for consistency, import small part of Debian's proposed_upstream__correct-zeroconf-doc patch from http://svn.debian.org/viewsvn/python-apps/packages/mercurial/trunk/debian/patches/ diff --git a/hgext/zeroconf/__init__.py b/hgext/zeroconf/__init__.py --- a/hgext/zeroconf/__init__.py +++ b/hgext/zeroconf/__init__.py @@ -7,17 +7,18 @@ '''discover and advertise repositories on the local network -Zeroconf enabled repositories will be announced in a network without +Zeroconf-enabled repositories will be announced in a network without the need to configure a server or a service. They can be discovered without knowing their actual IP address. -To allow other people to discover your repository using run "hg serve" -in your repository:: +To allow other people to discover your repository using run +:hg:`serve` in your repository:: $ cd test $ hg serve -You can discover zeroconf enabled repositories by running "hg paths":: +You can discover Zeroconf-enabled repositories by running +:hg:`paths`:: $ hg paths zc-test = http://example.com:8000/test