document repl