- Notifications
You must be signed in to change notification settings - Fork0
Implement Static Site Generation (SSG) feature#10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:7.3
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Conversation
432ae67
to3ad1e9a
Compare3749894
to8e29cba
Compare405b576
to2e25ef3
Compare2e25ef3
toaf81029
Compare$this | ||
->setDescription('Generates static pages') | ||
->addOption( | ||
'filterPattern', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
snake case
* @author Thomas Bibaut <bibaut.t@gmail.com> | ||
*/ | ||
#[AsCommand(name: 'static-site-generation:generate', description: 'Generates the static site')] | ||
final class StaticSiteGenerationGenerateCommand extends Command |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
invokable command
class StaticUriProviderTest extends TestCase | ||
{ | ||
public function testProvideUris(): void |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
publicfunction testProvideUris():void | |
publicfunction testProvideUris() |
@@ -154,6 +154,9 @@ protected function parseRoute(RouteCollection $collection, string $name, array $ | |||
if (isset($config['stateless'])) { | |||
$defaults['_stateless'] = $config['stateless']; | |||
} | |||
if (isset($config['static_generation'])) { | |||
$defaults['_static_generation'] = $config['static_generation']; | |||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
test loader
@@ -20,6 +20,7 @@ | |||
"symfony/deprecation-contracts": "^2.5|^3", | |||
"symfony/error-handler": "^6.4|^7.0", | |||
"symfony/event-dispatcher": "^6.4|^7.0", | |||
"symfony/filesystem": "^7.1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
"symfony/filesystem":"^7.1", | |
"symfony/filesystem":"^7.4", |
af81029
to7816ddf
Compare
...