Skip to content

[docs] docs: unbloat footers.md — remove redundant sections#27753

Merged
pelikhan merged 1 commit intomainfrom
docs/unbloat-footers-222392a3d57256dd
Apr 22, 2026
Merged

[docs] docs: unbloat footers.md — remove redundant sections#27753
pelikhan merged 1 commit intomainfrom
docs/unbloat-footers-222392a3d57256dd

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

Summary

  • File improved: docs/src/content/docs/reference/footers.md
  • Reduction: 145 → 93 lines (−52 lines, 36% reduction)
  • Branch: docs/unbloat-footers

Bloat removed

  • Merged duplicate XML marker list — The "What's Preserved When Footer is Hidden" section repeated information already stated in prose in the Global Footer Control section. Consolidated the bullet list of hidden markers directly into that section.
  • Condensed search examples from 4 to 2 — All four examples showed minor variations of the same GitHub search syntax. Kept the most distinct two (issue body search + comment search), removed redundant PR and org-wide variants.
  • Removed Use Cases section entirely — Three code blocks demonstrating "clean content", "custom branding", and "minimal documentation updates" were all direct repetitions of examples already shown in Per-Handler Footer Control. No new configuration options were introduced.
  • Tightened Backward Compatibility — Condensed from a two-sentence paragraph to a single line.

All essential content preserved

  • All YAML configuration examples retained
  • Both hidden XML marker names documented
  • Search syntax still demonstrated with concrete examples
  • All links to related documentation intact
  • Technical accuracy unchanged

Screenshots

Screenshots were unavailable due to network isolation between the Playwright container and the agent container (known AWF constraint). Page was verified to render correctly via curl — HTTP 200, full HTML returned from the Astro dev server at /gh-aw/reference/footers/.

References:

🗜️ Compressed by Documentation Unbloat · ● 506.4K ·

  • expires on Apr 24, 2026, 3:54 AM UTC

Removed 52 lines (36%) of bloat from reference/footers.md:
- Merged XML marker list into Global Footer Control (was repeated in separate section)
- Condensed search examples from 4 to 2 (all variations of same pattern)
- Removed Use Cases section (redundant with Per-Handler Footer Control examples)
- Tightened Backward Compatibility to one sentence

All technical content and links preserved.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@github-actions github-actions Bot added automation doc-unbloat documentation Improvements or additions to documentation labels Apr 22, 2026
@pelikhan pelikhan marked this pull request as ready for review April 22, 2026 04:00
Copilot AI review requested due to automatic review settings April 22, 2026 04:00
@pelikhan pelikhan merged commit e181a81 into main Apr 22, 2026
3 checks passed
@pelikhan pelikhan deleted the docs/unbloat-footers-222392a3d57256dd branch April 22, 2026 04:00
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Reduces redundancy in the Footer Control reference by consolidating repeated sections and trimming examples while keeping core configuration and search guidance intact.

Changes:

  • Consolidated the “hidden XML markers” details into the Global Footer Control section.
  • Reduced GitHub search examples to two representative queries.
  • Condensed the backward-compatibility note.
Show a summary per file
File Description
docs/src/content/docs/reference/footers.md Removes duplicated sections and tightens guidance around footer hiding and search markers.

Copilot's findings

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 1/1 changed files
  • Comments generated: 2

When `footer: false` is set, visible attribution text is omitted from item bodies but hidden XML markers (workflow-id, tracker-id) remain for searchability. Applies to all output types: create-issue, create-pull-request, create-discussion, update-issue, update-pull-request, update-discussion, and update-release.
When `footer: false` is set, visible attribution text is omitted from item bodies but hidden XML markers remain for searchability:
- `<!-- gh-aw-workflow-id: WORKFLOW_NAME -->` — for search and tracking
- `<!-- gh-aw-tracker-id: unique-id -->` — for issue/discussion tracking
Copy link

Copilot AI Apr 22, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The docs now imply the gh-aw-tracker-id hidden marker is always present when footer: false, but tracker-id appears to be optional in the frontmatter reference (and therefore the marker would only exist when a tracker-id is configured). Consider clarifying this bullet (e.g., "when tracker-id is set") to avoid misleading readers.

Suggested change
- `<!-- gh-aw-tracker-id: unique-id -->` — for issue/discussion tracking
- `<!-- gh-aw-tracker-id: unique-id -->` — for issue/discussion tracking when `tracker-id` is set

Copilot uses AI. Check for mistakes.

### Searching for Workflow-Created Items

Use the `gh-aw-workflow-id` marker (the workflow filename without `.md`) to find items in GitHub search:
Copy link

Copilot AI Apr 22, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This sentence says the workflow-id value is "the workflow filename without .md", but other docs describe it more generally as a workflow name/identifier. To keep references consistent (and avoid potentially incorrect guidance if the marker value differs from the filename), consider rephrasing to match the established wording used in safe-outputs.md (e.g., "workflow name" or "WORKFLOW_NAME").

Suggested change
Use the `gh-aw-workflow-id` marker (the workflow filename without `.md`) to find items in GitHub search:
Use the `gh-aw-workflow-id` marker (the workflow name) to find items in GitHub search:

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automation doc-unbloat documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants