ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Vitaly Ostanin <vyt@vzljot.ru>
To: ALT Devel discussion list <devel@altlinux.ru>
Subject: [devel] Re: проблема: документация и alternatives
Date: Wed, 12 May 2004 12:40:29 +0400
Message-ID: <40A1E2FD.1060808@vzljot.ru> (raw)
In-Reply-To: <20040512082756.GB2171@susanin.localdomain>

[-- Attachment #1: Type: text/plain, Size: 1381 bytes --]

Kirill Maslinsky пишет:
> Добрый день!
> 
> Я сейчас пытаюсь организовать гибкую модульную систему документации, 
> в частности, с использованием системы альтернатив. Однако  
> обнаружилась следующая неприятная особенность поведения
> пакетов alt-docs-main и alt-docs-junior:
> 
> Файл /usr/share/doc/alt-docs/distrib.html
> является альтернативой, указывающей на 
> /usr/share/doc/alt-docs-junior-0.1/index.html

Что имеется в виду под "альтернативой"? Symlink?

Не стоит ли всю документацию сложить в один подкаталог
/usr/share/doc/alt-docs/distrib.html (каталог и набор ссылок, 
принадлежащие базовому пакету с документацией - какой-нибудь 
alt-docs-base)
/usr/share/doc/alt-docs/junior-0.1/index.html
(дистрибутивная документация в пакете, где есть зависимость от 
alt-docs-base)
?

> Однако все ссылки при этом оказываются битыми, поскольку предполагают, 
> что текущий каталог /usr/share/doc/alt-docs-junior-0.1/, 
> а броузер считает текущим /usr/share/doc/alt-docs/. 
> 
> Может ли кто-нибудь посоветовать выход из этой ситуации, не предполагающий 
> указания в документации абсолютных ссылок и не предполагающий
> размещения всех файлов в одном каталоге?

Браузеру можно передавать путь через realpath.
Мало деталей. Как предполагается вызывать браузер?

PS Было бы удобнее видеть такие обсуждения в docs@.

-- 
Regards, Vyt
mailto:  vyt@vzljot.ru
JID:     vyt@vzljot.ru

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 252 bytes --]

      reply	other threads:[~2004-05-12  8:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-12  8:27 [devel] " Kirill Maslinsky
2004-05-12  8:40 ` Vitaly Ostanin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=40A1E2FD.1060808@vzljot.ru \
    --to=vyt@vzljot.ru \
    --cc=devel@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git