From owner-freebsd-doc Tue Apr 3 18:25:56 2001 Delivered-To: freebsd-doc@freebsd.org Received: from bazooka.unixfreak.org (bazooka.unixfreak.org [63.198.170.138]) by hub.freebsd.org (Postfix) with ESMTP id 473F537B71C; Tue, 3 Apr 2001 18:25:54 -0700 (PDT) (envelope-from dima@unixfreak.org) Received: from spike.unixfreak.org (spike [63.198.170.139]) by bazooka.unixfreak.org (Postfix) with ESMTP id 11C423E09; Tue, 3 Apr 2001 18:25:54 -0700 (PDT) To: doc@freebsd.org Cc: nik@freebsd.org Subject: Proper way to make relative links to other docs Date: Tue, 03 Apr 2001 18:25:53 -0700 From: Dima Dorfman Message-Id: <20010404012554.11C423E09@bazooka.unixfreak.org> Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi -doc, What's the proper way to link from one document to another? The FAQ and Handbook generally refer to each other using "../". This works both ways, and for all kinds of directory structures/layouts. What's the correct way to link from, say, the PPP primer to the Handbook, though? With the "/docs/en/books/whatever" layout, "../" still works; that layout doesn't seem to be used, though (it's still on www.freebsd.org, but the current Makefile in www/en doesn't update it). It doesn't work for the case where the ppp-primer is tutorials/ppp, though; using "../../" seems evil, since that will break for just about any other layout. Suggestions? Dima Dorfman dima@unixfreak.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message