mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 13:03:29 +00:00
docs: Update many references to Casper.
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user