You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*: Use inline links for remaining internal references
Since f9dc90b (make link usage consistent across the specification,
2017-02-09, #687), the official style is to only use reference-style
links for external links. I expect the remaining three entries just
slipped through. This commit adjusts everything found with:
$ git grep ']: [a-z]' | grep -v http
It also fixes the underscore -> hyphen in the
glossary.md#container-namespace target and updates the capabilities
location to catch up with 5a8a779 (Move process specific settings to
process, 2016-03-02, #329).
Signed-off-by: W. Trevor King <[email protected]>
Copy file name to clipboardExpand all lines: style.md
+2-4
Original file line number
Diff line number
Diff line change
@@ -8,12 +8,12 @@ For example, this paragraph will span three lines in the Markdown source.
8
8
9
9
## <aname="styleHex" />Traditionally hex settings should use JSON integers, not JSON strings
10
10
11
-
For example, [`"classID": 1048577`][class-id] instead of `"classID": "0x100001"`.
11
+
For example, [`"classID": 1048577`](config-linux.md#network) instead of `"classID": "0x100001"`.
12
12
The config JSON isn't enough of a UI to be worth jumping through string <-> integer hoops to support an 0x… form ([source][integer-over-hex]).
13
13
14
14
## <aname="styleConstantNames" />Constant names should keep redundant prefixes
15
15
16
-
For example, `CAP_KILL` instead of `KILL` in [**`linux.capabilities`**][capabilities].
16
+
For example, `CAP_KILL` instead of `KILL` in [**`process.capabilities`**](config.md#process).
17
17
The redundancy reduction from removing the namespacing prefix is not useful enough to be worth trimming the upstream identifier ([source][keep-prefix]).
18
18
19
19
## <aname="styleOptionalSettings" />Optional settings should not have pointer Go types
@@ -120,8 +120,6 @@ The URL for the Open Containers link above is: https://github.com/opencontainers
0 commit comments