<commit_before>SPHINXOPTS    =
SPHINXBUILD   = sphinx-build
SOURCEDIR     = source
BUILDDIR      = build

# Put it first so that "make" without argument is like "make help".
help:
	@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

.PHONY: help Makefile

# Install dependencies.
install:
	@pip install --upgrade pip
	@pip install -r requirements.txt --use-deprecated=legacy-resolver

test:
	@${MAKE} dummy SPHINXOPTS="-q -W"

lint:  # requires Node and NPM to be installed
	@npx markdownlint-cli2 "**/*.md"

format:  # requires Node and NPM to be installed
	@npx markdownlint-cli2-fix "**/*.md"

# Serve the documentation in dev mode.
dev:
	@rm -Rf $(BUILDDIR)
	@sphinx-autobuild $(SOURCEDIR) $(BUILDDIR)

# Serve the documentation in prod mode.
prod:
	@python -m http.server 8000 --directory build/html

# Catch-all target: route all unknown targets to Sphinx using the
# "make mode" option.  $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
	@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)<commit_msg>Remove interactive question from NPX<commit_after>SPHINXOPTS    =
SPHINXBUILD   = sphinx-build
SOURCEDIR     = source
BUILDDIR      = build

# Put it first so that "make" without argument is like "make help".
help:
	@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

.PHONY: help Makefile

# Install dependencies.
install:
	@pip install --upgrade pip
	@pip install -r requirements.txt --use-deprecated=legacy-resolver

test:
	@${MAKE} dummy SPHINXOPTS="-q -W"

lint:  # requires Node and NPM to be installed
	@npx --yes markdownlint-cli2 "**/*.md"

format:  # requires Node and NPM to be installed
	@npx --yes markdownlint-cli2-fix "**/*.md"

# Serve the documentation in dev mode.
dev:
	@rm -Rf $(BUILDDIR)
	@sphinx-autobuild $(SOURCEDIR) $(BUILDDIR)

# Serve the documentation in prod mode.
prod:
	@python -m http.server 8000 --directory build/html

# Catch-all target: route all unknown targets to Sphinx using the
# "make mode" option.  $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
	@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
{'fraction_non_alphanumeric': 0.14053047929269427, 'fraction_numerical': 0.005583992554676594, 'mean_word_length': 4.0588235294117645, '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': '3148864', 'n_tokens_mistral': 827, 'n_tokens_neox': 812, 'n_words': 251}