wiki page hierarchy

1 view
Skip to first unread message

Roger Oberholtzer

unread,
Jul 3, 2009, 9:19:30 AM7/3/09
to trac-...@googlegroups.com

This is a variation on a question I asked a while back. It is not the
same question.

In the trac wiki, I can enter a name like wiki/page/subpage and this
page/subpage will be created. Is it the case that I cannot import pages
this way via the trac-admin command? I know how to import pages in a
directory, and that works fine. But it seems that sub-directories are
not imported. Is this correct/expected behavior? I have some hundreds of
pages that will be generated automatically and [[Include]] in various
wiki pages. I want to put them in a make like page/subpage.

Have I missed the obvious?


Erik Bray

unread,
Jul 6, 2009, 12:13:18 PM7/6/09
to trac-...@googlegroups.com

This functionality isn't built in as far as I know. But I recall a
while back that we implemented some version of this. I should go find
that and maybe upstream the patch...

Roger Oberholtzer

unread,
Jul 6, 2009, 2:00:56 PM7/6/09
to trac-...@googlegroups.com
On Jul 6, 2009, at 6:13 PM, Erik Bray wrote:

> This functionality isn't built in as far as I know. But I recall a
> while back that we implemented some version of this. I should go find
> that and maybe upstream the patch...

That would be great. It would help my mix of human-maintained docs and
computer generated docs in the wiki.

--

Roger Oberholtzer

OPQ Systems / Ramböll RST

Ramböll Sverige AB
Kapellgränd 7
P.O. Box 4205
SE-102 65 Stockholm, Sweden

Office: Int +46 8-615 60 20
Mobile: Int +46 70-815 1696

Иван Бессарабов

unread,
Jul 6, 2009, 2:09:48 PM7/6/09
to trac-...@googlegroups.com
How are you generating docs automaticly?

2009/7/6 Roger Oberholtzer <roger.ob...@gmail.com>:
--
bessarabov

Roger Oberholtzer

unread,
Jul 6, 2009, 2:22:21 PM7/6/09
to trac-...@googlegroups.com

On Jul 6, 2009, at 8:09 PM, Иван Бессарабов wrote:

>
> How are you generating docs automaticly?

These are for docs that are intended to be user docs. Various programs
can generate their options, build info (things like svn info) and the
like. A script generates all the pages. I use trac-admin to read them
all in. These are often [[Include]] in user-maintained docs that
expand on the information. One nice thing about importing wiki pages
from a directory into trac is that trac tells which have changed.
Which is where [[RecentChnages]] fits in. We just look at the changes
and it reminds us where to update the docs. The thing is, there are
hundreds of these pages. So, a hierarchy helps keep order, and makes
naming/grouping much easier. Thus my question.

For program docs, we have been fiddling with Natural Docs. It does a
pretty good job at generating docs and cross references. We have not
taken the plunge yet. I do not know if these docs would need to be in
a trac wiki, as Natural Docs makes full systems of pages. Of course,
if it made trac wiki pages, we would have a nice consistent look and
feel.

--
Roger Oberholtzer

bessarabov

unread,
Jul 6, 2009, 11:02:35 PM7/6/09
to trac-...@googlegroups.com, Roger Oberholtzer


--
bessarabov

06.07.2009, в 22:22, Roger Oberholtzer <roger.ob...@gmail.com>
написал(а):

Roger Oberholtzer

unread,
Aug 31, 2009, 1:01:31 PM8/31/09
to trac-...@googlegroups.com


I would like to persue this as a possible future feature. Erik, did you
find a patch? Or should it be added as a ticket on the trac site? I have
asked here first so I do not add a ticket for something that is only my
own misunderstanding.

In fact, I do not need the wiki page import to follow sub-directories
recursively. I could also be happy with importing a directory and
telling that the whole directory should go in some 'subdirectory' in the
trac wiki. I'm flexible.


--
Roger Oberholtzer

Erik Bray

unread,
Sep 2, 2009, 12:47:24 PM9/2/09
to trac-...@googlegroups.com

Sounds like it would be worth making a ticket for, if there isn't
already one (there may be, but not that I know of). I'll see if I
already have some of this functionality implemented somewhere.

Reply all
Reply to author
Forward
0 new messages