diff --git a/docs/urlutils.rst b/docs/urlutils.rst index 4832fe1..fcb12fc 100644 --- a/docs/urlutils.rst +++ b/docs/urlutils.rst @@ -53,10 +53,10 @@ The URL type .. note:: - As is the case for 80 for HTTP and 22 for SSH, many schemes have - default ports, and RFC 3986 states that when a URL's port is the - same as its scheme's default port, the port should not be - emitted:: + As is the case for 80 for HTTP and 22 for SSH, many schemes + have default ports, and `Section 3.2.3 of RFC 3986`_ states + that when a URL's port is the same as its scheme's default + port, the port should not be emitted:: >>> URL(u'https://github.com:443/mahmoud/boltons').to_text() u'https://github.com/mahmoud/boltons' @@ -65,6 +65,8 @@ The URL type :func:`~boltons.urlutils.register_scheme`. See :attr:`URL.default_port` for more info. + .. _Section 3.2.3 of RFC 3986:: https://tools.ietf.org/html/rfc3986#section-3.2.3 + .. attribute:: URL.path The string starting with the first leading slash after the