Make crate doc generation optionnable.