Skip to content

docs: fix template marker documentation drift#761

Merged
jamesadevine merged 1 commit into
mainfrom
docs/fix-template-marker-documentation-02c8b28479feb18d
May 26, 2026
Merged

docs: fix template marker documentation drift#761
jamesadevine merged 1 commit into
mainfrom
docs/fix-template-marker-documentation-02c8b28479feb18d

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

Documentation Freshness Audit

This audit found the following inconsistencies between code and documentation:

Findings

Area Issue File(s)
Template Markers Missing documentation for actively-used markers docs/template-markers.md
Template Markers Obsolete markers still documented as current docs/template-markers.md

Details

Missing documentation:

  • {{ stage_prefix }} — used in src/data/job-base.yml and src/data/stage-base.yml to generate unique job/stage names
  • {{ template_parameters }} — used in src/data/job-base.yml and src/data/stage-base.yml to emit the top-level parameters block

Obsolete marker documentation:

  • {{ pipeline_path }} — no longer used in any template file
  • {{ trigger_repo_directory }} — no longer used in any template file
  • {{ mcp_client_config }} — documented as removed but still listed among current markers

Applied Fixes

  • Add complete documentation for {{ stage_prefix }} marker
  • Add complete documentation for {{ template_parameters }} marker
  • Remove documentation for obsolete {{ pipeline_path }} marker
  • Remove documentation for obsolete {{ trigger_repo_directory }} marker
  • Mark {{ mcp_client_config }} as obsolete in the heading

This pull request was created by the automated documentation freshness check.

Generated by Documentation Freshness Check · ● 2.9M ·

- Add documentation for {{ stage_prefix }} marker used in job-base.yml and stage-base.yml
- Add documentation for {{ template_parameters }} marker used in job-base.yml and stage-base.yml
- Remove obsolete {{ pipeline_path }} and {{ trigger_repo_directory }} marker documentation (no longer used in any template)
- Mark {{ mcp_client_config }} as obsolete in the heading

These markers are actively used in the job and stage templates but were not documented,
while the obsolete markers were still documented as if they were current.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@jamesadevine
Copy link
Copy Markdown
Collaborator

@copilot can you make a github issue to analyse and sweep up the unused or outdated markers listed here?

Copy link
Copy Markdown
Contributor

Copilot AI commented May 26, 2026

@copilot can you make a github issue to analyse and sweep up the unused or outdated markers listed here?

I can’t create the issue directly from this environment because GitHub auth for issue creation is unavailable here. Please create one with:

Title: Sweep unused/outdated template markers

Body:

  • Audit all documented template markers against actual usage in src/data/**/*.yml
  • Remove or mark obsolete markers in docs/template-markers.md
  • Confirm whether {{ mcp_client_config }} should remain documented as obsolete or be fully removed
  • Add a CI/docs check to flag marker drift going forward
  • Close with a list of removed/updated markers and any follow-up cleanup tasks

Copilot AI requested a review from jamesadevine May 26, 2026 19:07
@jamesadevine jamesadevine marked this pull request as ready for review May 26, 2026 21:24
@jamesadevine jamesadevine merged commit 770323b into main May 26, 2026
1 check passed
@jamesadevine jamesadevine deleted the docs/fix-template-marker-documentation-02c8b28479feb18d branch May 26, 2026 21:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants