Better user-centric API documentation
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Documentation
- Clarity
- Needs clarification
- Activity status
- Stale
- Domain
- api, documentation
Research direction
Start by reviewing the current VirtualService API documentation and the linked prior-art examples, especially the HTTPRouteDestination, HTTPRewrite, and rewrite sections. Define a user-facing YAML-oriented structure with direct field links, consolidated descriptions, and validation details that match the API. Done means the resulting documentation is easier to construct from YAML examples and accurately represents validation behavior.
Written by the indexing model from the issue text.
Description
Currently, our API docs (https://istio.io/latest/docs/reference/config/networking/virtual-service/) are not well suited for human consumption IMO.
The structure of the docs is based on proto. Users interacting with Istio, however, do not use proto - they use YAML. Something like HTTPRouteDestination is confusing -- a user literally never sees this! The primary way a user can construct an actual YAML is by copying examples and tweaking them, as the docs themselves only loosely correlate to the YAML.
Additionally, we end up with multiple docs. For example, HTTPRewrite object has one description, and the field rewrite has a different one -- to a user, logically these are the same.
Another minor issue is I cannot link to an individual field (hence I could not link to rewrite directly).
We have one column for "required" or not, but its not always accurate, and doesn't fully represent the api validation logic.
Prior art (not saying these are good or bad necessarily, just some examples(:
https://doc.crds.dev/github.com/istio/api/extensions.istio.io/WasmPlugin/[email protected]
https://developer.hashicorp.com/consul/docs/connect/config-entries/ingress-gateway
https://linkerd.io/2.15/reference/httproute/
https://gateway-api.sigs.k8s.io/reference/spec/#gateway.networking.k8s.io/v1.HTTPRoute
https://github.com/kubernetes-sigs/gateway-api/pull/3204
https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/listener/v3/listener_components.proto
- Dominant language
- Go
- Stars
- 523
- Forks
- 623
- Avg merge
- 5d 20h
- Merged PRs (30d)
- 4
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from istio/api
-
Gateway CRD accepts both credentialName and tlsCertificates in server TLS settingsPossibly taken @RaphaelFakhri claimed this 23 days ago. Openarea/networking area/user experience
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
Maintainers usually reply within 1 day
-
area/user experience kind/docs kind/enhancement
Difficulty 5/5 Over a week Newbie friendliness 40/100
Maintainers usually reply within 1 day
-
area/networking area/user experience kind/docs kind/enhancement
Difficulty 5/5 Over a week Newbie friendliness 45/100
Maintainers usually reply within 1 day
-
[release-1.29] change default of statsCompression to trueMay be free again @keithmattix claimed this 304 days ago, and no pull request is open. Open
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
Maintainers usually reply within 1 day
Similar issues
-
bug raised-by:verifier to:worker
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
medici-finance/assay#7835 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
golang-malawi/qatarina#496 ·
Maintainers usually reply within 2 days
-
hive size:simple
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
documentation stage:review
Difficulty 1/5 1-3 hours Newbie friendliness 70/100
Maintainers usually reply within 1 day
-
Type/Bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
wso2/identity-customer-data-service#430 ·
Maintainers usually reply within 1 day