Problem/Motivation
•
On the Extend page (/admin/modules), the module row has no “Configure” link, so admins search manually for settings.
•
The project has a README.md, but there is no in-site Help page. We want the Help integration to render the README content via hook_help() (no extra routes).
Proposed resolution
1)
Add a configuration link on the module row (Extend page):
◦
In myrest_seo.info.yml, set:
▪
configure: myrest_seo.settings (route already exists).
2)
Implement hook_help() in myrest_seo.module to render README:
◦
Implement myrest_seo_help(string $route_name, \Drupal\Core\Routing\RouteMatchInterface $route_match).
◦
When $route_name === 'help.page.myrest_seo', load README.md from the module root and render its (sanitized) Markdown/lines as help content.
◦
If README.md is not available in the runtime (e.g., stripped in prod), show a concise fallback with links to:
▪
/admin/seo (dashboard)
▪
/admin/seo/settings (Front domain)
▪
/admin/seo/redirects (Redirect rules)
▪
Robotstxt settings (linked through the existing redirect entry)
◦
No custom routes are introduced — only hook_help().
3)
Keep README focused (Overview, Requirements, Configuration paths, Redirect rules, Robots extras/front domain). Help mirrors the same sections.
Issue fork myrest_seo-3567532
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
sergeydruua commentedComment #6
sergeydruua commented