Re: Code examples

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Code examples
Дата
Msg-id 26291.1188922754@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Code examples  (Alvaro Herrera <alvherre@commandprompt.com>)
Ответы Re: Code examples  (Oleg Bartunov <oleg@sai.msu.su>)
Список pgsql-docs
Alvaro Herrera <alvherre@commandprompt.com> writes:
> Maybe we could set things up so that there are actual files which are
> programatically preprocessed to SGML to be included in the docs?  That
> way, the docs always reflect the actual file, which by itself is
> compilable.  The SGML source would only contain something like
> <include file="examples/foo.c" /> or something like that.

Well, if we have actual contrib modules (which is still a good idea
so that they get tested on a regular basis), I don't see any need to
copy the code into the docs at all.  The docs should just say "a working
example can be found in contrib/whatever".

            regards, tom lane

В списке pgsql-docs по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Code examples
Следующее
От: Oleg Bartunov
Дата:
Сообщение: Re: Code examples