This is an automated email from the ASF dual-hosted git repository.
jamesbognar pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/juneau.git
The following commit(s) were added to refs/heads/master by this push:
new 66cc745af Update new docs
66cc745af is described below
commit 66cc745af2634752540fed9c7040f5faaf40fc36
Author: James Bognar <[email protected]>
AuthorDate: Wed Sep 17 06:24:25 2025 -0400
Update new docs
---
.../docs/topics/02.06.00.ContextSettings.md | 2 +-
.../docs/topics/02.07.00.ContextAnnotations.md | 6 +-
...aTypeSwaps.md => 02.11.03.PerMediaTypeSwaps.md} | 0
...0.02.OneWaySwaps.md => 02.11.04.OneWaySwaps.md} | 0
...wapAnnotation.md => 02.11.05.SwapAnnotation.md} | 0
...emplatedSwaps.md => 02.11.06.TemplatedSwaps.md} | 0
...gateClasses.md => 02.11.07.SurrogateClasses.md} | 0
juneau-docs-poc/sidebars.ts | 97 +++++++++++++++-------
8 files changed, 72 insertions(+), 33 deletions(-)
diff --git a/juneau-docs-poc/docs/topics/02.06.00.ContextSettings.md
b/juneau-docs-poc/docs/topics/02.06.00.ContextSettings.md
index 70d816c0f..62a2fbda6 100644
--- a/juneau-docs-poc/docs/topics/02.06.00.ContextSettings.md
+++ b/juneau-docs-poc/docs/topics/02.06.00.ContextSettings.md
@@ -53,6 +53,6 @@ WriterSerializer serializer = Json5Serializer.DEFAULT
Default values for configurable settings can be set globally using either
system properties or environment variables.
-For example, the default `useWhitespace` setting can be set by either the
system property "WriterSerializer.useWhitespace" or environment variable
"WRITERSERIALIZER_USEWHITESPACE".
+For example, the default `useWhitespace` setting can be set by either the
system property `WriterSerializer.useWhitespace` or environment variable
`WRITERSERIALIZER_USEWHITESPACE`.
The builder setters will identify when default values can be set this way.
diff --git a/juneau-docs-poc/docs/topics/02.07.00.ContextAnnotations.md
b/juneau-docs-poc/docs/topics/02.07.00.ContextAnnotations.md
index f779ced30..224b5035f 100644
--- a/juneau-docs-poc/docs/topics/02.07.00.ContextAnnotations.md
+++ b/juneau-docs-poc/docs/topics/02.07.00.ContextAnnotations.md
@@ -23,7 +23,7 @@ public class AddressBookResource extends BasicRestServlet {
Config annotations defined on classes and methods can be applied to
serializers and parsers using the following methods:
<tree>
-<java-class>[org.apache.juneau.BeanContext.Builder]({{API_DOCS}}/org/apache/juneau/BeanContext/Builder.html)</java-class>
+<java-class>[BeanContext.Builder]({{API_DOCS}}/org/apache/juneau/BeanContext/Builder.html)</java-class>
<node-1><java-method>[applyAnnotations(Class...)]({{API_DOCS}}/org/apache/juneau/BeanContext/Builder.html#applyAnnotations(Class...))</java-method></node-1>
<node-1><java-method>[applyAnnotations(Method...)]({{API_DOCS}}/org/apache/juneau/BeanContext/Builder.html#applyAnnotations(Method...))</java-method></node-1>
</tree>
@@ -59,12 +59,12 @@ Config annotations are provided for all serializers and
parsers:
<java-class>[XmlConfig]({{API_DOCS}}/org/apache/juneau/xml/annotation/XmlConfig.html)</java-class>
</tree>
-Annotations normally applied to bean classes/methods/fields/parameters can
also be programmatically attatched to beans by using the "on" or "onClass"
annotation values as seen on the @Bean annotation in the example above.
+Annotations normally applied to bean classes/methods/fields/parameters can
also be programmatically attatched to beans by using the `on` or `onClass`
annotation values as seen on the @Bean annotation in the example above.
Annotations can also be applied directly to serializers and parsers using the
following method:
<tree>
-<java-class>[Builder]({{API_DOCS}}/org/apache/juneau/BeanContext/Builder.html)</java-class>
+<java-class>[BeanContext.Builder]({{API_DOCS}}/org/apache/juneau/BeanContext/Builder.html)</java-class>
<node-1><java-method>[annotations(Annotation...)]({{API_DOCS}}/org/apache/juneau/BeanContext/Builder.html#annotations(Annotation...))</java-method></node-1>
</tree>
diff --git a/juneau-docs-poc/docs/topics/02.10.01.PerMediaTypeSwaps.md
b/juneau-docs-poc/docs/topics/02.11.03.PerMediaTypeSwaps.md
similarity index 100%
rename from juneau-docs-poc/docs/topics/02.10.01.PerMediaTypeSwaps.md
rename to juneau-docs-poc/docs/topics/02.11.03.PerMediaTypeSwaps.md
diff --git a/juneau-docs-poc/docs/topics/02.10.02.OneWaySwaps.md
b/juneau-docs-poc/docs/topics/02.11.04.OneWaySwaps.md
similarity index 100%
rename from juneau-docs-poc/docs/topics/02.10.02.OneWaySwaps.md
rename to juneau-docs-poc/docs/topics/02.11.04.OneWaySwaps.md
diff --git a/juneau-docs-poc/docs/topics/02.10.03.SwapAnnotation.md
b/juneau-docs-poc/docs/topics/02.11.05.SwapAnnotation.md
similarity index 100%
rename from juneau-docs-poc/docs/topics/02.10.03.SwapAnnotation.md
rename to juneau-docs-poc/docs/topics/02.11.05.SwapAnnotation.md
diff --git a/juneau-docs-poc/docs/topics/02.10.04.TemplatedSwaps.md
b/juneau-docs-poc/docs/topics/02.11.06.TemplatedSwaps.md
similarity index 100%
rename from juneau-docs-poc/docs/topics/02.10.04.TemplatedSwaps.md
rename to juneau-docs-poc/docs/topics/02.11.06.TemplatedSwaps.md
diff --git a/juneau-docs-poc/docs/topics/02.10.05.SurrogateClasses.md
b/juneau-docs-poc/docs/topics/02.11.07.SurrogateClasses.md
similarity index 100%
rename from juneau-docs-poc/docs/topics/02.10.05.SurrogateClasses.md
rename to juneau-docs-poc/docs/topics/02.11.07.SurrogateClasses.md
diff --git a/juneau-docs-poc/sidebars.ts b/juneau-docs-poc/sidebars.ts
index dcd78e8a7..fe0c17535 100644
--- a/juneau-docs-poc/sidebars.ts
+++ b/juneau-docs-poc/sidebars.ts
@@ -187,63 +187,102 @@ const sidebars: SidebarsConfig = {
label: '2.9. Complex Data Types',
},
{
+ type: 'doc',
+ id: 'topics/02.10.00.SerializerSetsParserSets',
+ label: '2.10. Serializer/Parser Sets',
+ },
+ {
+
type: 'category',
- label: '2.10. Swaps',
+
+ label: '2.11. Swaps',
+
collapsed: true,
+
items: [
+
{
+
type: 'doc',
- id: 'topics/02.10.00.SerializerSetsParserSets',
- label: '2.10. Serializer/Parser Sets',
- },
- {
- type: 'doc',
- id: 'topics/02.10.01.PerMediaTypeSwaps',
- label: '2.10.1. Per-Media-Type Swaps',
+
+ id: 'topics/02.11.00.Swaps',
+
+ label: '2.11. Swaps',
+
},
+
{
+
type: 'doc',
- id: 'topics/02.10.02.OneWaySwaps',
- label: '2.10.2. One-Way Swaps',
+
+ id: 'topics/02.11.01.DefaultSwaps',
+
+ label: '2.11.1. Default Swaps',
+
},
+
{
+
type: 'doc',
- id: 'topics/02.10.03.SwapAnnotation',
- label: '2.10.3. @Swap Annotation',
+
+ id: 'topics/02.11.02.AutoSwaps',
+
+ label: '2.11.2. Auto-detected swaps',
+
},
+
{
+
type: 'doc',
- id: 'topics/02.10.04.TemplatedSwaps',
- label: '2.10.4. Templated Swaps',
+
+ id: 'topics/02.11.03.PerMediaTypeSwaps',
+
+ label: '2.11.3. Per-media-type Swaps',
+
},
+
{
+
type: 'doc',
- id: 'topics/02.10.05.SurrogateClasses',
- label: '2.10.5. Surrogate Classes',
+
+ id: 'topics/02.11.04.OneWaySwaps',
+
+ label: '2.11.4. One-way Swaps',
+
},
- ],
- },
- {
- type: 'category',
- label: '2.11. Swaps',
- collapsed: true,
- items: [
+
{
+
type: 'doc',
- id: 'topics/02.11.00.Swaps',
- label: '2.11. Swaps',
+
+ id: 'topics/02.11.05.SwapAnnotation',
+
+ label: '2.11.5. @Swap Annotation',
+
},
+
{
+
type: 'doc',
- id: 'topics/02.11.01.DefaultSwaps',
- label: '2.11.1. Default Swaps',
+
+ id: 'topics/02.11.06.TemplatedSwaps',
+
+ label: '2.11.6. Templated Swaps',
+
},
+
{
+
type: 'doc',
- id: 'topics/02.11.02.AutoSwaps',
- label: '2.11.2. Auto Swaps',
+
+ id: 'topics/02.11.07.SurrogateClasses',
+
+ label: '2.11.7. Surrogate Classes',
+
},
+
],
+
},
{
type: 'category',