<commit_before># Makefile for Sphinx documentation

SPHINXOPTS    = -n -W .
SPHINXBUILD   = sphinx-build
BUILDDIR      = _build

# User-friendly check for sphinx-build
ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1)
$(error Sphinx not found. Run 'pip install -r requirements/docs.txt' first.)
endif

.PHONY: help clean html livehtml

help:
	@echo "Please use \`make <target>' where <target> is one of"
	@echo "  html       to make standalone HTML files"

clean:
	rm -rf $(BUILDDIR)/*

html:
	$(SPHINXBUILD) -b html $(SPHINXOPTS) $(BUILDDIR)
	@echo
	@echo "Build finished. The HTML pages are in $(BUILDDIR)."

livehtml:
	sphinx-autobuild -b html --poll $(SPHINXOPTS) $(BUILDDIR)<commit_msg>Bug 1421241 - Docs: Add livehtml to the Makefile help text<commit_after># Makefile for Sphinx documentation

SPHINXOPTS    = -n -W .
SPHINXBUILD   = sphinx-build
BUILDDIR      = _build

# User-friendly check for sphinx-build
ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1)
$(error Sphinx not found. Run 'pip install -r requirements/docs.txt' first.)
endif

.PHONY: help clean html livehtml

help:
	@echo "Please use \`make <target>' where <target> is one of"
	@echo "  html       to make standalone HTML files"
	@echo "  livehtml   to start the live-reloading web server"

clean:
	rm -rf $(BUILDDIR)/*

html:
	$(SPHINXBUILD) -b html $(SPHINXOPTS) $(BUILDDIR)
	@echo
	@echo "Build finished. The HTML pages are in $(BUILDDIR)."

livehtml:
	sphinx-autobuild -b html --poll $(SPHINXOPTS) $(BUILDDIR)
{'fraction_non_alphanumeric': 0.13026315789473683, 'fraction_numerical': 0.008552631578947369, 'mean_word_length': 3.7830188679245285, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 11, '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': '1490933', 'n_tokens_mistral': 578, 'n_tokens_neox': 574, 'n_words': 186}