-
Notifications
You must be signed in to change notification settings - Fork 293
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cue: improve docs around AnyIndex and AnyString
When reading the rendered docs, it wasn't obvious to me how AnyIndex and AnyString were meant to be used. Only when I dug into the code did it seem apparent that they were Selectors that I could use with APIs taking selectors or paths like Value.LookupPath. Make that clear in the godocs, including a hint in LookupPath, as the old mechanism in Value.Elem is now hidden so the suggestion there to use LookupPath is not rendered in the docs page. While here, tweak other docs too to add links. Signed-off-by: Daniel Martí <[email protected]> Change-Id: I2ab981293822c4ecebc8c3b2ed01c8e86461fb6f Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1203309 TryBot-Result: CUEcueckoo <[email protected]> Reviewed-by: Matthew Sackman <[email protected]> Unity-Result: CUE porcuepine <[email protected]>
- Loading branch information
Showing
3 changed files
with
14 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters