rewrite doc page