Browse Source

Improved documentation formatting

Marcin Ziąbek 2 years ago
parent
commit
2e75e3ddc8

+ 0 - 6
Source/QuestPDF/Fluent/AlignmentExtensions.cs

@@ -16,7 +16,6 @@ namespace QuestPDF.Fluent
         
         /// <summary>
         /// Aligns content horizontally to the left side.
-        /// <br />
         /// <a href="https://www.questpdf.com/api-reference/alignment.html">Learn more</a>
         /// </summary>
         public static IContainer AlignLeft(this IContainer element)
@@ -26,7 +25,6 @@ namespace QuestPDF.Fluent
         
         /// <summary>
         /// Aligns content horizontally to the center, ensuring equal space on both left and right sides.
-        /// <br />
         /// <a href="https://www.questpdf.com/api-reference/alignment.html">Learn more</a>
         /// </summary>
         public static IContainer AlignCenter(this IContainer element)
@@ -36,7 +34,6 @@ namespace QuestPDF.Fluent
         
         /// <summary>
         /// Aligns its content horizontally to the right side.
-        /// <br />
         /// <a href="https://www.questpdf.com/api-reference/alignment.html">Learn more</a>
         /// </summary>
         public static IContainer AlignRight(this IContainer element)
@@ -46,7 +43,6 @@ namespace QuestPDF.Fluent
         
         /// <summary>
         /// Aligns content vertically to the upper side.
-        /// <br />
         /// <a href="https://www.questpdf.com/api-reference/alignment.html">Learn more</a>
         /// </summary>
         public static IContainer AlignTop(this IContainer element)
@@ -56,7 +52,6 @@ namespace QuestPDF.Fluent
         
         /// <summary>
         /// Aligns content vertically to the center, ensuring equal space above and below.
-        /// <br />
         /// <a href="https://www.questpdf.com/api-reference/alignment.html">Learn more</a>
         /// </summary>
         public static IContainer AlignMiddle(this IContainer element)
@@ -66,7 +61,6 @@ namespace QuestPDF.Fluent
         
         /// <summary>
         /// Aligns content vertically to the bottom side.
-        /// <br />
         /// <a href="https://www.questpdf.com/api-reference/alignment.html">Learn more</a>
         /// </summary>
         public static IContainer AlignBottom(this IContainer element)

+ 0 - 8
Source/QuestPDF/Fluent/BorderExtensions.cs

@@ -17,7 +17,6 @@ namespace QuestPDF.Fluent
         
         /// <summary>
         /// Sets a uniform border (all edges) for its content.
-        /// <br />
         /// <a href="https://www.questpdf.com/api-reference/border.html">Learn more</a>
         /// </summary>
         public static IContainer Border(this IContainer element, float value, Unit unit = Unit.Point)
@@ -29,7 +28,6 @@ namespace QuestPDF.Fluent
         
         /// <summary>
         /// Sets a vertical border (left and right) for its content.
-        /// <br />
         /// <a href="https://www.questpdf.com/api-reference/border.html">Learn more</a>
         /// </summary>
         public static IContainer BorderVertical(this IContainer element, float value, Unit unit = Unit.Point)
@@ -41,7 +39,6 @@ namespace QuestPDF.Fluent
         
         /// <summary>
         /// Sets a horizontal border (top and bottom) for its content.
-        /// <br />
         /// <a href="https://www.questpdf.com/api-reference/border.html">Learn more</a>
         /// </summary>
         public static IContainer BorderHorizontal(this IContainer element, float value, Unit unit = Unit.Point)
@@ -53,7 +50,6 @@ namespace QuestPDF.Fluent
         
         /// <summary>
         /// Sets a border on the left side of its content.
-        /// <br />
         /// <a href="https://www.questpdf.com/api-reference/border.html">Learn more</a>
         /// </summary>
         public static IContainer BorderLeft(this IContainer element, float value, Unit unit = Unit.Point)
@@ -63,7 +59,6 @@ namespace QuestPDF.Fluent
         
         /// <summary>
         /// Sets a border on the right side of its content.
-        /// <br />
         /// <a href="https://www.questpdf.com/api-reference/border.html">Learn more</a>
         /// </summary>
         public static IContainer BorderRight(this IContainer element, float value, Unit unit = Unit.Point)
@@ -73,7 +68,6 @@ namespace QuestPDF.Fluent
         
         /// <summary>
         /// Sets a border on the top side of its content.
-        /// <br />
         /// <a href="https://www.questpdf.com/api-reference/border.html">Learn more</a>
         /// </summary>
         public static IContainer BorderTop(this IContainer element, float value, Unit unit = Unit.Point)
@@ -83,7 +77,6 @@ namespace QuestPDF.Fluent
         
         /// <summary>
         /// Sets a border on the bottom side of its content.
