Browse Source

Updated documentation links

Marcin Ziąbek 9 months ago
parent
commit
194fbd9adf

+ 3 - 3
Source/QuestPDF/Drawing/FontManager.cs

@@ -34,7 +34,7 @@ namespace QuestPDF.Drawing
         /// <summary>
         /// <summary>
         /// Registers a TrueType font from a stream under the provided custom <paramref name="fontName"/>.
         /// Registers a TrueType font from a stream under the provided custom <paramref name="fontName"/>.
         /// Refer to this font by using the same name as a font family in the <see cref="TextStyle"/> API later on.
         /// Refer to this font by using the same name as a font family in the <see cref="TextStyle"/> API later on.
-        /// <a href="https://www.questpdf.com/going-production/font-management.html">Learn more</a>
+        /// <a href="https://www.questpdf.com/api-reference/text/font-management.html#manual-font-registration">Learn more</a>
         /// </summary>
         /// </summary>
         public static void RegisterFontWithCustomName(string fontName, Stream stream)
         public static void RegisterFontWithCustomName(string fontName, Stream stream)
         {
         {
@@ -45,7 +45,7 @@ namespace QuestPDF.Drawing
 
 
         /// <summary>
         /// <summary>
         /// Registers a TrueType font from a stream. The font family name and all related attributes are detected automatically.
         /// Registers a TrueType font from a stream. The font family name and all related attributes are detected automatically.
-        /// <a href="https://www.questpdf.com/going-production/font-management.html">Learn more</a>
+        /// <a href="https://www.questpdf.com/api-reference/text/font-management.html#manual-font-registration">Learn more</a>
         /// </summary>
         /// </summary>
         public static void RegisterFont(Stream stream)
         public static void RegisterFont(Stream stream)
         {
         {
@@ -55,7 +55,7 @@ namespace QuestPDF.Drawing
         
         
         /// <summary>
         /// <summary>
         /// Registers a TrueType font from an embedded resource. The font family name and all related attributes are detected automatically.
         /// Registers a TrueType font from an embedded resource. The font family name and all related attributes are detected automatically.
-        /// <a href="https://www.questpdf.com/going-production/font-management.html">Learn more</a>
+        /// <a href="https://www.questpdf.com/api-reference/text/font-management.html#manual-font-registration">Learn more</a>
         /// </summary>
         /// </summary>
         /// <param name="pathName">Path to the embedded resource (the case-sensitive name of the manifest resource being requested).</param>
         /// <param name="pathName">Path to the embedded resource (the case-sensitive name of the manifest resource being requested).</param>
         public static void RegisterFontFromEmbeddedResource(string pathName)
         public static void RegisterFontFromEmbeddedResource(string pathName)

+ 2 - 2
Source/QuestPDF/Fluent/DynamicComponentExtensions.cs

@@ -8,7 +8,7 @@ namespace QuestPDF.Fluent
         /// <summary>
         /// <summary>
         /// Represents a dynamically generated section of the document.
         /// Represents a dynamically generated section of the document.
         /// Components are page-aware, understand their positioning, can dynamically construct other content elements, and assess their dimensions, enabling complex layout creations.
         /// Components are page-aware, understand their positioning, can dynamically construct other content elements, and assess their dimensions, enabling complex layout creations.
-        /// <a href="https://www.questpdf.com/concepts/dynamic-components.html">Learn more</a>
+        /// <a href="https://www.questpdf.com/concepts/code-patterns/dynamic-components.html">Learn more</a>
         /// </summary>
         /// </summary>
         /// <example>
         /// <example>
         /// <para>
         /// <para>
@@ -26,7 +26,7 @@ namespace QuestPDF.Fluent
         /// <summary>
         /// <summary>
         /// Represents a section of the document dynamically created based on its inner state.
         /// Represents a section of the document dynamically created based on its inner state.
         /// Components are page-aware, understand their positioning, can dynamically construct other content elements, and assess their dimensions, enabling complex layout creations.
         /// Components are page-aware, understand their positioning, can dynamically construct other content elements, and assess their dimensions, enabling complex layout creations.
-        /// <a href="https://www.questpdf.com/concepts/dynamic-components.html">Learn more</a>
+        /// <a href="https://www.questpdf.com/concepts/code-patterns/dynamic-components.html">Learn more</a>
         /// </summary>
         /// </summary>
         /// <example>
         /// <example>
         /// <para>
         /// <para>

+ 5 - 2
Source/QuestPDF/Fluent/ElementExtensions.cs

@@ -40,7 +40,7 @@ namespace QuestPDF.Fluent
         
         
         /// <summary>
         /// <summary>
         /// Passes the Fluent API chain to the provided <paramref name="handler"/> method.
         /// Passes the Fluent API chain to the provided <paramref name="handler"/> method.
-        /// <a href="https://www.questpdf.com/api-reference/element.html">Learn more</a>
+        /// <a href="https://www.questpdf.com/concepts/code-patterns/content-styling.html">Learn more</a>
         /// </summary>
         /// </summary>
         /// <remarks>
         /// <remarks>
         /// <para>This method is particularly useful for code refactoring, improving its structure and readability.</para>
         /// <para>This method is particularly useful for code refactoring, improving its structure and readability.</para>
@@ -70,7 +70,7 @@ namespace QuestPDF.Fluent
         
         
         /// <summary>
         /// <summary>
         /// Passes the Fluent API chain to the provided <paramref name="handler"/> method.
         /// Passes the Fluent API chain to the provided <paramref name="handler"/> method.
-        /// <a href="https://www.questpdf.com/api-reference/element.html">Learn more</a>
+        /// <a href="https://www.questpdf.com/concepts/code-patterns/content-styling.html">Learn more</a>
         /// </summary>
         /// </summary>
         /// <remarks>
         /// <remarks>
         /// <para>This method is particularly useful for code refactoring, improving its structure and readability.</para>
         /// <para>This method is particularly useful for code refactoring, improving its structure and readability.</para>
@@ -430,6 +430,7 @@ namespace QuestPDF.Fluent
 
 
         /// <summary>
         /// <summary>
         /// Repeats its content across multiple pages.
         /// Repeats its content across multiple pages.
+        /// <a href="https://www.questpdf.com/api-reference/repeat.html">Learn more</a>
         /// </summary>
         /// </summary>
         /// <remarks>
         /// <remarks>
         /// In certain layout structures, the content visibility may depend on other elements.
         /// In certain layout structures, the content visibility may depend on other elements.
@@ -452,6 +453,7 @@ namespace QuestPDF.Fluent
         /// Further optimizations can be achieved by nesting Lazy elements within each other. 
         /// Further optimizations can be achieved by nesting Lazy elements within each other. 
         /// However, note that this technique may increase the overall document generation time due to deferred content processing.
         /// However, note that this technique may increase the overall document generation time due to deferred content processing.
         /// </para>
         /// </para>
+        /// <a href="https://www.questpdf.com/api-reference/lazy.html">Learn more</a>
         /// </summary>
         /// </summary>
         public static void Lazy(this IContainer element, Action<IContainer> contentBuilder)
         public static void Lazy(this IContainer element, Action<IContainer> contentBuilder)
         {
         {
@@ -466,6 +468,7 @@ namespace QuestPDF.Fluent
         /// Functions similarly to the Lazy element but enables the library to use caching mechanisms for the content.
         /// Functions similarly to the Lazy element but enables the library to use caching mechanisms for the content.
         /// This can help optimize managed memory usage, although native memory usage may remain high.
         /// This can help optimize managed memory usage, although native memory usage may remain high.
         /// Use LazyWithCache only when the increased generation time associated with the Lazy element is unacceptable.
         /// Use LazyWithCache only when the increased generation time associated with the Lazy element is unacceptable.
+        /// <a href="https://www.questpdf.com/api-reference/lazy.html">Learn more</a>
         /// </summary>
         /// </summary>
         public static void LazyWithCache(this IContainer element, Action<IContainer> contentBuilder)
         public static void LazyWithCache(this IContainer element, Action<IContainer> contentBuilder)
         {
         {

+ 4 - 4
Source/QuestPDF/Fluent/ImageExtensions.cs

@@ -129,7 +129,7 @@ namespace QuestPDF.Fluent
     {
     {
         /// <summary>
         /// <summary>
         /// Draws an image by decoding it from a provided byte array.
         /// Draws an image by decoding it from a provided byte array.
-        /// <a href="https://www.questpdf.com/api-reference/image.html">Learn more</a>
+        /// <a href="https://www.questpdf.com/api-reference/image/basics.html">Learn more</a>
         /// </summary>
         /// </summary>
         /// <include file='../Resources/Documentation.xml' path='documentation/doc[@for="image.remarks"]/*' />
         /// <include file='../Resources/Documentation.xml' path='documentation/doc[@for="image.remarks"]/*' />
         /// <include file='../Resources/Documentation.xml' path='documentation/doc[@for="image.descriptor"]/*' />
         /// <include file='../Resources/Documentation.xml' path='documentation/doc[@for="image.descriptor"]/*' />
@@ -142,7 +142,7 @@ namespace QuestPDF.Fluent
         
         
         /// <summary>
         /// <summary>
         /// Draws the image loaded from a file located at the provided path.
         /// Draws the image loaded from a file located at the provided path.
-        /// <a href="https://www.questpdf.com/api-reference/image.html">Learn more</a>
+        /// <a href="https://www.questpdf.com/api-reference/image/basics.html">Learn more</a>
         /// </summary>
         /// </summary>
         /// <include file='../Resources/Documentation.xml' path='documentation/doc[@for="image.remarks"]/*' />
         /// <include file='../Resources/Documentation.xml' path='documentation/doc[@for="image.remarks"]/*' />
         /// <include file='../Resources/Documentation.xml' path='documentation/doc[@for="image.descriptor"]/*' />
         /// <include file='../Resources/Documentation.xml' path='documentation/doc[@for="image.descriptor"]/*' />
@@ -155,7 +155,7 @@ namespace QuestPDF.Fluent
         
         
         /// <summary>
         /// <summary>
         /// Draws the image loaded from a stream.
         /// Draws the image loaded from a stream.
-        /// <a href="https://www.questpdf.com/api-reference/image.html">Learn more</a>
+        /// <a href="https://www.questpdf.com/api-reference/image/basics.html">Learn more</a>
         /// </summary>
         /// </summary>
         /// <include file='../Resources/Documentation.xml' path='documentation/doc[@for="image.remarks"]/*' />
         /// <include file='../Resources/Documentation.xml' path='documentation/doc[@for="image.remarks"]/*' />
         /// <include file='../Resources/Documentation.xml' path='documentation/doc[@for="image.descriptor"]/*' />
         /// <include file='../Resources/Documentation.xml' path='documentation/doc[@for="image.descriptor"]/*' />
@@ -168,7 +168,7 @@ namespace QuestPDF.Fluent
         
         
         /// <summary>
         /// <summary>
         /// Draws the <see cref="Infrastructure.Image" /> object. Allows to optimize the generation process.
         /// Draws the <see cref="Infrastructure.Image" /> object. Allows to optimize the generation process.
-        /// <a href="https://www.questpdf.com/api-reference/image.html">Learn more</a>
+        /// <a href="https://www.questpdf.com/api-reference/image/basics.html">Learn more</a>
         /// </summary>
         /// </summary>
         /// <include file='../Resources/Documentation.xml' path='documentation/doc[@for="image.remarks"]/*' />
         /// <include file='../Resources/Documentation.xml' path='documentation/doc[@for="image.remarks"]/*' />
         /// <include file='../Resources/Documentation.xml' path='documentation/doc[@for="image.descriptor"]/*' />
         /// <include file='../Resources/Documentation.xml' path='documentation/doc[@for="image.descriptor"]/*' />

+ 2 - 2
Source/QuestPDF/Fluent/PageExtensions.cs

@@ -162,7 +162,7 @@ namespace QuestPDF.Fluent
         
         
         /// <summary>
         /// <summary>
         /// Applies a left-to-right (LTR) content direction to all elements within the page set.
         /// Applies a left-to-right (LTR) content direction to all elements within the page set.
-        /// <a href="https://www.questpdf.com/api-reference/content-direction.html">Learn more</a>
+        /// <a href="https://www.questpdf.com/api-reference/page/settings.html#content-direction">Learn more</a>
         /// </summary>
         /// </summary>
         /// <include file='../Resources/Documentation.xml' path='documentation/doc[@for="contentDirection.ltr.remarks"]/*' />
         /// <include file='../Resources/Documentation.xml' path='documentation/doc[@for="contentDirection.ltr.remarks"]/*' />
         public void ContentFromLeftToRight()
         public void ContentFromLeftToRight()
@@ -172,7 +172,7 @@ namespace QuestPDF.Fluent
         
         
         /// <summary>
         /// <summary>
         /// Applies a right-to-left (RTL) content direction to all elements within the page set.
         /// Applies a right-to-left (RTL) content direction to all elements within the page set.
-        /// <a href="https://www.questpdf.com/api-reference/content-direction.html">Learn more</a>
+        /// <a href="https://www.questpdf.com/api-reference/page/settings.html#content-direction">Learn more</a>
         /// </summary>
         /// </summary>
         /// <include file='../Resources/Documentation.xml' path='documentation/doc[@for="contentDirection.rtl.remarks"]/*' />
         /// <include file='../Resources/Documentation.xml' path='documentation/doc[@for="contentDirection.rtl.remarks"]/*' />
         public void ContentFromRightToLeft()
         public void ContentFromRightToLeft()

+ 2 - 2
Source/QuestPDF/Fluent/SvgExtensions.cs

@@ -78,7 +78,7 @@ public static class SvgExtensions
     
     
     /// <summary>
     /// <summary>
     /// Draws the SVG image loaded from a text.
     /// Draws the SVG image loaded from a text.
-    /// <a href="https://www.questpdf.com/api-reference/image.html">Learn more</a>
+    /// <a href="https://www.questpdf.com/api-reference/image/svg.html">Learn more</a>
     /// </summary>
     /// </summary>
     /// <include file='../Resources/Documentation.xml' path='documentation/doc[@for="svg.remarks"]/*' />
     /// <include file='../Resources/Documentation.xml' path='documentation/doc[@for="svg.remarks"]/*' />
     /// <param name="svg">
     /// <param name="svg">
@@ -96,7 +96,7 @@ public static class SvgExtensions
     
     
     /// <summary>
     /// <summary>
     /// Draws the <see cref="Infrastructure.SvgImage" /> object. Allows to optimize the generation process.
     /// Draws the <see cref="Infrastructure.SvgImage" /> object. Allows to optimize the generation process.
-    /// <a href="https://www.questpdf.com/api-reference/image.html">Learn more</a>
+    /// <a href="https://www.questpdf.com/api-reference/image/svg.html">Learn more</a>
     /// </summary>
     /// </summary>
     /// <include file='../Resources/Documentation.xml' path='documentation/doc[@for="svg.remarks"]/*' />
     /// <include file='../Resources/Documentation.xml' path='documentation/doc[@for="svg.remarks"]/*' />
     /// <include file='../Resources/Documentation.xml' path='documentation/doc[@for="svg.descriptor"]/*' />
     /// <include file='../Resources/Documentation.xml' path='documentation/doc[@for="svg.descriptor"]/*' />

+ 8 - 9
Source/QuestPDF/Fluent/TableExtensions.cs

@@ -23,7 +23,7 @@ namespace QuestPDF.Fluent
         
         
         /// <summary>
         /// <summary>
         /// Defines a column with a relative size that adjusts its width in relation to other relative columns.
         /// Defines a column with a relative size that adjusts its width in relation to other relative columns.
-        /// <a href="https://www.questpdf.com/api-reference/table.html#column-definitions">Learn more</a>
+        /// <a href="https://www.questpdf.com/api-reference/table/basics.html#columns-definition">Learn more</a>
         /// </summary>
         /// </summary>
         /// <example>
         /// <example>
         /// For a table 100 points wide with three columns: a relative size of 1, a relative size of 5, and a constant size of 10 points, they will span 15 points, 75 points, and 10 points respectively.
         /// For a table 100 points wide with three columns: a relative size of 1, a relative size of 5, and a constant size of 10 points, they will span 15 points, 75 points, and 10 points respectively.
@@ -70,7 +70,7 @@ namespace QuestPDF.Fluent
 
 
         /// <summary>
         /// <summary>
         /// Specifies the order and size of the table columns.
         /// Specifies the order and size of the table columns.
-        /// <a href="https://www.questpdf.com/api-reference/table.html#column-definitions">Learn more</a>
+        /// <a href="https://www.questpdf.com/api-reference/table/basics.html#columns-definition">Learn more</a>
         /// </summary>
         /// </summary>
         /// <remarks>
         /// <remarks>
         /// This configuration affects both the main content as well as the header and footer sections.
         /// This configuration affects both the main content as well as the header and footer sections.
@@ -93,7 +93,6 @@ namespace QuestPDF.Fluent
         /// Adjusts rendering algorithm to better handle complex table structures, especially those spanning multiple pages. 
         /// Adjusts rendering algorithm to better handle complex table structures, especially those spanning multiple pages. 
         /// This applies a unique rule to the final cells in each column, ensuring they stretch to fill the table's bottom edge.
         /// This applies a unique rule to the final cells in each column, ensuring they stretch to fill the table's bottom edge.
         /// Such an approach can enhance your table's visual appeal.
         /// Such an approach can enhance your table's visual appeal.
-        /// <a href="https://www.questpdf.com/api-reference/table.html#extend-last-cells-to-table-bottom">Learn more</a>
         /// </summary>
         /// </summary>
         public void ExtendLastCellsToTableBottom()
         public void ExtendLastCellsToTableBottom()
         {
         {
@@ -103,7 +102,7 @@ namespace QuestPDF.Fluent
         /// <summary>
         /// <summary>
         /// Specifies a table header that appears on each page, positioned above the main content.
         /// Specifies a table header that appears on each page, positioned above the main content.
         /// The cell placement and dimensions in this header are distinct from those in the main content.
         /// The cell placement and dimensions in this header are distinct from those in the main content.
-        /// <a href="https://www.questpdf.com/api-reference/table.html#table-header-footer">Learn more</a>
+        /// <a href="https://www.questpdf.com/api-reference/table/header-and-footer.html">Learn more</a>
         /// </summary>
         /// </summary>
         /// <param name="handler">Handler for configuring the header cells.</param>
         /// <param name="handler">Handler for configuring the header cells.</param>
         public void Header(Action<TableCellDescriptor> handler)
         public void Header(Action<TableCellDescriptor> handler)
@@ -118,7 +117,7 @@ namespace QuestPDF.Fluent
         /// <summary>
         /// <summary>
         /// Specifies a table footer that appears on each page, positioned below the main content.
         /// Specifies a table footer that appears on each page, positioned below the main content.
         /// The placement and dimensions of cells within this footer are distinct from the main content.
         /// The placement and dimensions of cells within this footer are distinct from the main content.
-        /// <a href="https://www.questpdf.com/api-reference/table.html#table-header-footer">Learn more</a>
+        /// <a href="https://www.questpdf.com/api-reference/table/header-and-footer.html">Learn more</a>
         /// </summary>
         /// </summary>
         public void Footer(Action<TableCellDescriptor> handler)
         public void Footer(Action<TableCellDescriptor> handler)
         {
         {
@@ -190,7 +189,7 @@ namespace QuestPDF.Fluent
     {
     {
         /// <summary>
         /// <summary>
         /// Specifies the column position (horizontal axis) of the cell.
         /// Specifies the column position (horizontal axis) of the cell.
-        /// <a href="https://www.questpdf.com/api-reference/table.html#basic-usage">Learn more</a>
+        /// <a href="https://www.questpdf.com/api-reference/table/basics.html">Learn more</a>
         /// </summary>
         /// </summary>
         /// <param name="value">Columns are numbered starting with 1.</param>
         /// <param name="value">Columns are numbered starting with 1.</param>
         public static ITableCellContainer Column(this ITableCellContainer tableCellContainer, uint value)
         public static ITableCellContainer Column(this ITableCellContainer tableCellContainer, uint value)
@@ -203,7 +202,7 @@ namespace QuestPDF.Fluent
         
         
         /// <summary>
         /// <summary>
         /// Defines the number of columns a cell spans in the horizontal axis.
         /// Defines the number of columns a cell spans in the horizontal axis.
-        /// <a href="https://www.questpdf.com/api-reference/table.html#row-spans-and-column-spans">Learn more</a>
+        /// <a href="https://www.questpdf.com/api-reference/table/basics.html#manual-cell-placement">Learn more</a>
         /// </summary>
         /// </summary>
         /// <remarks>
         /// <remarks>
         /// Useful when creating complex layouts.
         /// Useful when creating complex layouts.
@@ -218,7 +217,7 @@ namespace QuestPDF.Fluent
         
         
         /// <summary>
         /// <summary>
         /// Specifies the row position (vertical axis) of the cell.
         /// Specifies the row position (vertical axis) of the cell.
-        /// <a href="https://www.questpdf.com/api-reference/table.html#basic-usage">Learn more</a>
+        /// <a href="https://www.questpdf.com/api-reference/table/basics.html">Learn more</a>
         /// </summary>
         /// </summary>
         /// <param name="value">Rows are numbered starting with 1.</param>
         /// <param name="value">Rows are numbered starting with 1.</param>
         public static ITableCellContainer Row(this ITableCellContainer tableCellContainer, uint value)
         public static ITableCellContainer Row(this ITableCellContainer tableCellContainer, uint value)
@@ -231,7 +230,7 @@ namespace QuestPDF.Fluent
         
         
         /// <summary>
         /// <summary>
         /// Defines the number of rows a cell spans in the vertical axis.
         /// Defines the number of rows a cell spans in the vertical axis.
-        /// <a href="https://www.questpdf.com/api-reference/table.html#row-spans-and-column-spans">Learn more</a>
+        /// <a href="https://www.questpdf.com/api-reference/table/basics.html#manual-cell-placement">Learn more</a>
         /// </summary>
         /// </summary>
         /// <remarks>
         /// <remarks>
         /// Useful when creating complex layouts.
         /// Useful when creating complex layouts.

+ 1 - 1
Source/QuestPDF/Fluent/TextExtensions.cs

@@ -49,7 +49,7 @@ namespace QuestPDF.Fluent
 
 
         /// <summary>
         /// <summary>
         /// Provides the capability to render the page number in a custom text format (e.g., roman numerals).
         /// Provides the capability to render the page number in a custom text format (e.g., roman numerals).
-        /// <a href="https://www.questpdf.com/api-reference/text.html#page-numbers">Lear more</a>
+        /// <a href="https://www.questpdf.com/api-reference/text/page-numbers.html">Lear more</a>
         /// </summary>
         /// </summary>
         /// <param name="formatter">The function designated to modify the number into text. When given a null input, a typical-sized placeholder text must be produced.</param>
         /// <param name="formatter">The function designated to modify the number into text. When given a null input, a typical-sized placeholder text must be produced.</param>
         public TextPageNumberDescriptor Format(PageNumberFormatter formatter)
         public TextPageNumberDescriptor Format(PageNumberFormatter formatter)

+ 3 - 3
Source/QuestPDF/Infrastructure/Image.cs

@@ -77,7 +77,7 @@ namespace QuestPDF.Infrastructure
 
 
         /// <summary>
         /// <summary>
         /// Loads the image from binary data.
         /// Loads the image from binary data.
-        /// <a href="https://www.questpdf.com/api-reference/image.html">Learn more</a>
+        /// <a href="https://www.questpdf.com/api-reference/image/basics.html">Learn more</a>
         /// </summary>
         /// </summary>
         /// <include file='../Resources/Documentation.xml' path='documentation/doc[@for="image.remarks"]/*' />
         /// <include file='../Resources/Documentation.xml' path='documentation/doc[@for="image.remarks"]/*' />
         public static Image FromBinaryData(byte[] imageBytes)
         public static Image FromBinaryData(byte[] imageBytes)
@@ -88,7 +88,7 @@ namespace QuestPDF.Infrastructure
 
 
         /// <summary>
         /// <summary>
         /// Loads the image from a file with specified path.
         /// Loads the image from a file with specified path.
-        /// <a href="https://www.questpdf.com/api-reference/image.html">Learn more</a>
+        /// <a href="https://www.questpdf.com/api-reference/image/basics.html">Learn more</a>
         /// </summary>
         /// </summary>
         /// <include file='../Resources/Documentation.xml' path='documentation/doc[@for="image.remarks"]/*' />
         /// <include file='../Resources/Documentation.xml' path='documentation/doc[@for="image.remarks"]/*' />
         public static Image FromFile(string filePath)
         public static Image FromFile(string filePath)
@@ -109,7 +109,7 @@ namespace QuestPDF.Infrastructure
 
 
         /// <summary>
         /// <summary>
         /// Loads the image from a stream.
         /// Loads the image from a stream.
-        /// <a href="https://www.questpdf.com/api-reference/image.html">Learn more</a>
+        /// <a href="https://www.questpdf.com/api-reference/image/basics.html">Learn more</a>
         /// </summary>
         /// </summary>
         /// <include file='../Resources/Documentation.xml' path='documentation/doc[@for="image.remarks"]/*' />
         /// <include file='../Resources/Documentation.xml' path='documentation/doc[@for="image.remarks"]/*' />
         public static Image FromStream(Stream stream)
         public static Image FromStream(Stream stream)

+ 2 - 2
Source/QuestPDF/Infrastructure/SvgImage.cs

@@ -35,7 +35,7 @@ public class SvgImage : IDisposable
 
 
     /// <summary>
     /// <summary>
     /// Loads the SVG image from a file with specified path.
     /// Loads the SVG image from a file with specified path.
-    /// <a href="https://www.questpdf.com/api-reference/image.html">Learn more</a>
+    /// <a href="https://www.questpdf.com/api-reference/image/svg.html">Learn more</a>
     /// </summary>
     /// </summary>
     /// <include file='../Resources/Documentation.xml' path='documentation/doc[@for="image.remarks"]/*' />
     /// <include file='../Resources/Documentation.xml' path='documentation/doc[@for="image.remarks"]/*' />
     public static SvgImage FromFile(string filePath)
     public static SvgImage FromFile(string filePath)
@@ -56,7 +56,7 @@ public class SvgImage : IDisposable
 
 
     /// <summary>
     /// <summary>
     /// Loads the SVG image from a stream.
     /// Loads the SVG image from a stream.
-    /// <a href="https://www.questpdf.com/api-reference/image.html">Learn more</a>
+    /// <a href="https://www.questpdf.com/api-reference/image/svg.html">Learn more</a>
     /// </summary>
     /// </summary>
     /// <include file='../Resources/Documentation.xml' path='documentation/doc[@for="image.remarks"]/*' />
     /// <include file='../Resources/Documentation.xml' path='documentation/doc[@for="image.remarks"]/*' />
     public static SvgImage FromText(string svg)
     public static SvgImage FromText(string svg)

+ 16 - 19
Source/QuestPDF/Resources/Documentation.xml

@@ -281,7 +281,7 @@
             Adjusts the vertical spacing between lines of text, affecting readability and overall text layout.
             Adjusts the vertical spacing between lines of text, affecting readability and overall text layout.
             The added space is proportional to the text size. 
             The added space is proportional to the text size. 
             A <paramref name="factor"/> value of 1 retains the original spacing.
             A <paramref name="factor"/> value of 1 retains the original spacing.
-            <a href="https://www.questpdf.com/api-reference/text.html#line-height">Learn more</a>
+            <a href="https://www.questpdf.com/api-reference/text/text-style.html#line-height">Learn more</a>
         </summary>
         </summary>
 
 
         <param name="factor">
         <param name="factor">
@@ -296,7 +296,7 @@
         <summary>
         <summary>
             Adjusts the horizontal spacing between characters in the text, affecting readability and overall visual style.
             Adjusts the horizontal spacing between characters in the text, affecting readability and overall visual style.
             The adjustment is proportional to the text size.
             The adjustment is proportional to the text size.
-            <a href="https://www.questpdf.com/api-reference/text.html#letter-spacing">Learn more</a>
+            <a href="https://www.questpdf.com/api-reference/text/text-style.html#letter-spacing">Learn more</a>
         </summary>
         </summary>
 
 
         <param name="factor">
         <param name="factor">
@@ -418,70 +418,70 @@
     <doc for="text.weight.thin">
     <doc for="text.weight.thin">
         <summary>
         <summary>
             Sets the font weight to "thin" (equivalent to CSS 100).
             Sets the font weight to "thin" (equivalent to CSS 100).
-            <a href="https://www.questpdf.com/api-reference/text.html#font-weight">Learn more</a>
+            <a href="https://www.questpdf.com/api-reference/text/text-style.html#font-weight">Learn more</a>
         </summary>
         </summary>
     </doc>
     </doc>
 
 
     <doc for="text.weight.extraLight">
     <doc for="text.weight.extraLight">
         <summary>
         <summary>
             Sets the font weight to "extra light" (equivalent to CSS 200).
             Sets the font weight to "extra light" (equivalent to CSS 200).
-            <a href="https://www.questpdf.com/api-reference/text.html#font-weight">Learn more</a>
+            <a href="https://www.questpdf.com/api-reference/text/text-style.html#font-weight">Learn more</a>
         </summary>
         </summary>
     </doc>
     </doc>
 
 
     <doc for="text.weight.light">
     <doc for="text.weight.light">
         <summary>
         <summary>
             Sets the font weight to "light" (equivalent to CSS 300).
             Sets the font weight to "light" (equivalent to CSS 300).
-            <a href="https://www.questpdf.com/api-reference/text.html#font-weight">Learn more</a>
+            <a href="https://www.questpdf.com/api-reference/text/text-style.html#font-weight">Learn more</a>
         </summary>
         </summary>
     </doc>
     </doc>
 
 
     <doc for="text.weight.normal">
     <doc for="text.weight.normal">
         <summary>
         <summary>
             Sets the font weight to "normal" or "regular (equivalent to CSS 400).
             Sets the font weight to "normal" or "regular (equivalent to CSS 400).
-            <a href="https://www.questpdf.com/api-reference/text.html#font-weight">Learn more</a>
+            <a href="https://www.questpdf.com/api-reference/text/text-style.html#font-weight">Learn more</a>
         </summary>
         </summary>
     </doc>
     </doc>
 
 
     <doc for="text.weight.medium">
     <doc for="text.weight.medium">
         <summary>
         <summary>
             Sets the font weight to "medium" (equivalent to CSS 500).
             Sets the font weight to "medium" (equivalent to CSS 500).
-            <a href="https://www.questpdf.com/api-reference/text.html#font-weight">Learn more</a>
+            <a href="https://www.questpdf.com/api-reference/text/text-style.html#font-weight">Learn more</a>
         </summary>
         </summary>
     </doc>
     </doc>
 
 
     <doc for="text.weight.semiBold">
     <doc for="text.weight.semiBold">
         <summary>
         <summary>
             Sets the font weight to "semi bold" (equivalent to CSS 600).
             Sets the font weight to "semi bold" (equivalent to CSS 600).
-            <a href="https://www.questpdf.com/api-reference/text.html#font-weight">Learn more</a>
+            <a href="https://www.questpdf.com/api-reference/text/text-style.html#font-weight">Learn more</a>
         </summary>
         </summary>
     </doc>
     </doc>
 
 
     <doc for="text.weight.bold">
     <doc for="text.weight.bold">
         <summary>
         <summary>
             Sets the font weight to "bold" (equivalent to CSS 700).
             Sets the font weight to "bold" (equivalent to CSS 700).
-            <a href="https://www.questpdf.com/api-reference/text.html#font-weight">Learn more</a>
+            <a href="https://www.questpdf.com/api-reference/text/text-style.html#font-weight">Learn more</a>
         </summary>
         </summary>
     </doc>
     </doc>
 
 
     <doc for="text.weight.extraBold">
     <doc for="text.weight.extraBold">
         <summary>
         <summary>
             Sets the font weight to "extra bold" (equivalent to CSS 800).
             Sets the font weight to "extra bold" (equivalent to CSS 800).
-            <a href="https://www.questpdf.com/api-reference/text.html#font-weight">Learn more</a>
+            <a href="https://www.questpdf.com/api-reference/text/text-style.html#font-weight">Learn more</a>
         </summary>
         </summary>
     </doc>
     </doc>
 
 
     <doc for="text.weight.black">
     <doc for="text.weight.black">
         <summary>
         <summary>
             Sets the font weight to "black" (equivalent to CSS 900).
             Sets the font weight to "black" (equivalent to CSS 900).
-            <a href="https://www.questpdf.com/api-reference/text.html#font-weight">Learn more</a>
+            <a href="https://www.questpdf.com/api-reference/text/text-style.html#font-weight">Learn more</a>
         </summary>
         </summary>
     </doc>
     </doc>
 
 
     <doc for="text.weight.extraBlack">
     <doc for="text.weight.extraBlack">
         <summary>
         <summary>
             Sets the font weight to "extra black" (equivalent to CSS 1000).
             Sets the font weight to "extra black" (equivalent to CSS 1000).
-            <a href="https://www.questpdf.com/api-reference/text.html#font-weight">Learn more</a>
+            <a href="https://www.questpdf.com/api-reference/text/text-style.html#font-weight">Learn more</a>
         </summary>
         </summary>
     </doc>
     </doc>
 
 
@@ -501,21 +501,21 @@
     <doc for="text.position.normal">
     <doc for="text.position.normal">
         <summary>
         <summary>
             Resets the text position and size to default, utilizing the full available line height.
             Resets the text position and size to default, utilizing the full available line height.
-            <a href="https://www.questpdf.com/api-reference/text.html#subscript-and-superscript">Learn more</a>
+            <a href="https://www.questpdf.com/api-reference/text/text-style.html#subscript">Learn more</a>
         </summary>
         </summary>
     </doc>
     </doc>
 
 
     <doc for="text.position.subscript">
     <doc for="text.position.subscript">
         <summary>
         <summary>
             Sets the text style to subscript, making it smaller and positioning it below the baseline, e.g.: H₂0.
             Sets the text style to subscript, making it smaller and positioning it below the baseline, e.g.: H₂0.
-            <a href="https://www.questpdf.com/api-reference/text.html#subscript-and-superscript">Learn more</a>
+            <a href="https://www.questpdf.com/api-reference/text/text-style.html#subscript">Learn more</a>
         </summary>
         </summary>
     </doc>
     </doc>
 
 
     <doc for="text.position.superscript">
     <doc for="text.position.superscript">
         <summary>
         <summary>
             Sets the text style to subscript, making it smaller and positioning it above the baseline, e.g.: y² + x² = 1.
             Sets the text style to subscript, making it smaller and positioning it above the baseline, e.g.: y² + x² = 1.
-            <a href="https://www.questpdf.com/api-reference/text.html#subscript-and-superscript">Learn more</a>
+            <a href="https://www.questpdf.com/api-reference/text/text-style.html#superscript">Learn more</a>
         </summary>
         </summary>
     </doc>
     </doc>
     
     
@@ -524,21 +524,18 @@
     <doc for="text.direction.auto">
     <doc for="text.direction.auto">
         <summary>
         <summary>
             Resets the text direction, enabling content to follow the automatically detected direction.
             Resets the text direction, enabling content to follow the automatically detected direction.
-            <a href="https://www.questpdf.com/api-reference/text.html#forcing-text-direction-rtl">Learn more</a>
         </summary>
         </summary>
     </doc>
     </doc>
 
 
     <doc for="text.direction.ltr">
     <doc for="text.direction.ltr">
         <summary>
         <summary>
             Enforces a left-to-right text direction.
             Enforces a left-to-right text direction.
-            <a href="https://www.questpdf.com/api-reference/text.html#forcing-text-direction-rtl">Learn more</a>
         </summary>
         </summary>
     </doc>
     </doc>
 
 
     <doc for="text.direction.rtl">
     <doc for="text.direction.rtl">
         <summary>
         <summary>
             Enforces a right-to-left text direction.
             Enforces a right-to-left text direction.
-            <a href="https://www.questpdf.com/api-reference/text.html#forcing-text-direction-rtl">Learn more</a>
         </summary>
         </summary>
     </doc>
     </doc>
     
     
@@ -546,7 +543,7 @@
     <doc for="text.style">
     <doc for="text.style">
         <summary>
         <summary>
             Sets a font style using the typography pattern.
             Sets a font style using the typography pattern.
-            <a href="https://www.questpdf.com/api-reference/text.html#typography-pattern">Learn more</a>
+            <a href="https://www.questpdf.com/api-reference/text/basics.html#typography-pattern">Learn more</a>
         </summary>
         </summary>
         
         
         <remarks>
         <remarks>