support RDoc preview