Skip to content

Commit b664f0c

Browse files
committed
internal/mod: kick off WIP doc to track FAQs, points to document
Start a WIP doc which captures things we need to document, questions we need to answer etc as part of any modules implementation. Doing this as part of the main CUE repo means we can add such points/questions alongside the changes the pompt them. Using a WIP markdown file for now also punts the decision on where the end documentation actually ends up. Signed-off-by: Paul Jolly <[email protected]> Change-Id: I8c973dadd1ed3198008f3a895913865185f85544 Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1170070 TryBot-Result: CUEcueckoo <[email protected]> Unity-Result: CUE porcuepine <[email protected]> Reviewed-by: Roger Peppe <[email protected]>
1 parent 1227a83 commit b664f0c

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

internal/mod/README.md

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
## WIP Modules FAQ/README/etc
2+
3+
This is a WIP file in which we capture aspects of the modules implementation
4+
that need documenting. Some take the form of FAQ-like questions, others are
5+
simply details which we need to ensure are documented. Some of the points
6+
listed below could be part of a modules reference doc, others a modules FAQ...
7+
We don't seek to make a decision on what docs/FAQs etc should exist, just use
8+
this opportunity to capture the bits that need coverage.
9+
10+
Some of the questions below are presented with answers, many are just left here
11+
as a TODO.
12+
13+
The goal of this doc is to capture things in a central VCS-based file, alongside
14+
the code that "raises" the question/similar.
15+
16+
* Documentation around defaulting the value of `CUE_REGISTRY` (or whatever we
17+
call it) to the central registry.
18+
* Document that `pkg`, `usr` and `gen` directories cannot co-exist with modules,
19+
and make clear what users (especially of `gen`) should probably do instead.
20+
* Document potential future vendor behaviour.
21+
* Document what we mean by a "canonical" version, how this differs from a
22+
"well-formed" version. Present examples of each.

0 commit comments

Comments
 (0)