diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2003-08-02 22:03:19 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2003-08-02 22:03:19 +0000 |
commit | 55391358655e00e986b7d5382dd091a77488dc64 (patch) | |
tree | 0d09ad83d96383be87a54564c81c04641bb07f6a /doc | |
parent | 8dd4ba4681d2e45acc44efb3a11660a46f821047 (diff) | |
download | gtk-doc-55391358655e00e986b7d5382dd091a77488dc64.tar.gz |
Some additions.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/gnome.txt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/gnome.txt b/doc/gnome.txt index 95243bf..9b14bff 100644 --- a/doc/gnome.txt +++ b/doc/gnome.txt @@ -59,3 +59,17 @@ it is empty after the removal of the initial ' * ' prefix. Thus you can work around this problem by adding some trailing whitespace to lines which should appear as empty, but not end a paragraph. This is especially relevant in code examples, which often contain empty lines. + +Some more hints regarding examples: Hyperlinks in the formatted examples +are confusing, therefore you should suppress the gtk-doc markup by using +function(<!-- -->) instead of function(). Use character entities to refer +to the characters %, &, < or #, e.g. + + if (a < b && verbose) + printf ("bla %s %#x", bla, a); + +would become + + if (a < b && verbose) + printf ("bla %s %#x", bla, a); + |