-
Notifications
You must be signed in to change notification settings - Fork 9
Closed
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or request
Description
There is no symlink to the robots.txt in the web directory.
Is this the wanted behavior? If yes, why?
Expected behavior
A symlink to the robots.txt should exist in the web directory.
Actual behavior
There is no symlink to the robots.txt in the web directory.
Steps to reproduce
- Install and configure drupal-paranoia as explained in the documentation with a based drupal-composer/drupal-project project.
- Check the web directory: there is no symlink to the
robots.txt
Possible solutions
- Add the
robots.txtto the$assetFileTypesproperty of the\DrupalComposer\DrupalParanoia\Installerclass. - Add a configuration option like
drupal-web-dir-extra-asset-files-typesthat will be merged with the$assetFileTypesproperty. - Dispatch an event at the end of the
\DrupalComposer\DrupalParanoia\Installer::install()method to let people extend as needed.
IMHO the event dispatcher is the best solution as it will be possible to extend the plugin.
I'll provide a PR when we'll agreed on what to do :)
fancyweb and mamoot64
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or request