diff --git a/docs/docs/linear_algebra.xml b/docs/docs/linear_algebra.xml
index 176df49a0..df4e6ecc1 100644
--- a/docs/docs/linear_algebra.xml
+++ b/docs/docs/linear_algebra.xml
@@ -631,6 +631,7 @@
- get_rect
- centered_rect
- set_aspect_ratio
+ - set_rect_area
- center
- dcenter
- shrink_rect
@@ -1045,6 +1046,19 @@
+
+
+
+ set_rect_area
+ dlib/geometry.h
+ dlib/geometry/rectangle_abstract.h
+
+ This function reshapes a rectangle so that
+ it has a user specified area.
+
+
+
+
diff --git a/docs/docs/term_index.xml b/docs/docs/term_index.xml
index d28bee3c6..4b66c3ee2 100644
--- a/docs/docs/term_index.xml
+++ b/docs/docs/term_index.xml
@@ -170,6 +170,7 @@
+