Files
galaxy/scripts
John ChiltonandClaude Opus 4.8 25db54f9ef Make directives.yml the source of truth for the directive registry
Flip the relationship between directives.yml and the Python validator: the YAML
is now authoritative and scripts/markdown_directives_doc.py generates everything
downstream of it:

- lib/galaxy/managers/_markdown_directives.py - generated VALID_ARGUMENTS,
  EMBED_CAPABLE_DIRECTIVES, SHARED_ARGUMENTS, DynamicArguments; markdown_parse
  re-exports these, staying self-contained (no YAML at runtime) so it remains
  reusable outside Galaxy (e.g. gxformat2).
- client .../Utilities/requirements.yml - generated from each directive's
  'requires', removing the hand-maintained duplicate.
- directives.md - unchanged generator, now fed by the same source.

Add _shared_arguments to directives.yml (homes 'collapse' as data). Replace the
now-tautological yml-vs-parser cross-check with internal yml validation plus a
dispatch-coverage check against markdown_util.py (the gap that hid the dead
instance_citation_bibtex directive). Guard all three generated artifacts in
test_markdown_directives_doc.py and via make client-gen-markdown-directives.

Emit the directives.md tables pre-formatted to match prettier (column padding),
so the generated reference is prettier-stable and needs no ignore entry; drop the
ineffective client/.prettierignore line for it.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-07 17:11:29 -04:00
..
2026-01-20 10:25:45 +00:00
2022-02-03 07:42:20 -05:00
2026-01-20 10:25:45 +00:00
2026-01-20 10:25:45 +00:00
2024-11-24 21:35:23 +00:00
2025-03-15 17:12:02 +00:00
2022-02-03 07:42:20 -05:00
2026-01-20 10:25:45 +00:00
2025-07-31 11:17:22 +01:00
2024-11-24 21:35:23 +00:00
2026-06-25 15:12:05 +01:00
2022-09-28 15:45:00 -04:00
2024-11-24 21:35:23 +00:00
2024-11-24 21:35:23 +00:00
2022-02-03 07:42:20 -05:00
2026-06-25 15:12:05 +01:00
2026-01-20 10:25:45 +00:00
2022-02-03 07:42:20 -05:00
2022-02-03 07:42:20 -05:00
2026-06-25 15:12:05 +01:00
2025-05-09 10:53:43 +02:00
2026-01-20 10:25:45 +00:00
2022-02-03 07:42:20 -05:00
2022-06-02 14:53:55 -04:00