patch doc_backwards properly for staging.