Skip to content

Conversation

@BrocksiNet
Copy link
Contributor

  • Introduce a new guide on how to extend robots.txt in Shopware, including event handling for custom validation and dynamic directives.
  • Update the SEO index to reference the new robots.txt guide.

* Introduce a new guide on how to extend robots.txt in Shopware, including event handling for custom validation and dynamic directives.
* Update the SEO index to reference the new robots.txt guide.
…ocumentation

* Update titles and references to 'robots.txt file' for consistency.
* Improve phrasing and formatting in the overview and directive sections for better readability.
* Ensure proper inline code formatting for 'robots.txt' throughout the documentation.
* Change title references from 'robots.txt file' to 'robots configuration' for consistency.
* Update version references from 6.7.4 to 6.7.5 in the guide.
* Add a new example subscriber for validating sitemap directives and crawl-delay values.
* Improve overall structure and readability of the robots configuration documentation.
* Add tabs for better organization of code examples related to custom directive subscribers and service registration.
* Include a complete XML service definition for the CustomDirectiveSubscriber.
* Improve overall structure and readability of the documentation.
@BrocksiNet BrocksiNet requested a review from mitelg October 31, 2025 11:56
@Isengo1989 Isengo1989 requested a review from Copilot October 31, 2025 13:54
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 adds comprehensive documentation for extending Shopware's robots.txt configuration functionality. The changes introduce a new guide that explains how to programmatically customize robots.txt behavior through events, alongside updates to the main SEO documentation page to organize content into clear sections.

  • Added new guide "Extend robots configuration" with detailed examples for handling robots.txt directives
  • Restructured the main SEO index page to organize content into SEO URLs and Robots configuration sections
  • Documented three key extensibility patterns: modifying parsed directives, handling custom directives, and managing parse issues

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
guides/plugins/plugins/content/seo/index.md Reorganized content into structured sections with subsections for SEO URLs and Robots configuration
guides/plugins/plugins/content/seo/extend-robots-txt.md New comprehensive guide with code examples for extending robots.txt functionality through events

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

BrocksiNet and others added 2 commits November 3, 2025 14:56
* Change title from 'Extend robots configuration' to 'Extend robots.txt configuration' for improved specificity and consistency.
@BrocksiNet BrocksiNet marked this pull request as ready for review November 3, 2025 15:11
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

Copilot reviewed 3 out of 3 changed files in this pull request and generated no new comments.


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

…on guide

* Change code block syntax from lowercase to uppercase for PHP and XML examples for consistency and improved readability.
* Ensure uniformity in formatting across all code examples in the documentation.
@BrocksiNet BrocksiNet requested a review from Copilot November 3, 2025 18:50
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

Copilot reviewed 3 out of 3 changed files in this pull request and generated no new comments.


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

@BrocksiNet BrocksiNet self-assigned this Nov 4, 2025
…bots.txt extension guide

* Replace references to 'EventSubscriber' with 'EventListener' for consistency in terminology.
* Update code examples to reflect the new naming conventions and improve clarity.
* Add validation checks for conflicting Allow/Disallow directives in the robots.txt parsing process.
* Enhance overall structure and readability of the documentation.
@Isengo1989 Isengo1989 added this to the 6.7.5.0 milestone Nov 4, 2025
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.

4 participants