<commit_before>
find_package(Sphinx)
if(SPHINX_FOUND)
	configure_file(${CMAKE_CURRENT_SOURCE_DIR}/conf.py.in ${CMAKE_CURRENT_BINARY_DIR}/conf.py @ONLY)
	add_custom_target(doc
		ALL
		COMMAND ${SPHINX_EXECUTABLE} -b html -c ${CMAKE_CURRENT_BINARY_DIR}/ ${CMAKE_CURRENT_SOURCE_DIR}/.. ${CMAKE_CURRENT_BINARY_DIR}/doc
		WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
		COMMENT "Generating user guide" VERBATIM
	)
	install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/doc DESTINATION ${HAKA_INSTALL_PREFIX}/share/doc/haka/manual)

endif(SPHINX_FOUND)<commit_msg>Fix documentation installation path<commit_after>
find_package(Sphinx)
if(SPHINX_FOUND)
	configure_file(${CMAKE_CURRENT_SOURCE_DIR}/conf.py.in ${CMAKE_CURRENT_BINARY_DIR}/conf.py @ONLY)
	add_custom_target(doc
		ALL
		COMMAND ${SPHINX_EXECUTABLE} -b html -c ${CMAKE_CURRENT_BINARY_DIR}/ ${CMAKE_CURRENT_SOURCE_DIR}/.. ${CMAKE_CURRENT_BINARY_DIR}/doc
		WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
		COMMENT "Generating user guide" VERBATIM
	)
	install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/doc/ DESTINATION ${HAKA_INSTALL_PREFIX}/share/doc/haka/manual)

endif(SPHINX_FOUND)
{'fraction_non_alphanumeric': 0.11130899376669635, 'fraction_numerical': 0.0, 'mean_word_length': 8.289256198347108, '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': '5129716', 'n_tokens_mistral': 465, 'n_tokens_neox': 439, 'n_words': 58}