Skip to content

[docs] docs: remove bloat from network.md reference#18415

Merged
pelikhan merged 1 commit intomainfrom
docs/unbloat-network-ed4c02ef08267f4b
Feb 26, 2026
Merged

[docs] docs: remove bloat from network.md reference#18415
pelikhan merged 1 commit intomainfrom
docs/unbloat-network-ed4c02ef08267f4b

Conversation

@github-actions
Copy link
Contributor

Removes redundant content from docs/src/content/docs/reference/network.md to improve scannability without losing any information.

What was improved

File: docs/src/content/docs/reference/network.md

Before: 358 lines | After: 293 lines | Reduction: 65 lines (~18%)

Types of bloat removed

  1. Redundant Configuration examples — The opening ## Configuration section contained 6 YAML code blocks demonstrating all feature combinations (basic, ecosystems, wildcards, protocol-specific, blocking, ecosystem-blocking). Each of these patterns already has its own dedicated section with explanation later in the file. Reduced to 2 canonical examples with cross-links to the dedicated sections.

  2. Restated code comments — The SSL Bump section had a "Configuration Options" bullet list that exactly restated the inline YAML comments (ssl-bump, allow-urls) already visible in the adjacent code block. Removed.

  3. Duplicate SSL bump example — A "Usage Example with Log Level" code block in the SSL Bump section duplicated a nearly identical example already shown in the ### Firewall Log Level section immediately above. Removed.

  4. Verbose wildcard bullets — The ## Wildcard Domain Patterns section had a 4-bullet list describing matching behavior, most of which was self-evident from the code comments or already stated in the preceding Access Levels section. Condensed into a single prose sentence.

Screenshot capture

Screenshot capture was attempted but Playwright could not reach the local preview server (172.30.0.20:4321) due to network isolation in the sandbox environment. The server was confirmed running via curl and all content renders successfully.

References: §22421510663

🗜️ Compressed by Documentation Unbloat

  • expires on Feb 28, 2026, 12:09 AM UTC

Reduce redundancy and improve scannability:

- Condense Configuration section from 6 YAML examples to 2, adding
  cross-links to dedicated sections (blocking, protocol filtering,
  wildcards) already present in the page
- Remove SSL bump "Configuration Options" bullet list that restated
  YAML code comments, and duplicate "Usage Example with Log Level"
  block already covered by the Firewall Log Level section
- Convert verbose wildcard matching-behavior bullet list into concise
  inline prose (~65 lines removed, ~18% reduction)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@github-actions github-actions bot added automation documentation Improvements or additions to documentation labels Feb 26, 2026
@pelikhan pelikhan marked this pull request as ready for review February 26, 2026 02:32
Copilot AI review requested due to automatic review settings February 26, 2026 02:32
@pelikhan pelikhan merged commit e0c3615 into main Feb 26, 2026
@pelikhan pelikhan deleted the docs/unbloat-network-ed4c02ef08267f4b branch February 26, 2026 02:32
Copy link
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

This PR streamlines the Network Permissions reference documentation by removing repetitive examples and restated explanations while preserving the key guidance via cross-links and consolidated prose.

Changes:

  • Reduced the opening Configuration section to two canonical examples and added links to detailed sections.
  • Removed duplicated/redundant SSL bump “configuration options” prose and an overlapping example.
  • Condensed wildcard matching behavior from a verbose bullet list into a single explanatory paragraph.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automation documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants