@itrocks/handbook 0.0.10 → 0.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,8 +6,8 @@ Follow [documentation conventions](markdown.md).
6
6
  Cover:
7
7
 
8
8
  - Defaults and behaviour for each dependency.
9
- - Framework-independent configuration showing how a consumer supplies it.
10
9
  - The functions or values supplied by it.rocks, with links to their owning package's documentation headings.
10
+ - Configuration showing how a consumer supplies it outside it.rocks.
11
11
 
12
12
  Use `bind()` in [framework/src/dependencies.ts](../../../../framework/src/dependencies.ts) as the source of truth.
13
13
  `src/framework.ts` calls it but does not define the bindings.
@@ -8,6 +8,17 @@ Write in UK English. These rules apply to all Markdown; content requirements are
8
8
  Document the current state only. When updating or moving documentation, remove obsolete content and redirect stubs;
9
9
  do not retain migration notices, previous behaviour or comparisons with earlier versions.
10
10
 
11
+ Organise package READMEs and supporting documentation in this order, including only applicable sections:
12
+
13
+ 1. Normal usage and capabilities shared by it.rocks and other contexts.
14
+ 2. Configuration, conventions and behaviour specific to integration with the it.rocks framework.
15
+ 3. Usage outside the it.rocks framework: both standalone applications and integration with other frameworks,
16
+ including manual setup and capabilities specific to those contexts.
17
+
18
+ Name context-specific sections explicitly. Keep manual setup and adapter wiring out of shared usage when it.rocks
19
+ already supplies them. Put dependency binding details in [dependency documentation](dependencies.md), linked from
20
+ the relevant context section.
21
+
11
22
  ## Formatting
12
23
 
13
24
  - Limit source lines to 120 columns, including Markdown syntax. Only indivisible content such as URLs may exceed it.
@@ -22,7 +22,8 @@ Use the unscoped package name as the title, followed by the canonical descriptio
22
22
 
23
23
  ## Content selection
24
24
 
25
- Include only useful sections, in usage order:
25
+ Follow the context order in [documentation conventions](markdown.md#content).
26
+ Within each applicable context, include only useful sections, in usage order:
26
27
 
27
28
  - Actual prerequisites and installation: `npm i @itrocks/<package>`; use `--save-dev` for development tools.
28
29
  - Required concepts or initialisation order, then the smallest complete usage example and observable result.
package/package.json CHANGED
@@ -25,5 +25,5 @@
25
25
  "type": "git",
26
26
  "url": "git+https://github.com/itrocks-ts/handbook.git"
27
27
  },
28
- "version": "0.0.10"
28
+ "version": "0.0.11"
29
29
  }