-        /// <br />
         /// <a href="https://www.questpdf.com/api-reference/border.html">Learn more</a>
         /// </summary>        
         public static IContainer BorderBottom(this IContainer element, float value, Unit unit = Unit.Point)
@@ -93,7 +86,6 @@ namespace QuestPDF.Fluent
         
         /// <summary>
         /// Adjusts color of the border element.
-        /// <br />
         /// <a href="https://www.questpdf.com/api-reference/border.html">Learn more</a>
         /// </summary>
         /// <include file='../Resources/Documentation.xml' path='documentation/doc[@for="colorParam"]/*' />

+ 0 - 1
Source/QuestPDF/Fluent/ColumnExtensions.cs

@@ -43,7 +43,6 @@ namespace QuestPDF.Fluent
         
         /// <summary>
         /// Draws a collection of elements vertically (from top to bottom).
-        /// <br />
         /// <a href="https://www.questpdf.com/api-reference/column.html">Learn more</a>
         /// </summary>
         /// <remarks>

+ 0 - 6
Source/QuestPDF/Fluent/ConstrainedExtensions.cs

@@ -16,7 +16,6 @@ namespace QuestPDF.Fluent
         
         /// <summary>
         /// Sets the exact width of its content.
-        /// <br />
         /// <a href="https://www.questpdf.com/api-reference/width.html">Learn more</a>
         /// </summary>
         /// <returns>The container with the specified exact width.</returns>
@@ -29,7 +28,6 @@ namespace QuestPDF.Fluent
         
         /// <summary>
         /// Sets the minimum width of its content.
-        /// <br />
         /// <a href="https://www.questpdf.com/api-reference/width.html">Learn more</a>
         /// </summary>
         /// <returns>The container with the specified minimum width.</returns>
@@ -40,7 +38,6 @@ namespace QuestPDF.Fluent
         
         /// <summary>
         /// Sets the maximum width of its content.
-        /// <br />
         /// <a href="https://www.questpdf.com/api-reference/width.html">Learn more</a>
         /// </summary>
         /// <returns>The container with the specified maximum width.</returns>
@@ -51,7 +48,6 @@ namespace QuestPDF.Fluent
         
         /// <summary>
         /// Sets the exact height of its content.
-        /// <br />
         /// <a href="https://www.questpdf.com/api-reference/height.html">Learn more</a>
         /// </summary>
         /// <returns>The container with the specified exact height.</returns>
@@ -64,7 +60,6 @@ namespace QuestPDF.Fluent
         
         /// <summary>
         /// Sets the minimum height of its content.
-        /// <br />
         /// <a href="https://www.questpdf.com/api-reference/height.html">Learn more</a>
         /// </summary>
         /// <returns>The container with the specified minimum height.</returns>
@@ -75,7 +70,6 @@ namespace QuestPDF.Fluent
         
         /// <summary>
         /// Sets the maximum height of its content.
-        /// <br />
         /// <a href="https://www.questpdf.com/api-reference/height.html">Learn more</a>
         /// </summary>
         /// <returns>The container with the specified maximum height.</returns>

+ 0 - 1
Source/QuestPDF/Fluent/ImageExtensions.cs

@@ -166,7 +166,6 @@ namespace QuestPDF.Fluent
         
         /// <summary>
         /// Draws the <see cref="Infrastructure.Image" /> object. Allows to optimize the generation process.
-        /// <br />
         /// <a href="https://www.questpdf.com/api-reference/image.html">Learn more</a>
         /// </summary>
         /// <include file='../Resources/Documentation.xml' path='documentation/doc[@for="image.remarks"]/*' />

+ 3 - 0
Source/QuestPDF/Fluent/RotateExtensions.cs

@@ -16,6 +16,7 @@ namespace QuestPDF.Fluent
         
         /// <summary>
         /// Rotates its content 90 degrees counterclockwise.
+        /// <a href="https://www.questpdf.com/api-reference/rotate.html">Learn more</a>
         /// </summary>
         /// <remarks>
         /// Note: Rotation can alter certain attributes; for example, 'width' might effectively become 'height'.
@@ -27,6 +28,7 @@ namespace QuestPDF.Fluent
         
         /// <summary>
         /// Rotates its content 90 degrees clockwise.
+        /// <a href="https://www.questpdf.com/api-reference/rotate.html">Learn more</a>
         /// </summary>
         /// <remarks>
         /// Note: Rotation can alter certain attributes; for example, 'width' might effectively become 'height'.
@@ -38,6 +40,7 @@ namespace QuestPDF.Fluent
         
         /// <summary>
         /// Rotates its content clockwise by a given angle.
+        /// <a href="https://www.questpdf.com/api-reference/rotate.html">Learn more</a>
         /// </summary>
         /// <param name="angle">Rotation angle in degrees. A value of 360 degrees represents a full rotation.</param>
         public static IContainer Rotate(this IContainer element, float angle)