Skip to content

Add news section to the website#6

Merged
valentinboyanov merged 4 commits intomasterfrom
add-news
Oct 19, 2025
Merged

Add news section to the website#6
valentinboyanov merged 4 commits intomasterfrom
add-news

Conversation

@valentinboyanov
Copy link
Member

Automate the monthly bulletin by pulling every PHP Weekly issue from the archive, merging their links into source/_news, and document the new CLI workflow with tests.

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 an automated news section to the website that generates monthly bulletins by pulling content from PHP Weekly archives. The implementation includes a CLI command to scrape PHP Weekly issues, merge their links into markdown files, and automate the process via GitHub Actions.

  • Automated CLI workflow to scrape and aggregate PHP Weekly content into monthly bulletins
  • New news section template and routing for displaying monthly bulletins on the website
  • GitHub Actions automation to generate monthly bulletins on the last day of each month

Reviewed Changes

Copilot reviewed 11 out of 12 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
src/PhpWeeklyNews.php Core scraping and markdown generation logic for processing PHP Weekly archives
src/Cli/GenerateNewsMarkdownCommand.php Symfony console command interface for the news generation workflow
tests/PhpWeeklyNewsTest.php Comprehensive test suite covering scraping, parsing, and markdown generation
tests/fixtures/ HTML test fixtures simulating PHP Weekly archive and issue pages
source/boletin-mensual.blade.php Blade template for rendering the monthly bulletin listing page
source/_news/2025-10-boletin-mensual.md Example generated monthly bulletin with aggregated PHP Weekly content
config.php Site configuration updates to include news collection and navigation
.github/workflows/monthly-news.yml GitHub Actions workflow for automated monthly bulletin generation
README.md Documentation updates explaining the news generation workflow
source/css/style.css Minor CSS adjustment removing margin-bottom property

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@valentinboyanov valentinboyanov merged commit 5a32ce2 into master Oct 19, 2025
2 checks passed
@valentinboyanov valentinboyanov deleted the add-news branch October 19, 2025 22:43
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.

1 participant