diff --git a/tex/generic/pgf/graphdrawing/lua/pgf/gd/doc.lua b/tex/generic/pgf/graphdrawing/lua/pgf/gd/doc.lua
index 857306d5f..7571452b7 100644
--- a/tex/generic/pgf/graphdrawing/lua/pgf/gd/doc.lua
+++ b/tex/generic/pgf/graphdrawing/lua/pgf/gd/doc.lua
@@ -112,7 +112,9 @@ end
 -- Adds an example to the |examples| field of the last key selected
 -- through the |key| command.
 --
--- @param input either a string of example or a table with two fields - "code" and "options".
+-- @param input Either a string of example or a table with two fields:
+-- "code" and "options".
+
 function doc.example (input)
   local examples = rawget(current_key, "examples") or {}
   examples[#examples + 1] = input