I would like to see a "Keywords" index in GRASS 7 which lists *all*
keywords alphabetically along with the related modules, like (with
clickable links of course):
I would like to see a “Keywords” index in GRASS 7 which lists all
keywords alphabetically along with the related modules, like (with
clickable links of course):
I would like to see a "Keywords" index in GRASS 7 which lists *all*
keywords alphabetically along with the related modules, like (with
clickable links of course):
I would like to see a "Keywords" index in GRASS 7 which lists *all*
keywords alphabetically along with the related modules, like (with
clickable links of course):
So, the script needs to scan all modules for their keywords and then
create a page which relates the keywords to module names.
Hope this clarifies the idea. At time we cannot easily look up which
modules offer a certain functionality.
So, the script needs to scan all modules for their keywords
and then create a page which relates the keywords to module
names.
Hope this clarifies the idea. At time we cannot easily look
up which modules offer a certain functionality.
sounds like a job for a sqlite db. (see e.g. tools/sql.sh)
[please can we rename "sql.sh" to something more informative?]
So, the script needs to scan all modules for their keywords and then
create a page which relates the keywords to module names.
Hope this clarifies the idea. At time we cannot easily look up which
modules offer a certain functionality.
I just upload (r55313) the new script (build_keywors.py) to create the
page. This page (keywords.html) actually is not linked in any pages of
documentation but you can see it with the direct link (you can also
find it in (dist.*/docs/html/keywords.html)
At this point I think we should replace topics.html page with this
new, what do you think?
At this point I think we should replace topics.html page with this
new, what do you think?
Maybe, maybe not.. the scope is a bit different.
What do the others think?
I haven't followed this close enough, but could someone explain the difference between the two ? And why (as an example) r.kappa should be in the classification as keyword list and not in the classification as topic list ?
AFAICS both use the keywords section in the html man pages as source.
Just trying to understand why we would need the two which might confuse people, especially if the difference is not only presentation, but also content.
And why (as an example) r.kappa should be in
the classification as keyword list and not in the classification as topic
list ?
1) The raster/vector/... pages depend on the *first* keyword.
2) The topics.html page(s) depends *only* on the second keyword.
3) The new keywords.html shows *all* keywords.
Except for the major (blacklisted) ones such as raster, vector, display, etc.
So, the main difference is how many keywords are used. I still believe that one such page should be enough (and more will create confusion), and I think keywords.html is the way to go (more complete, easy to use). But if others see a use in topics.html, I won't make a fight of it
Thinking about the style of keywords.html page, I discovered that the
h2 and h3 have the same font-size in CSS [1]. Is it an intention?
And about the style itself. I would suggest to use description (dl)
instead of bullet list. The change in code is small but I don't want
to do it without asking others.
And why (as an example) r.kappa should be in
the classification as keyword list and not in the classification as topic
list ?
1) The raster/vector/... pages depend on the *first* keyword.
2) The topics.html page(s) depends *only* on the second keyword.
3) The new keywords.html shows *all* keywords.
Except for the major (blacklisted) ones such as raster, vector, display,
etc.
So, the main difference is how many keywords are used. I still believe that
one such page should be enough (and more will create confusion), and I think
keywords.html is the way to go (more complete, easy to use). But if others
see a use in topics.html, I won't make a fight of it
On Tue, Mar 12, 2013 at 6:58 PM, Vaclav Petras <wenzeslaus@gmail.com> wrote:
Thinking about the style of keywords.html page, I discovered that the
h2 and h3 have the same font-size in CSS [1]. Is it an intention?
I darkly remember that a font smaller than "medium" (used for h4) seems
to be too small, so h3 and h4 were made the same.
Suggestions are welcome.
And about the style itself. I would suggest to use description (dl)
instead of bullet list. The change in code is small but I don't want
to do it without asking others.
On 12 March 2013 19:45, Markus Neteler <neteler@osgeo.org> wrote:
On Tue, Mar 12, 2013 at 6:58 PM, Vaclav Petras <wenzeslaus@gmail.com> wrote:
Thinking about the style of keywords.html page, I discovered that the
h2 and h3 have the same font-size in CSS [1]. Is it an intention?
I darkly remember that a font smaller than "medium" (used for h4) seems
to be too small, so h3 and h4 were made the same.
Suggestions are welcome.
Hm, for me after deleting font-size setting the page looks good. h2 is
bigger than now, h3 is the same as h2 and h3 now. h2 on module page
are uppercased, so they may look bit more important by itself. This
was maybe the reason for setting the same sizes. I tried to set sizes
and get the same result (same sizes). I'm not satisfied but I don't
know what to do.
And about the style itself. I would suggest to use description (dl)
instead of bullet list. The change in code is small but I don't want
to do it without asking others.
Can you give an example of improvement?
It would be the same as the Flags section at module page (the flag
description is <dl>). It would be cleaner than the current state -- no
bullets, no double colons. The keyword would be bold (<b>) on separate
line and the list of modules would be on the other line.
On Tue, Mar 12, 2013 at 8:34 PM, Vaclav Petras <wenzeslaus@gmail.com> wrote:
On 12 March 2013 19:45, Markus Neteler <neteler@osgeo.org> wrote:
On Tue, Mar 12, 2013 at 6:58 PM, Vaclav Petras <wenzeslaus@gmail.com> wrote:
Thinking about the style of keywords.html page, I discovered that the
h2 and h3 have the same font-size in CSS [1]. Is it an intention?
I darkly remember that a font smaller than "medium" (used for h4) seems
to be too small, so h3 and h4 were made the same.
Suggestions are welcome.
Hm, for me after deleting font-size setting the page looks good. h2 is
bigger than now, h3 is the same as h2 and h3 now. h2 on module page
are uppercased, so they may look bit more important by itself. This
was maybe the reason for setting the same sizes. I tried to set sizes
and get the same result (same sizes). I'm not satisfied but I don't
know what to do.
@all:
For fun I have deleted the size definitions on the server. You can
reload the manual to see the effect as suggested by Vaclav.
Next Saturday it will be overwritten unless changes are committed
to SVN.
And about the style itself. I would suggest to use description (dl)
instead of bullet list. The change in code is small but I don't want
to do it without asking others.
Can you give an example of improvement?
It would be the same as the Flags section at module page (the flag
description is <dl>). It would be cleaner than the current state -- no
bullets, no double colons. The keyword would be bold (<b>) on separate
line and the list of modules would be on the other line.
Sounds good to me.
Perhaps, to not mess up the other pages, have some special
keywords style? Could also go into the page header itself.
On Tue, Mar 12, 2013 at 8:49 PM, Markus Neteler <neteler@osgeo.org> wrote:
On Tue, Mar 12, 2013 at 8:34 PM, Vaclav Petras <wenzeslaus@gmail.com> wrote:
On 12 March 2013 19:45, Markus Neteler <neteler@osgeo.org> wrote:
On Tue, Mar 12, 2013 at 6:58 PM, Vaclav Petras <wenzeslaus@gmail.com> wrote:
Thinking about the style of keywords.html page, I discovered that the
h2 and h3 have the same font-size in CSS [1]. Is it an intention?
I darkly remember that a font smaller than "medium" (used for h4) seems
to be too small, so h3 and h4 were made the same.
Suggestions are welcome.
Hm, for me after deleting font-size setting the page looks good. h2 is
bigger than now, h3 is the same as h2 and h3 now. h2 on module page
are uppercased, so they may look bit more important by itself. This
was maybe the reason for setting the same sizes. I tried to set sizes
and get the same result (same sizes). I'm not satisfied but I don't
know what to do.
@all:
For fun I have deleted the size definitions on the server. You can
reload the manual to see the effect as suggested by Vaclav.
Next Saturday it will be overwritten unless changes are committed
to SVN.
And about the style itself. I would suggest to use description (dl)
instead of bullet list. The change in code is small but I don't want
to do it without asking others.
Can you give an example of improvement?
It would be the same as the Flags section at module page (the flag
description is <dl>). It would be cleaner than the current state -- no
bullets, no double colons. The keyword would be bold (<b>) on separate
line and the list of modules would be on the other line.
Sounds good to me.
Done in r55341. Feel free to revert or change.
Perhaps, to not mess up the other pages, have some special
keywords style? Could also go into the page header itself.
On Tue, Mar 12, 2013 at 10:52 PM, Anna Kratochvílová
<kratochanna@gmail.com> wrote:
On Tue, Mar 12, 2013 at 8:49 PM, Markus Neteler <neteler@osgeo.org> wrote:
On Tue, Mar 12, 2013 at 8:34 PM, Vaclav Petras <wenzeslaus@gmail.com> wrote:
...
It would be the same as the Flags section at module page (the flag
description is <dl>). It would be cleaner than the current state -- no
bullets, no double colons. The keyword would be bold (<b>) on separate
line and the list of modules would be on the other line.
On 13 March 2013 03:32, Markus Neteler <neteler@osgeo.org> wrote:
On Tue, Mar 12, 2013 at 10:52 PM, Anna Kratochvílová
<kratochanna@gmail.com> wrote:
On Tue, Mar 12, 2013 at 8:49 PM, Markus Neteler <neteler@osgeo.org> wrote:
On Tue, Mar 12, 2013 at 8:34 PM, Vaclav Petras <wenzeslaus@gmail.com> wrote:
...
It would be the same as the Flags section at module page (the flag
description is <dl>). It would be cleaner than the current state -- no
bullets, no double colons. The keyword would be bold (<b>) on separate
line and the list of modules would be on the other line.