nitc/doc/doc_down: store the current mdoc object in the decorator