You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs(apidoc): transform Go map syntax to JSON-like format (#39)
Transform Go map representation (map[key:value]) to JSON-like syntax
({key:value }) in generated API documentation, making default values more
intuitive for users unfamiliar with Go.
This change applies the fix from cloudnative-pg/cloudnative-pg#9777 to
all versioned documentation (1.25, 1.26, 1.27, 1.28) and the development
version.
The specific change transforms the replicationSlots default value from:
```
\{ highAvailability:map[enabled:true] \}
```
to:
```
\{ highAvailability\: \{ enabled:true \} \}
```
This resolves Docusaurus v3 rendering issues where the `:map` portion
was being misinterpreted as a Markdown directive and removed from the
rendered output.
Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
Copy file name to clipboardExpand all lines: website/docs/cloudnative-pg.v1.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -576,7 +576,7 @@ _Appears in:_
576
576
|`minSyncReplicas`_integer_| Minimum number of instances required in synchronous replication with the<br />primary. Undefined or 0 allow writes to complete when no standby is<br />available. || 0 | Minimum: 0 <br /> |
577
577
|`maxSyncReplicas`_integer_| The target value for the synchronous replication quorum, that can be<br />decreased if the number of ready standbys is lower than this.<br />Undefined or 0 disable synchronous replication. || 0 | Minimum: 0 <br /> |
578
578
|`postgresql`_[PostgresConfiguration](#postgresconfiguration)_| Configuration of the PostgreSQL server ||||
|`superuserSecret`_[LocalObjectReference](https://pkg.go.dev/github.com/cloudnative-pg/machinery/pkg/api#LocalObjectReference)_| The secret containing the superuser password. If not defined a new<br />secret will be created with a randomly generated password ||||
Copy file name to clipboardExpand all lines: website/versioned_docs/version-1.25/cloudnative-pg.v1.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -572,7 +572,7 @@ _Appears in:_
572
572
|`minSyncReplicas`_integer_| Minimum number of instances required in synchronous replication with the<br />primary. Undefined or 0 allow writes to complete when no standby is<br />available. || 0 | Minimum: 0 <br /> |
573
573
|`maxSyncReplicas`_integer_| The target value for the synchronous replication quorum, that can be<br />decreased if the number of ready standbys is lower than this.<br />Undefined or 0 disable synchronous replication. || 0 | Minimum: 0 <br /> |
574
574
|`postgresql`_[PostgresConfiguration](#postgresconfiguration)_| Configuration of the PostgreSQL server ||||
|`superuserSecret`_[LocalObjectReference](https://pkg.go.dev/github.com/cloudnative-pg/machinery/pkg/api#LocalObjectReference)_| The secret containing the superuser password. If not defined a new<br />secret will be created with a randomly generated password ||||
Copy file name to clipboardExpand all lines: website/versioned_docs/version-1.26/cloudnative-pg.v1.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -573,7 +573,7 @@ _Appears in:_
573
573
|`minSyncReplicas`_integer_| Minimum number of instances required in synchronous replication with the<br />primary. Undefined or 0 allow writes to complete when no standby is<br />available. || 0 | Minimum: 0 <br /> |
574
574
|`maxSyncReplicas`_integer_| The target value for the synchronous replication quorum, that can be<br />decreased if the number of ready standbys is lower than this.<br />Undefined or 0 disable synchronous replication. || 0 | Minimum: 0 <br /> |
575
575
|`postgresql`_[PostgresConfiguration](#postgresconfiguration)_| Configuration of the PostgreSQL server ||||
|`superuserSecret`_[LocalObjectReference](https://pkg.go.dev/github.com/cloudnative-pg/machinery/pkg/api#LocalObjectReference)_| The secret containing the superuser password. If not defined a new<br />secret will be created with a randomly generated password ||||
Copy file name to clipboardExpand all lines: website/versioned_docs/version-1.27/cloudnative-pg.v1.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -574,7 +574,7 @@ _Appears in:_
574
574
|`minSyncReplicas`_integer_| Minimum number of instances required in synchronous replication with the<br />primary. Undefined or 0 allow writes to complete when no standby is<br />available. || 0 | Minimum: 0 <br /> |
575
575
|`maxSyncReplicas`_integer_| The target value for the synchronous replication quorum, that can be<br />decreased if the number of ready standbys is lower than this.<br />Undefined or 0 disable synchronous replication. || 0 | Minimum: 0 <br /> |
576
576
|`postgresql`_[PostgresConfiguration](#postgresconfiguration)_| Configuration of the PostgreSQL server ||||
|`superuserSecret`_[LocalObjectReference](https://pkg.go.dev/github.com/cloudnative-pg/machinery/pkg/api#LocalObjectReference)_| The secret containing the superuser password. If not defined a new<br />secret will be created with a randomly generated password ||||
Copy file name to clipboardExpand all lines: website/versioned_docs/version-1.28/cloudnative-pg.v1.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -574,7 +574,7 @@ _Appears in:_
574
574
|`minSyncReplicas`_integer_| Minimum number of instances required in synchronous replication with the<br />primary. Undefined or 0 allow writes to complete when no standby is<br />available. || 0 | Minimum: 0 <br /> |
575
575
|`maxSyncReplicas`_integer_| The target value for the synchronous replication quorum, that can be<br />decreased if the number of ready standbys is lower than this.<br />Undefined or 0 disable synchronous replication. || 0 | Minimum: 0 <br /> |
576
576
|`postgresql`_[PostgresConfiguration](#postgresconfiguration)_| Configuration of the PostgreSQL server ||||
|`superuserSecret`_[LocalObjectReference](https://pkg.go.dev/github.com/cloudnative-pg/machinery/pkg/api#LocalObjectReference)_| The secret containing the superuser password. If not defined a new<br />secret will be created with a randomly generated password ||||
0 commit comments