docs: fix several doxygen errors

Change-Id: If86c628b2b794cba0e3697bfe1d88ce752104ce1
Refs: #3210
diff --git a/src/name.hpp b/src/name.hpp
index 7e228b7..57a1fde 100644
--- a/src/name.hpp
+++ b/src/name.hpp
@@ -227,11 +227,11 @@
    *        if iStartComponent is negative, size()+iStartComponent is used instead
    * @param nComponents The number of components starting at iStartComponent.
    *                    Use npos to get the Partial Name until the end of this Name.
-   * @detail If iStartComponent is out of bounds and is negative, will return the components
-   *         starting in the beginning of the Name
-   *         If iStartComponent is out of bounds and is positive, will return the component "/"
-   *         If nComponents is out of bounds, will return the components until the end of
-   *         this Name
+   * @details If iStartComponent is out of bounds and is negative, returns the components
+   *          starting from the beginning of the Name.
+   *          If iStartComponent is out of bounds and is positive, returns the component "/".
+   *          If nComponents is out of bounds, returns the components until the end of
+   *          this Name
    * @return A new partial name
    */
   PartialName