Skip to content

Add new pages package - #1328

Merged
jaapio merged 5 commits into
mainfrom
feature/guide-pages
Aug 28, 2026
Merged

Add new pages package#1328
jaapio merged 5 commits into
mainfrom
feature/guide-pages

Conversation

@jaapio

@jaapio jaapio commented Apr 10, 2026

Copy link
Copy Markdown
Member

This pull request introduces the new guides-pages package to the project, providing support for a simple static-page output format in phpDocumentor's Guides library. It includes configuration, dependency injection, and template files for rendering standalone pages and content-type collections.

New guides-pages package integration:

  • Added the phpdocumentor/guides-pages package, including its own composer.json with dependencies, autoloading, and package metadata.
  • Implemented Symfony Dependency Injection configuration and extension classes for guides-pages, allowing configuration of page collections, templates, and integration with the main Guides pipeline. [1] [2]
  • Introduced the Collection value object to represent content-type collections, including their source directories, overview paths, and templates.

Template and rendering support:

  • Added Twig templates for rendering pages, content-type items, and overviews in the new output format, as well as a PHP mapping file for associating AST nodes with templates. [1] [2] [3] [4]
  • Registered the necessary services, event listeners, and node renderers for the page format in the Symfony DI container.

Repository configuration updates:

  • Updated the main composer.json to require phpdocumentor/guides-pages and set up autoloading for its test namespace. [1] [2]

@jaapio
jaapio force-pushed the feature/guide-pages branch from 52b5999 to 0732d08 Compare April 10, 2026 14:28
jaapio added 3 commits August 28, 2026 13:48
Documentation is not only the documents that are explaining everything,
sometimes you also need pages to build a proper documentation website.
This new module helps you to build a static website together with your docs.
@jaapio
jaapio force-pushed the feature/guide-pages branch from 0732d08 to 9976c80 Compare August 28, 2026 11:49
@jaapio
jaapio marked this pull request as ready for review August 28, 2026 12:08
@jaapio
jaapio enabled auto-merge August 28, 2026 12:08
@jaapio
jaapio merged commit bd24243 into main Aug 28, 2026
58 checks passed
@jaapio
jaapio deleted the feature/guide-pages branch August 28, 2026 12:13
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