Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Feb 2, 2026

The documentation unbloater workflow was processing blog posts along with technical documentation. Blog posts have different stylistic requirements and should not be unbloated.

Changes

  • Updated find command to exclude docs/src/content/docs/blog/ using -prune option
  • Added blog directory to exclusion list in workflow instructions

Technical Details

Before:

find docs/src/content/docs -name '*.md' -type f ! -name 'frontmatter-full.md'

After:

find docs/src/content/docs -path 'docs/src/content/docs/blog' -prune -o -name '*.md' -type f ! -name 'frontmatter-full.md' -print

This reduces the file set from 100 to 73 files, excluding 27 blog posts.

Original prompt

Documentation unbloater agentic workflow should ignore the blog.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

The documentation unbloater workflow now excludes blog posts from processing
using the find command with -prune. Blog posts have a different writing style
and purpose than technical documentation, so they should not be unbloated.

Changes:
- Updated find command to exclude docs/src/content/docs/blog directory
- Added blog exclusion to the "IMPORTANT" notes in sections 2 and 3
- Clarified that blog posts have a different writing style and should not be unbloated

Testing:
- Verified find command excludes blog files (0 blog files in results)
- Total files found: 73 (down from 100, excluding 27 blog posts)
- Linter and formatting checks passed

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Update documentation unbloater agentic workflow to ignore blog Exclude blog directory from documentation unbloater workflow Feb 2, 2026
Copilot AI requested a review from pelikhan February 2, 2026 15:24
@pelikhan pelikhan marked this pull request as ready for review February 2, 2026 15:27
@pelikhan pelikhan merged commit d58ae64 into main Feb 2, 2026
1 check passed
@pelikhan pelikhan deleted the copilot/update-unbloater-workflow branch February 2, 2026 15:27
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