-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Added new option to static-content:deploy command #8765
Conversation
This will fix #8561 btw, thank you @chandru-199! 🙂 |
<tr> | ||
<td>--no-parent</td> | ||
<td> | ||
<p>This option will be available from 2.4.2 version.It provides ability to deploy the only specific theme(s) for multiple locales, so it will improve build phase of deployment for the those who use single theme with different locales.</p> |
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.
Good job!
Only one thing: since 2.4.2 has been released, I would say "This option is available from 2.4.2"
src/guides/v2.4/config-guide/cli/config-cli-subcommands-static-view.md
Outdated
Show resolved
Hide resolved
@chandru-199 Can you think of a good example showing this new flag? If yes, please add it the examples section. |
I think we should try to encourage this new flag somehow, since it has a very big performance impact and makes the SCD command run many times faster. |
…-view.md Co-authored-by: Kevin Harper <[email protected]>
@chandru-199 Looks like a new example would be good here. |
@dobooth: here's what I remember from the past, maybe it helps:
In my opinion, 99% of the people should be using this new Hope this is helpful in figuring out how to communicate this properly 🙂 |
<tr> | ||
<td>--no-parent</td> | ||
<td> | ||
<p>This option provides the ability to deploy only the specific themes for multiple locales. It improves the build phase of deployment for the those who use a single theme with different locales.</p> |
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.
I would say something like:
Do not generate files for the parent themes of the current theme. It is strongly recommended to use this flag if you don't explicitly use the parent theme of the current theme you are trying to deploy in your shop. Using this flag will significantly increase the speed of this process.
This flag became available in Magento 2.4.2
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.
Excellent. Thanks for that.
@magento import code to magento-devdocs/devdocs. |
@dobooth the branch with code successfully imported into |
Hi @chandru-199, thank you for your contribution! |
@dobooth : Please add partner:ziffity label to this PR. |
@ajithkumar-maragathavel : Could you Please add partner:ziffity label to this PR. |
Purpose of this pull request
This pull request (PR) - Adding information about new option available in static-content:deploy command from 2.4.2 version as per the PR.
Affected DevDocs pages