-
Notifications
You must be signed in to change notification settings - Fork 0
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 our terms of service and privacy 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?
Conversation
432ae67
to
3ad1e9a
Compare
3749894
to
8e29cba
Compare
405b576
to
2e25ef3
Compare
2e25ef3
to
af81029
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 <[email protected]> | ||
*/ | ||
#[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.
public function testProvideUris(): void | |
public function 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
to
7816ddf
Compare
...