Gentoo Archives: gentoo-doc

From: "Jose Luis Rivero (YosWinK)" <yoswink@g.o>
To: gentoo-doc@l.g.o
Subject: Re: [gentoo-doc] Link to docs in ebuilds
Date: Wed, 19 Apr 2006 09:53:40
Message-Id: 444608DE.3020802@gentoo.org
In Reply to: Re: [gentoo-doc] Link to docs in ebuilds by Arun Raghavan
1 Arun Raghavan wrote:
2 > On 4/17/06, Jose Luis Rivero (YosWinK) <yoswink@g.o> wrote:
3 >
4 >>Shyam Mani wrote:
5 >>
6 >>>Arun Raghavan wrote:
7 >>>
8 >>>[snip]
9 >>>
10 >>>Yeah, Yoswink IIRC had a similar plan quite sometime back. Yoswink,
11 >>>would you please share the ideas/details? I'll try digging up IRC logs
12 >>>as well to see if I can come up with anything.
13 >>>
14 >>
15 >>( sorry about the delay, I was on holidays :D )
16 >>
17 >>Nah, the main idea was behind improving integration between docs and
18 >>ebuilds by replacing "einfo" doc related lines with an own "e-function"
19 >>for gdp info. Not sure if this could help in anyway but sure isn't the
20 >>solution.
21 >
22 >
23 > I like the mock-up -- it's what I meant. Basically, what I was saying
24 > is something like this: if the ebuild has a particular variable
25 > (RELATED_DOC, say) defined, the notification message like yours would
26 > be displayed. I tried to see if I could hack this up, but I couldn't
27 > figure out where I could plug it in. I think the change is rather
28 > trivial.
29 >
30
31 I wrote "edoc" function to be used inside ebuilds (same way as einfo,
32 ewarn, ...) when I made the mock-up. If you want to use it, feel free to
33 pick up the patch [1] and apply it to /sbin/functions.sh. I just rewrite
34 the patch few moments ago and it hasn't been tested but shouldn't eat
35 any of your files :)
36
37 The rest of your idea about "particular variable" need to hack emerge,
38 which is something I really want to avoid.
39
40 Wkr,
41
42 ------------------------------------------------
43 José Luis Rivero <yoswink @ gentoo .org>
44 Gentoo Doc / Gentoo Alpha
45
46 [1] http://dev.gentoo.org/~yoswink/tmp/edoc-funtions.sh.patch
47 --
48 gentoo-doc@g.o mailing list

Replies

Subject Author
Re: [gentoo-doc] Link to docs in ebuilds Arun Raghavan <arunisgod@×××××.com>