<commit_before>#############################################################################
#
#	SDE Static Assets Makefile
#

PYTHON ?= python

.PHONY = info messages build force

LANGUAGES="cn_PRC,da_DK,de_DE,en_US,es,fr_FR,he,it,ja,nl,pt_BR,ro_RO,ru,sr"

info:
	@echo "Usage:"
	@echo ""
	@echo '*   `make messages`: Generate message files for this project'
	@echo '*   `make docs`:     Builds docs files for this project'
	@echo '*   `make build`:    Builds translated files for this project'
	@echo ""

messages: force
	@echo "Cool. Let's start..."
	@python ./scripts/static_gettext.py --languages "${LANGUAGES}"
	@echo "All done. New message files are in ./locale/"

docs:
	@echo "Cool. Let's build the docs..."
	h5bp-docs --config docs-config.js
	@echo "All done. New docs files are in ./src/docs/"

build: force
	@echo "Cool. Let's translate this."
	@python ./scripts/static_gettext.py --languages "${LANGUAGES}" --build<commit_msg>force prerequisite for make docs<commit_after>#############################################################################
#
#	SDE Static Assets Makefile
#

PYTHON ?= python

.PHONY = info messages build force

LANGUAGES="cn_PRC,da_DK,de_DE,en_US,es,fr_FR,he,it,ja,nl,pt_BR,ro_RO,ru,sr"

info:
	@echo "Usage:"
	@echo ""
	@echo '*   `make messages`: Generate message files for this project'
	@echo '*   `make docs`:     Builds docs files for this project'
	@echo '*   `make build`:    Builds translated files for this project'
	@echo ""

messages: force
	@echo "Cool. Let's start..."
	@python ./scripts/static_gettext.py --languages "${LANGUAGES}"
	@echo "All done. New message files are in ./locale/"

docs: force
	@echo "Cool. Let's build the docs..."
	h5bp-docs --config docs-config.js
	@echo "All done. New docs files are in ./src/docs/"

build: force
	@echo "Cool. Let's translate this."
	@python ./scripts/static_gettext.py --languages "${LANGUAGES}" --build
{'fraction_non_alphanumeric': 0.2165002627430373, 'fraction_numerical': 0.0010509721492380452, 'mean_word_length': 4.288888888888889, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '27162', 'n_tokens_mistral': 684, 'n_tokens_neox': 629, 'n_words': 194}