comparison roundup/configuration.py @ 7094:570abc4c6548

Improve documention on access to templates and static_files.
author John Rouillard <rouilj@ieee.org>
date Wed, 30 Nov 2022 02:22:21 -0500
parents 8733aa2a8e40
children 563f5327c5b5
comparison
equal deleted inserted replaced
7093:f72ce883e677 7094:570abc4c6548
989 " %s jinja2 module." % jinja2_avail), 989 " %s jinja2 module." % jinja2_avail),
990 (FilePathOption, "templates", "html", 990 (FilePathOption, "templates", "html",
991 "Path to the HTML templates directory."), 991 "Path to the HTML templates directory."),
992 (MultiFilePathOption, "static_files", "", 992 (MultiFilePathOption, "static_files", "",
993 "A list of space separated directory paths (or a single\n" 993 "A list of space separated directory paths (or a single\n"
994 "directory). These directories hold additional static\n" 994 "directory). These directories hold additional public\n"
995 "files available via Web UI. These directories may\n" 995 "static files available via Web UI. These directories\n"
996 "contain sitewide images, CSS stylesheets etc. If a '-'\n" 996 "may contain sitewide images, CSS stylesheets etc. If a\n"
997 "is included, the list processing ends and the TEMPLATES\n" 997 "'-' is included, the list processing ends and the\n"
998 "directory is not searched after the specified\n" 998 "TEMPLATES directory is not searched after the specified\n"
999 "directories. If this option is not set, all static\n" 999 "directories. If this option is not set, all static\n"
1000 "files are taken from the TEMPLATES directory."), 1000 "files are taken from the TEMPLATES directory. Access to\n"
1001 "these files is public, it is not checked against\n"
1002 "registered users. So do not put any sensitive data in\n"
1003 "the files in these directories."),
1001 (MailAddressOption, "admin_email", "roundup-admin", 1004 (MailAddressOption, "admin_email", "roundup-admin",
1002 "Email address that roundup will complain to if it runs\n" 1005 "Email address that roundup will complain to if it runs\n"
1003 "into trouble.\n" 1006 "into trouble.\n"
1004 "If no domain is specified then the config item\n" 1007 "If no domain is specified then the config item\n"
1005 "mail -> domain is added."), 1008 "mail -> domain is added."),

Roundup Issue Tracker: http://roundup-tracker.org/