diff --git a/documentation/ref-manual/ref-classes.xml b/documentation/ref-manual/ref-classes.xml
index 98084f9d5e..77ac7a9501 100644
--- a/documentation/ref-manual/ref-classes.xml
+++ b/documentation/ref-manual/ref-classes.xml
@@ -746,6 +746,31 @@
+
+ gtk-immodules-cache.bbclass
+
+
+ The GIMP Toolkit input method modules
+ (gtk-immodules-cache) class
+ generates the proper post-install and post-remove (postinst/postrm)
+ scriptlets for packages that install GTK+ input method modules for
+ virtual keyboards.
+ These scriptlets call gtk-update-icon-cache to add
+ the input method modules to the cache.
+ Since the cache files are architecture-specific,
+ gtk-update-icon-cache is run using QEMU if the
+ postinst scriptlets need to be run on the build host during image
+ creation.
+
+
+
+ If the input method modules being installed are in packages other than
+ the main package, set
+ GTKIMMODULES_PACKAGES
+ to include the packages containing the modules.
+
+
+
mime.bbclass
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml
index f2ff49483c..2ebf88a4fd 100644
--- a/documentation/ref-manual/ref-variables.xml
+++ b/documentation/ref-manual/ref-variables.xml
@@ -2205,6 +2205,22 @@
+ GTKIMMODULES_PACKAGES
+
+
+ Includes the packages that contain the GIMP Toolkit input
+ method modules being installed when the modules are in
+ packages other than the main package.
+
+
+
+ See the
+ gtk-immodules-cache
+ class for more information on how this variable is used.
+
+
+
+
H