diff --git a/dev/.documenter-siteinfo.json b/dev/.documenter-siteinfo.json index 6b0266b..b272e80 100644 --- a/dev/.documenter-siteinfo.json +++ b/dev/.documenter-siteinfo.json @@ -1 +1 @@ -{"documenter":{"julia_version":"1.11.2","generation_timestamp":"2025-01-01T01:38:53","documenter_version":"1.8.0"}} \ No newline at end of file +{"documenter":{"julia_version":"1.11.3","generation_timestamp":"2025-02-01T01:27:04","documenter_version":"1.8.0"}} \ No newline at end of file diff --git a/dev/api/index.html b/dev/api/index.html index cb5abe4..6e80b73 100644 --- a/dev/api/index.html +++ b/dev/api/index.html @@ -1,2 +1,2 @@ -API Reference · PrettyPrinting.jl

API Reference

PrettyPrinting.quoteofFunction
quoteof(obj)

Convert an object to its representation in Julia AST.

Implement this method to customize pprint on a user-defined type.

source
PrettyPrinting.tileFunction
tile(obj)

Convert an object to the corresponding layout expression.

Implement this method to customize pprint on a user-defined type.

source
+API Reference · PrettyPrinting.jl

API Reference

PrettyPrinting.quoteofFunction
quoteof(obj)

Convert an object to its representation in Julia AST.

Implement this method to customize pprint on a user-defined type.

source
PrettyPrinting.tileFunction
tile(obj)

Convert an object to the corresponding layout expression.

Implement this method to customize pprint on a user-defined type.

source
diff --git a/dev/guide/index.html b/dev/guide/index.html index 377f234..eacbff3 100644 --- a/dev/guide/index.html +++ b/dev/guide/index.html @@ -157,4 +157,4 @@ antic -> (anticipation)), arc -> (arch -> (archduke, archer)), awl) -=#

In summary, there are two ways to customize pprint() for a user-defined type T.

  1. Define PrettyPrinting.quoteof(::T), which should return an Expr object.
  2. Define PrettyPrinting.tile(::T), which should return a layout expression.
+=#

In summary, there are two ways to customize pprint() for a user-defined type T.

  1. Define PrettyPrinting.quoteof(::T), which should return an Expr object.
  2. Define PrettyPrinting.tile(::T), which should return a layout expression.
diff --git a/dev/index.html b/dev/index.html index ef90251..67f38dd 100644 --- a/dev/index.html +++ b/dev/index.html @@ -1,2 +1,2 @@ -Home · PrettyPrinting.jl

PrettyPrinting.jl

PrettyPrinting is a Julia library for optimal formatting of composite data structures. It works by generating all possible layouts of the data, and then selecting the best layout that fits the screen width. The algorithm for finding the optimal layout is based upon Phillip Yelland, A New Approach to Optimal Code Formatting, 2016.

Out of the box, PrettyPrinting can format Julia code and standard Julia containers. It can be easily extended to format custom data structures.

Table of Contents

+Home · PrettyPrinting.jl

PrettyPrinting.jl

PrettyPrinting is a Julia library for optimal formatting of composite data structures. It works by generating all possible layouts of the data, and then selecting the best layout that fits the screen width. The algorithm for finding the optimal layout is based upon Phillip Yelland, A New Approach to Optimal Code Formatting, 2016.

Out of the box, PrettyPrinting can format Julia code and standard Julia containers. It can be easily extended to format custom data structures.

Table of Contents

diff --git a/dev/test/index.html b/dev/test/index.html index 14bdcbe..d2ddf28 100644 --- a/dev/test/index.html +++ b/dev/test/index.html @@ -444,4 +444,4 @@ end end -=# +=#