diff --git a/doc/public/tmpl/cairo-version.sgml b/doc/public/tmpl/cairo-version.sgml
index bc76dce85..a06c56aee 100644
--- a/doc/public/tmpl/cairo-version.sgml
+++ b/doc/public/tmpl/cairo-version.sgml
@@ -119,28 +119,29 @@ if (cairo_version() >= %CAIRO_VERSION_ENCODE(1, 0, 0))
-
+The version of cairo available at compile-time, encoded using
+CAIRO_VERSION_ENCODE().
-
+The major component of the version of cairo available at compile-time.
-
+The minor component of the version of cairo available at compile-time.
-
+The micro component of the version of cairo available at compile-time.
@@ -154,12 +155,15 @@ if (cairo_version() >= %CAIRO_VERSION_ENCODE(1, 0, 0))
-
+This macro encodes the given cairo version into an integer. The numbers
+returned by %CAIRO_VERSION and pango_version() are encoded using this macro.
+Two encoded version numbers can be compared as integers. The encoding ensures
+that later versions compare greater than earlier versions.
-@major:
-@minor:
-@micro:
+@major: the major component of the version number
+@minor: the minor component of the version number
+@micro: the micro component of the version number