doc: added option to strip from path