docs: Update many references to Casper.

This commit is contained in:
Tim Abbott
2020-08-30 15:10:57 -07:00
parent 2d22d88700
commit 992c6126a8
9 changed files with 8 additions and 18 deletions

View File

@@ -38,13 +38,8 @@ def check_our_files(modified_only: bool, all_dups: bool, fix: bool, targets: Lis
def check_html_templates(templates: Iterable[str], all_dups: bool, fix: bool) -> None:
# Our files with .html extensions are usually for Django, but we also
# have a few static .html files.
#
# We also have .html files that we vendored from Casper.
# The casperjs files use HTML5 (whereas Zulip prefers XHTML), and
# there are also cases where Casper deliberately uses invalid HTML,
# so we exclude them from our linter.
logging.basicConfig(format='%(levelname)s:%(message)s')
templates = sorted(fn for fn in templates if 'casperjs' not in fn)
templates = sorted(fn for fn in templates)
# Use of lodash templates <%= %>.
if 'templates/zerver/team.html' in templates:
templates.remove('templates/zerver/team.html')