no more deprecated warnings in doc formatter

(where are the tests?)
fix shared steps

(where are the tests?)