diff --git a/documentation/bsp-manual/bsp.rst b/documentation/bsp-manual/bsp.rst
index 93af13f78..9d9e19f3d 100644
--- a/documentation/bsp-manual/bsp.rst
+++ b/documentation/bsp-manual/bsp.rst
@@ -233,7 +233,7 @@ section.
    .. note::
 
       Alternatively, you can source the ``init-build-env`` file provided by
-      :doc:`bitbake-setup <bitbake:bitbake-user-manual/bitbake-user-manual-environment-setup>` 
+      :doc:`bitbake-setup <bitbake:bitbake-user-manual/bitbake-user-manual-environment-setup>`
 
 Example Filesystem Layout
 =========================
diff --git a/documentation/dev-manual/layers.rst b/documentation/dev-manual/layers.rst
index 5c8bf32b4..5da222693 100644
--- a/documentation/dev-manual/layers.rst
+++ b/documentation/dev-manual/layers.rst
@@ -131,7 +131,7 @@ Follow these general steps to create your layer without using tools:
          compatible with. For example: "&DISTRO_NAME_NO_CAP;".
 
          This variable is a good way to indicate if a particular layer is
-         current. 
+         current.
 
    -  A ``recipes-example`` subdirectory that itself contains a
       subdirectory named ``example``, which contains an ``example.bb``
