26 Commits

Author SHA1 Message Date
Mateusz Pusz 036efbdc0b feat(scripts): two-axis character labels and a merged Traits column in the reference
Update the systems reference generator for the two-axis quantity character and to reduce
the quantities table width:

- The Character column now prints the order with a `complex` prefix only when the field is
  complex (`scalar`, `complex scalar`, `vector`, `tensor`, `complex vector`,
  `complex tensor`), replacing the old `Real`/`Complex`/`Vector`/`Tensor` labels that mixed
  the two axes and could not express complex vectors or tensors.
- The separate `is_kind` and `non_negative` boolean columns are merged into one `Traits`
  column that shows `kind` and/or `≥ 0` only when set (blank otherwise), dropping a column
  and the per-row ticks.

Regenerated the affected systems reference pages.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-25 00:21:18 +02:00
Mateusz Pusz 199cc49a7e fix(scripts): update systems reference generator for the two-axis quantity_character
The QUANTITY_SPEC parser only recognized `quantity_character::` as a character override,
and the generated metadata-extraction program `switch`ed over the character enum. Both
broke once the ISQ definitions moved to the `quantity_tensor_order` / `quantity_field`
spelling and `quantity_character` became a struct.

- Treat `quantity_tensor_order::` and `quantity_field::` (alongside `quantity_character::`)
  as character overrides when deciding whether the third macro argument is an equation.
- Rewrite `character_to_string` to compare against the two-axis values instead of switching
  on an enum.

The regenerated reference is byte-identical (only the source hash changes).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-24 23:53:58 +02:00
Mateusz Pusz 3a8f70c034 docs: systems reference script now treats final as optional 2026-05-13 18:03:07 +02:00
Mateusz Pusz e73cef3194 style: pre-commit
Co-authored-by: Copilot <copilot@github.com>
2026-04-29 19:35:07 +02:00
Mateusz Pusz 477b8eb7f1 docs: marking of subkinds in hierarchies changed to subgraphs
Co-authored-by: Copilot <copilot@github.com>
2026-04-29 19:20:14 +02:00
Mateusz Pusz 0b6fabb0e9 style: pre-commit 2026-04-06 23:10:27 +02:00
Mateusz Pusz 41d83534f2 docs: last references to zeroth_xxx removed
Resolves #653
2026-04-06 23:04:08 +02:00
Mateusz Pusz a1e1e7cb21 feat: non-negative quantities support added
Resolves #468
2026-04-06 22:51:42 +02:00
Mateusz Pusz 21dc0e687a docs: system reference generator cache file handling improved 2026-02-25 22:18:17 +01:00
Mateusz Pusz 50d769e70f docs: "Overview" TOC entries replaced with more descriptive names 2026-02-25 12:00:42 +01:00
Mateusz Pusz c0a66f6e63 style: pre-commit 2026-02-24 11:37:24 +01:00
Mateusz Pusz 5653803516 docs: system reference generator fixed to handle using directives and build cross-system hierarchy trees 2026-02-24 11:33:57 +01:00
Mateusz Pusz d08fcbb564 style: pre-commit 2026-02-23 21:35:11 +01:00
Mateusz Pusz 48ff6f9b7f docs: constants support added to systems reference generator 2026-02-23 19:33:40 +01:00
Mateusz Pusz d8f0f52334 docs: systems refererence docs generator fixed 2026-02-21 13:05:23 +01:00
Mateusz Pusz fa55386086 style: pre-commit 2026-02-20 14:23:10 +01:00
Mateusz Pusz 7089cf27bf docs: system reference docs generator fixed 2026-02-20 14:16:26 +01:00
Mateusz Pusz 5b7d4702d0 docs: script now adds "Quantity Hierarchies" to the index page 2026-01-31 11:43:19 +01:00
Mateusz Pusz 4f14a92351 docs: quantity hierarchy handling improved 2026-01-20 13:57:17 +01:00
Mateusz Pusz f3efabfb0c docs: unreadable links in dark mode fixed for quantity hierarchies 2026-01-19 15:39:09 +01:00
Mateusz Pusz 1909d3d067 docs: broken links to some generated entities fixed 2026-01-18 16:44:46 +01:00
Mateusz Pusz be5e7881c5 style: pre-commit 2026-01-18 16:23:03 +01:00
Mateusz Pusz c4b8e0bdc9 docs: hyperlinks added to hierarchy trees 2026-01-18 14:40:45 +01:00
Mateusz Pusz f7ee6bf44e docs: improvements to systems generation script 2026-01-18 12:40:28 +01:00
Mateusz Pusz 170f4e4562 docs: hyperlinks added to system tables 2026-01-17 17:20:09 +01:00
Mateusz Pusz 35d766a8a5 docs: initial version of the systems documentation generator
Resolves #251
2026-01-16 18:00:09 +01:00