-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs/concept: update modules guide for CUE v0.9.0+
This updates the "Modules, Packages and Instances" concept guide for the "new" modules implementation that's the default in CUE v0.9.0 and later. The term "module identifier" is updated to "module path" throughout, and sections are added to explain the current package search algorithm. This update is (mostly) intended to maintain the same document structure and flow, whilst making sure that no incorrect prose is presented and that deprecated features (such as cue.mod/{pkg,usr,gen}) aren't held out as current and recommended. Some significant additional prose is added to contextualise the deprecated features, and to expand on the multiple disk locations at which a package might be found and their potential interactions. The previous version of the guide is archived at a different path, clearly marked as relating to "old" modules, and with an explanatory preamble that should prevent anyone making an active choice to use old modules if they don't need to for legacy reasons. This update doesn't perform a full rewrite of the guide. That will be done later, when the guide is moved under the /docs/concept/modules/ hierarchy. Some rewording *is* included in this update (beyond that required to meet this change's headline goal), but this isn't exhaustive or complete. The guide's code blocks aren't modernised, as this will also be done during the more significant rewrite. Closes cue-lang/docs-and-content#179 Preview-Path: /docs/concept/modules-packages-instances/ Preview-Path: /docs/concept/old-modules-packages-instances/ Signed-off-by: Jonathan Matthews <[email protected]> Change-Id: I01ef4b5e21a60f966919a593797b90b1a420cf86 Dispatch-Trailer: {"type":"trybot","CL":1200085,"patchset":22,"ref":"refs/changes/85/1200085/22","targetBranch":"master"}
- Loading branch information
1 parent
0fd4d08
commit 6c3bf99
Showing
7 changed files
with
1,050 additions
and
154 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
Oops, something went wrong.