Problem/Motivation

As of Drupal 8.8.x, there is a new functionality in Drupal Core, where each module, theme, and install profile (core or contrib) can provide one or more Help Topics. It is a Experimental module now, but the topics can be built from the base and be ready when the core module is released.
More information in:
https://www.drupal.org/docs/develop/managing-a-drupalorg-theme-module-or...

CommentFileSizeAuthor
#5 3211279-5.patch1.74 KBguilhermevp
#2 3211279-2.patch1.74 KBguilhermevp

Comments

guilhermevp created an issue. See original summary.

guilhermevp’s picture

Status: Active » Needs review
StatusFileSize
new1.74 KB

Patch as it is is just a direct conversion of the hook_help, that I didn't remove because the hook still the oficial way to add a help page.

deaom’s picture

Status: Needs review » Needs work

Hi @guilhermevp, the patch does apply and the topic page does work (once you enable the Help Topics module). The thing I noticed is a typo in the line <p>{% trans %}The <em>Context</em> module lets users define conditions for when certains reactions should take place.{% endtrans %}</p> It should be without s in the certains (certain). I checked the help hook in module and there it is written correctly.
Also looking at other topic pages all have a h2 tag for titles, here it is set to h3, so maybe that can also be changed? So setting status to needs work.

guilhermevp’s picture

Working on it!

guilhermevp’s picture

Assigned: guilhermevp » Unassigned
Status: Needs work » Needs review
StatusFileSize
new1.74 KB

Thanks for the review @DeaOm! Made the changes accordingly.

deaom’s picture

Status: Needs review » Reviewed & tested by the community

Hi @guilhermevp thank you for the updates. From my point of view this can be added to the module, so marking it as RTBC.

paulocs’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.