<commit_before>OCAMLINCLUDES += +ocamldoc
BYTE_ENABLED = TRUE
OCamlLibrary(odoc_json, odoc_json)

OCAML_LIBS += ../idl/datamodel
OCAMLINCLUDES += ../idl

CAMLP4_FILES = jsapi
UseCamlp4(rpc-light.syntax, $(CAMLP4_FILES))

OCamlProgram(jsapi, jsapi)

.PHONY: doc
doc: jsapi
	mkdir -p api
	./jsapi

.PHONY: sdk-install
sdk-install: doc
	mkdir -p $(SDK)/docs/html
	sh -c 'cp -r -L api $(SDK)/docs/html/'
	cp *.js *.html *.css *.png $(SDK)/docs/html/
	cp citrix/* $(SDK)/docs/html/

.PHONY: clean
clean:
	rm -f *~ *.cmi *.cmx *.cmo *.a *.cma *.cmxa *.run *.opt *.annot *.o
	rm -rf components.js content jsapi<commit_msg>Docs: extend 'omake clean' in ocaml/doc/<commit_after>OCAMLINCLUDES += +ocamldoc
BYTE_ENABLED = TRUE
OCamlLibrary(odoc_json, odoc_json)

OCAML_LIBS += ../idl/datamodel
OCAMLINCLUDES += ../idl

CAMLP4_FILES = jsapi
UseCamlp4(rpc-light.syntax, $(CAMLP4_FILES))

OCamlProgram(jsapi, jsapi)

.PHONY: doc
doc: jsapi
	mkdir -p api
	./jsapi

.PHONY: sdk-install
sdk-install: doc
	mkdir -p $(SDK)/docs/html
	sh -c 'cp -r -L api $(SDK)/docs/html/'
	cp *.js *.html *.css *.png $(SDK)/docs/html/
	cp citrix/* $(SDK)/docs/html/

.PHONY: clean
clean:
	rm -f *~ *.cmi *.cmx *.cmo *.a *.cma *.cmxa *.run *.opt *.annot *.o *.omc
	rm -rf components.js content api jsapi
{'fraction_non_alphanumeric': 0.18074191002367798, 'fraction_numerical': 0.004735595895816891, 'mean_word_length': 3.480565371024735, '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': '3470886', 'n_tokens_mistral': 607, 'n_tokens_neox': 547, 'n_words': 140}