fix: stale wiki/ path literals nach kb/ nachgezogen, mit Test-Guard gegen die naechste Umbenennung
Files changed: - CHANGES.md - VERSION - kb/entities/projects/Chemenu.md - kb/log.md - tools/chemenu/commands/_util.py - tools/chemenu/commands/cite_cmd.py - tools/chemenu/commands/git_publish.py - tools/chemenu/commands/log_append.py - tools/chemenu/commands/page_ops.py - tools/chemenu/commands/provenance_cmd.py - tools/chemenu/commands/raw_cmd.py - tools/chemenu/commands/run_budget.py - tools/chemenu/commands/touch.py - tools/chemenu/commands/xref.py - tools/chemenu/frontmatter_io.py - tools/chemenu/lint_core.py - tools/chemenu/tests/test_log_append.py - tools/chemenu/tests/test_source_hygiene.py - tools/chemenu/tests/test_touch.py - tools/chemenu/tests/test_type_resolver.py - tools/chemenu/type_resolver.py - tools/wikitool - types/type-spec.md - types/type-spec.schema.yaml
This commit is contained in:
+1
-1
@@ -178,7 +178,7 @@ genuinely that uniform. Once the default was removed and the pages reclassified
|
||||
actually were, the field split into six areas with none of them small. Declare `layout` for
|
||||
*every* enum value once it does: a value missing from it still gets a directory (`subtype_dir`
|
||||
falls back to naively pluralizing the value's own name), but that directory carries no title in
|
||||
`wiki/index.md`, which is a silent gap rather than a deliberate flat collection. Leaving a whole
|
||||
`kb/index.md`, which is a silent gap rather than a deliberate flat collection. Leaving a whole
|
||||
type's `layout` off is for the case in the paragraph above - no subtype field to key on at all
|
||||
- not for a subtype field one has simply not gotten around to mapping. A `dir:` must be a single
|
||||
path segment, because an area is as deep as a page goes.
|
||||
|
||||
@@ -26,8 +26,8 @@ properties:
|
||||
type: object
|
||||
description: >-
|
||||
Optional map of subtype value -> {dir, title}, declaring where instances
|
||||
of each subtype are written under wiki/ and what section title/order to
|
||||
use in wiki/index.md. Only types with subtype-driven directory
|
||||
of each subtype are written under kb/ and what section title/order to
|
||||
use in kb/index.md. Only types with subtype-driven directory
|
||||
placement (e.g. entity) need this; omit for types with a single flat
|
||||
directory.
|
||||
additionalProperties:
|
||||
@@ -46,11 +46,11 @@ properties:
|
||||
base_dir:
|
||||
type: string
|
||||
description: >-
|
||||
Directory, relative to the wiki root (wiki/), where instances of this
|
||||
Directory, relative to the KB root (kb/), where instances of this
|
||||
type are written - e.g. `entities`. Required on every instantiable
|
||||
type; omit only for types that are never instantiated as pages (e.g.
|
||||
type-spec itself). Combined with `layout:` for subtype-driven
|
||||
placement, giving wiki/<base_dir>/<layout[subtype].dir>/<Title>.md.
|
||||
placement, giving kb/<base_dir>/<layout[subtype].dir>/<Title>.md.
|
||||
pattern: "^[a-z][a-z0-9/_-]*$"
|
||||
title_prefix:
|
||||
type: string
|
||||
|
||||
Reference in New Issue
Block a user