This site has been retired. For up to date information, see handbook.gnome.org or gitlab.gnome.org.


[Home] [TitleIndex] [WordIndex

Yelp Icons

This page details the icons that are need in Yelp and gnome-doc-utils to make DocBook and Mallard documentation hot. In addition to beautiful colorful graphics, we should have high contrast and high contrast inverse of all the icons (with the exception of the watermarks, which should just be turned off for high contrast rendering).

Admonition Icons

DocBook and Mallard both have some form of admonitions -- parenthetical information set off from the normal text. For an example, see the BeanStalk mockup. DocBook provides the following types of admonitions:

There doesn't seem to be any agreed-upon distinction between caution and warning, and Mallard only contains one of them. The same icon can probably be used for both.

In addition, Mallard provides the following admonition:

Here are some design pointers:

The following table shows the icons currently used by Yelp, Fedora, and Norm's DocBook stylesheets. I've also added a row for the currently accepted new icons.

caution

important

note

tip

warning

bug

Tango
48x48

tango-icon-caution.png

tango-icon-important.png

tango-icon-note.png

tango-icon-tip.png

tango-icon-warning.png

tango-icon-bug.png

Yelp
48x48

yelp-icon-caution.png

yelp-icon-important.png

yelp-icon-note.png

yelp-icon-tip.png

yelp-icon-warning.png

Fedora
34x34

fedora-icon-caution.png

fedora-icon-important.png

fedora-icon-note.png

fedora-icon-tip.png

fedora-icon-warning.png

Norm
24x24

norm-icon-caution.png

norm-icon-important.png

norm-icon-note.png

norm-icon-tip.png

norm-icon-warning.png

Navigation links help you move about pages in a document. Using icons on these links reinforces the relationship of the link to the current page. The following navigation links are common:

See the navigation links in the header and footer of the BeanStalk mockup for an example.

Some design notes:

Watermarks

I'm a sucker for watermarks. Currently, Yelp adds watermarks on block quotes, and it has the ability to add watermarks on code blocks and screen elements. The BeanStalk mockup has examples of block quote watermarks and code block watermarks.

Yelp allows translators to specify an image to use for a block quote watermark. It provides images of different quote characters, currently U+00AB, U+00BB, U+201C, U+201D, and U+201E. I'm generally happy with these watermarks, and I don't think they need to be replaced. (I am, however, open to being convinced otherwise.)

Yelp is able to use different code block watermarks for different types of code, if images are available. This would allow us to use different watermarks for C, C++, Python, XML, etc. I don't currently have any syntax-specific watermarks, but I'd sure like some.

Screen elements are basically what you would type in and get back out at a shell. A watermarkified version of the terminal icon could make a nice watermark for screen elements.

Some design notes:

Status Markers

Mallard contains document status information, which we display prominently for writers and editors, but suppress for regular readers. We will likely shoehorn this mechanism back into DocBook. For an example of how version information might be rendered (without fancy icons), see the example Mallard rendering. The following statuses are currently defined:

Here are some design pointers:


2024-10-23 10:58