doc truncate: add deprecated version