Skip to content

Commit b4f10a1

Browse files
committed
feat: update recipe robots txt plugin update root add llms.txt
1 parent 9233538 commit b4f10a1

File tree

4 files changed

+26
-0
lines changed

4 files changed

+26
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
imports:
2+
resource: '@MonsieurBizSyliusRobotsTxtPlugin/Resources/config/config.yaml'
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
monsieurbiz_robots_txt_render:
2+
path: /robots.txt
3+
methods: [ GET ]
4+
defaults:
5+
_controller: MonsieurBiz\SyliusRobotsTxtPlugin\Controller\RenderController
6+
settingName: 'robots_txt_content'
7+
monsieurbiz_llms_txt_render:
8+
path: /llms.txt
9+
methods: [ GET ]
10+
defaults:
11+
_controller: MonsieurBiz\SyliusRobotsTxtPlugin\Controller\RenderController
12+
settingName: 'llms_txt_content'
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"bundles": {
3+
"MonsieurBiz\\SyliusRobotsTxtPlugin\\MonsieurBizSyliusRobotsTxtPlugin": [
4+
"all"
5+
]
6+
},
7+
"copy-from-recipe": {
8+
"config/": "%CONFIG_DIR%/"
9+
}
10+
}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
* Remove your current `robot.txt` file to let the plugin's controller render the content
2+
<comment>rm public/robots.txt</comment>

0 commit comments

Comments
 (0)