◄ ► | Edit | Home | Admin | en de fr et | Sign in

#4281 (Add a setting Site.use_help)

by Luc Saffre · in Developers · assigned to Luc Saffre

Summary

Add an attribute Site.use_help, which (1) automatically causes Site to install lino.modlib.help (i.e. no longer do this explicitly in the applications) and (2) have collectstatic run makehelp only when use_help is True.

Children

Comments

  • 5 years, 2 months ago by Luc Saffre about #4281 (Add a setting Site.use_help) : Now I understood. No, we don't need a use_help setting on the Site class but a plugin attribute "use_help_pages" on the help plugin.
  • 5 years, 2 months ago by Luc Saffre about #4281 (Add a setting Site.use_help) : Yes, it's a design flaw: the help button and the HelpTextsLoader are two independant features.
  • 5 years, 2 months ago by Luc Saffre about #4281 (Add a setting Site.use_help) : Oops, I noticed that the help plugin (currently) also causes the help_text from help_texts.py files to be loaded. I think that we don't want to not have this feature...
  • 5 years, 2 months ago by Luc Saffre about #4281 (Add a setting Site.use_help) : See #4280 for usage example on the field.