elastic / elasticsearch-specification

Elasticsearch full specification
Apache License 2.0
120 stars 69 forks source link

Support for cross-references #716

Closed lcawl closed 4 weeks ago

lcawl commented 3 years ago

🚀 Feature Proposal

This is probably more of a nice-to-have than a must-have. There are often links/relationships/cross-references between our various APIs and properties. It would be nice to have a way to reference another API/object/property in our descriptions, such that we can ultimately render that as a link in our output.

Motivation

Cross-references that exist only as text are more likely to get out-dated (e.g. if API or property names change). It also requires the end-user to search for the referenced term instead of just following a link.

Example

Many of our API properties reference other properties, for example (potential cross-reference targets bolded):

lcawl commented 4 weeks ago

Replaced by https://github.com/elastic/elasticsearch-specification/issues/2758