-
-
Notifications
You must be signed in to change notification settings - Fork 738
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
Add robots.txt setting. #5584
base: main
Are you sure you want to change the base?
Add robots.txt setting. #5584
Conversation
✅ Deploy Preview for plone-components canceled.
|
✅ Deploy Preview for volto ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
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.
Just a minor grammar fix to the change note, otherwise I approve the docs change only. A core developer should review this as well.
Co-authored-by: Steve Piercy <[email protected]>
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.
LGTM, but only make sure that the thing removed in the middleware is ok.
@robgietema could you take a look at the suggestions and move this forward? Thanks! |
* main: (741 commits) Improve the usability of the ObjectBrowser when inputting a manual value, checking it on blur, and adding a local validator (#6576) fixing Markdown heading (#6588) fix site logo issue (#6591) Route registry (#6600) Release @plone/client 1.0.0-alpha.21 Export the getContent bare fetcher (#6594) fix: incorrect copied state useClipboard (#6585) [RR7] Update to latest RR7 and conventions, fix index page (#6589) Release 18.6.0 Release @plone/slate 18.1.0 Revert "added swedish translation" (#6578) Slate Italian translations (#6563) Release 18.5.0 Fix robots.txt in devmode (#6571) added swedish translation (#6557) Depth search issue (#6558) Block examples documentation (#6560) Fixed folder contents issues with persistent selection (#6554) Fix redirects to MDN responsive images (#6552) Bugfix remove query string inclusion in body class generation logic (#6547) ...
@robgietema @ericof @davisagli Let's resurect this, I've merged it with main and solved conflicts. |
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.
LGTM
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.
@sneridagh @ericof For the most part this is just updating the implementation details, but I see one breaking change that needs to be resolved, and the changelog says it does something it doesn't.
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.
Just a sprinkle of Markdown syntax.
I haven't been following the flurry of robots.txt and sitemap.xml things, so I'm not qualified to give a technical review, and I got my hands full with $WORK.
The readme-link-check failure should be temporary. I restarted it to verify. docs/readthedocs.org will fail until I have a moment to fix it. Ignore for now. |
Co-authored-by: Steve Piercy <[email protected]>
@robgietema @ericof @davisagli a final blessing, please. |
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.
One new doubt, but I think we could merge this anyway.
@@ -76,7 +76,6 @@ export const unwantedControlPanelsFields = { | |||
'site_favicon_mimetype', | |||
'exposeDCMetaTags', | |||
'enable_sitemap', | |||
'robots_txt', |
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.
@sneridagh Should we keep hiding it here if the VOLTO_ROBOTSTXT environment variable is set? Because then robots.txt is served based on the environment variable and not the setting.
Fixes #5580