move rdoc to md