-
Notifications
You must be signed in to change notification settings - Fork 5.2k
quic: Make the quic transport socket proto correctly appear as an option in the docs #42781
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Signed-off-by: Raven Black <[email protected]>
|
CC @envoyproxy/api-shepherds: Your approval is needed for changes made to |
|
/retest |
|
/docs |
|
Docs for this Pull Request will be rendered here: https://storage.googleapis.com/envoy-cncf-pr/42781/docs/index.html The docs are (re-)rendered each time the CI |
Signed-off-by: Raven Black <[email protected]>
|
API change is technical, so merging. |
…ion in the docs (envoyproxy#42781) Commit Message: quic: Make the quic transport socket proto correctly appear as an option in the docs Additional Description: This appears to have been added 5 years ago to hide the extension but we can make it visible now. This PR is based on envoyproxy#42471 but fixed so `do_ci.sh docs` passes. A question was raised about whether it needs to be in build extensions; there is precedent for extensions that are not, e.g. [envoy.matching.inputs.request_headers](https://github.com/search?q=repo%3Aenvoyproxy%2Fenvoy%20envoy.matching.inputs.request_headers&type=code) appears in `extensions_metadata.yaml` and does not appear in `extensions_build_config.bzl`. I think the difference is things that aren't from extension sources must instead appear as a `builtin` in `extensions_schema.yaml`, which appears to resolve the other failing test. It also needed a line of doc-visible comment added under the `#extension` line to avoid interpreting it some other way that resulted in a duplicate labels error. Previews of generated docs changes: [All the new header stuff](https://storage.googleapis.com/envoy-cncf-pr/fdb6735/docs/api-v3/extensions/transport_sockets/quic/v3/quic_transport.proto.html#extension-envoy-transport-sockets-quic) vs. [before](https://www.envoyproxy.io/docs/envoy/v1.36.4/api-v3/extensions/transport_sockets/quic/v3/quic_transport.proto.html) <details> <summary>screenshot for posterity</summary> <img width="927" height="831" alt="image" src="https://github.com/user-attachments/assets/3fa1feff-ab5e-4762-bbd7-a06e1a1333ff" /> </details> [quic appears in FilterChain transport_socket options](https://storage.googleapis.com/envoy-cncf-pr/fdb6735/docs/api-v3/config/listener/v3/listener_components.proto.html#envoy-v3-api-field-config-listener-v3-filterchain-transport-socket) vs. [before](https://www.envoyproxy.io/docs/envoy/v1.36.4/api-v3/config/listener/v3/listener_components.proto#extension-category-envoy-transport-sockets-downstream#envoy-v3-api-field-config-listener-v3-filterchain-transport-socket) <details> <summary>screenshot for posterity</summary> <img width="915" height="458" alt="image" src="https://github.com/user-attachments/assets/a4dadb34-bc9b-4bef-b41e-694f705e7cbc" /> </details> [quic appears in Cluster.TransportSocketMatch transport_socket options](https://storage.googleapis.com/envoy-cncf-pr/fdb6735/docs/api-v3/config/cluster/v3/cluster.proto.html#extension-category-envoy-transport-sockets-upstream) vs. [before](https://www.envoyproxy.io/docs/envoy/v1.36.4/api-v3/config/cluster/v3/cluster.proto.html#envoy-v3-api-field-config-cluster-v3-cluster-transportsocketmatch-transport-socket) <details> <summary>screenshot for posterity</summary> <img width="924" height="485" alt="image" src="https://github.com/user-attachments/assets/f1e029ea-965f-4ea6-99ed-88ed5b8dd552" /> </details> Risk Level: changes docs only Testing: CI Docs Changes: yes it is Release Notes: n/a Platform Specific Features: n/a --------- Signed-off-by: Raven Black <[email protected]> Signed-off-by: Boteng Yao <[email protected]>
Commit Message: quic: Make the quic transport socket proto correctly appear as an option in the docs
Additional Description: This appears to have been added 5 years ago to hide the extension but we can make it visible now.
This PR is based on #42471 but fixed so
do_ci.sh docspasses.A question was raised about whether it needs to be in build extensions; there is precedent for extensions that are not, e.g. envoy.matching.inputs.request_headers appears in
extensions_metadata.yamland does not appear inextensions_build_config.bzl. I think the difference is things that aren't from extension sources must instead appear as abuiltininextensions_schema.yaml, which appears to resolve the other failing test.It also needed a line of doc-visible comment added under the
#extensionline to avoid interpreting it some other way that resulted in a duplicate labels error.Previews of generated docs changes:
All the new header stuff vs. before
screenshot for posterity
quic appears in FilterChain transport_socket options vs. before
screenshot for posterity
quic appears in Cluster.TransportSocketMatch transport_socket options vs. before
screenshot for posterity
Risk Level: changes docs only
Testing: CI
Docs Changes: yes it is
Release Notes: n/a
Platform Specific Features: n/a