-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
enhancementNew feature or requestNew feature or request
Description
I trying to generate static pages for just part of a website. I know I can set stenope.ignore option to true in the #[Route()], but what I'd rather do is include or exclude route patterns.
For example, I never want a route that ends with _delete or _edit, as generated by the Symfony make:crud command.
And if I'm only exposing one entity, I might want to just include it, e.g. store_listing and store_show, without going into the controller and making the modifications there.
Is there a way to do that? something like
bin/console -e prod stenope:build ../static-stores --include=(app_homepage|store_*) exclude=*_(edit|delete)
And/or something in the config/packages/stenope.yaml
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request