Commit graph

7 commits

Author SHA1 Message Date
Denis Peplin
2f69cd65ee Add design-44bsd to books 2004-08-05 09:23:32 +00:00
Hiroki Sato
502ec06ad3 Add &url.main; again temporarily to unbreak the build. 2004-08-01 15:56:36 +00:00
Hiroki Sato
ddd742a0b2 Add entities &url.articles.*; and &url.books.*;. These can be used
in <ulink> like <ulink url="&url.books.handbook;/kernelconfig.html"></ulink>.

To use these entities, put the following lines in preamble (DOCTYPE
declaration) of the document:

<!ENTITY % l10n.ent PUBLIC "-//FreeBSD//ENTITIES DocBook Language Specific Entities//EN">
%l10n.ent;
<!ENTITY % urls.ent PUBLIC "-//FreeBSD//ENTITIES DocBook URL Entities//EN">
%urls.ent;

and put URL_RELPREFIX in the Makefile.

For translation teams:
  please add your "langcode" into <langcode>/share/sgml/l10n.ent using
  examples from en_US.ISO8859-1/share/sgml/l10n.ent and ja_JP.eucJP/share/
  sgml/l10n.ent.  &url.books.*; will be replaced with URLs for your
  language; if you want URLs which point the original (English) docs,
  you can use &url.books.*.en; instead.

Discussed with:	den
2004-07-26 15:28:32 +00:00
Hiroki Sato
a13b50e98b Unbreak the build.
Pointy hat to:	hrs
2004-07-07 11:23:16 +00:00
Denis Peplin
b019193729 Apply workaround to fix the build
I'm forgot to test build/install from www

Pointy hat:	den
2004-07-07 08:13:49 +00:00
Hiroki Sato
84f8ee0a15 Use relative URLs when URL_RELPREFIX is defined and URLS_ABSOLUTE
is not defined.

- URL_RELPREFIX must always point the top page's URL
  (http://www.FreeBSD.org) in relative form, defined in Makefile.

- &url.base; can be used in doc/<langcode>/*.  It will be
  replaced with the real URL which points the top page.

For translators: Please make sure to define URL_RELPREFIX to
point the top page.  The localized docs have different directory
hierarchy in its URL from the English version.

Tested by:	den
2004-07-06 15:09:55 +00:00
Hiroki Sato
413af34cb6 Reimplement absolute/relative URL knob. Urls.ent now statically
includes the both of relative and absolute URLs, and when
the URLS_ABSOLUTE make variable is defined, absolute URLs in
share/sgml/urls.ent are used.
2004-05-11 10:59:48 +00:00