diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml
index 030c422c57..6fd953df6c 100644
--- a/documentation/ref-manual/ref-variables.xml
+++ b/documentation/ref-manual/ref-variables.xml
@@ -896,6 +896,47 @@
+ BUILDHISTORY_FEATURES
+
+
+ When inheriting the
+ buildhistory
+ class, specifies the build history features the
+ OpenEmbedded build system uses.
+ For more information on how build history works, see the
+ "Maintaining Build Output Quality"
+ section.
+
+
+
+ You can specify three features in the form of a
+ space-separated list:
+
+ image:
+ Analysis of the contents of images, which
+ includes the list of installed packages among other
+ things.
+
+ package:
+ Analysis of the contents of individual packages.
+
+ sdk:
+ Analysis of the contents of the software
+ development kit (SDK).
+
+
+
+
+
+ By default, the buildhistory class
+ enables all three features:
+
+ BUILDHISTORY_FEATURES ?= "image package sdk"
+
+
+
+
+
BUILDSTATS_BASE