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: clean up docs to make them consistent (#40067)
## Description
This PR have some cleanup in cluster, endpoint and WASM proto docs for
consistency. We are using the new note and warning annotations and the
backticks inconsistently throughout right now.
---
**Commit Message:** docs: clean up docs to make them consistent
**Additional Description:** Minor clean up for added clarity on the
docs.
**Risk Level:** N/A
**Testing:** N/A
**Docs Changes:** N/A
**Release Notes:** N/A
Signed-off-by: Rohit Agrawal <[email protected]>
Mirrored from https://github.com/envoyproxy/envoy @ cfc60e5401654ede6eaf3589d082914c5059cbf9
// Configuration for sanitization of inputs to an allowed capability.
66
66
//
67
-
// NOTE: This is currently unimplemented.
67
+
// .. note::
68
+
// This is currently unimplemented.
68
69
messageSanitizationConfig {
69
70
}
70
71
@@ -109,14 +110,16 @@ message VmConfig {
109
110
config.core.v3.AsyncDataSourcecode=3;
110
111
111
112
// The Wasm configuration used in initialization of a new VM
112
-
// (proxy_on_start). ``google.protobuf.Struct`` is serialized as JSON before
113
+
// (``proxy_on_start``). ``google.protobuf.Struct`` is serialized as JSON before
113
114
// passing it to the plugin. ``google.protobuf.BytesValue`` and
114
115
// ``google.protobuf.StringValue`` are passed directly without the wrapper.
115
116
google.protobuf.Anyconfiguration=4;
116
117
117
118
// Allow the wasm file to include pre-compiled code on VMs which support it.
118
-
// Warning: this should only be enable for trusted sources as the precompiled code is not
119
-
// verified.
119
+
//
120
+
// .. warning::
121
+
// This should only be enabled for trusted sources as the precompiled code is not
122
+
// verified.
120
123
boolallow_precompiled=5;
121
124
122
125
// If true and the code needs to be remotely fetched and it is not in the cache then NACK the configuration
@@ -129,7 +132,9 @@ message VmConfig {
129
132
// are generally called implicitly by your language's standard library. Therefore, you do not
130
133
// need to call them directly. You can access environment variables in the same way you would
131
134
// on native platforms.
132
-
// Warning: Envoy rejects the configuration if there's conflict of key space.
135
+
//
136
+
// .. warning::
137
+
// Envoy rejects the configuration if there's conflict of key space.
133
138
EnvironmentVariablesenvironment_variables=7;
134
139
}
135
140
@@ -168,11 +173,14 @@ message PluginConfig {
168
173
// ``google.protobuf.StringValue`` are passed directly without the wrapper.
169
174
google.protobuf.Anyconfiguration=4;
170
175
171
-
// If there is a fatal error on the VM (e.g. exception, abort(), on_start or on_configure return false),
176
+
// If there is a fatal error on the VM (e.g. exception, ``abort()``, ``on_start`` or ``on_configure`` return false),
172
177
// then all plugins associated with the VM will either fail closed (by default), e.g. by returning an HTTP 503 error,
173
-
// or fail open (if 'fail_open' is set to true) by bypassing the filter. Note: when on_start or on_configure return false
174
-
// during xDS updates the xDS configuration will be rejected and when on_start or on_configuration return false on initial
175
-
// startup the proxy will not start.
178
+
// or fail open (if 'fail_open' is set to true) by bypassing the filter.
179
+
//
180
+
// .. note::
181
+
// When ``on_start`` or ``on_configure`` return ``false`` during xDS updates the xDS configuration will be rejected and when ``on_start`` or ``on_configure`` return ``false`` on
182
+
// initial startup the proxy will not start.
183
+
//
176
184
// This field is deprecated in favor of the ``failure_policy`` field.
0 commit comments