I tried adding the "doc" directory, maybe it was the reason why the documentation couldn't generate