Contribute to Plotly's R Documentation
The R tutorial content displayed on https://plotly.com/r/ and https://plotly.com/ggplot2/ is not authored in this repository. It lives in plotly/plotly.r-docs and is fetched into this repo at build time by make fetch_upstream_files.
- Tutorial content (Rmd files, chart examples, prose): edit the source files in plotly/plotly.r-docs. See that repo's README for authoring instructions.
- The R landing/index pages that appear on https://plotly.com/r/ (sidebar, categories, etc.) — for example
2015-07-30-r-index.mdand the various*-index.mdfiles in this directory: edit those files directly in this repository under_posts/r/.
To preview R documentation locally, follow the setup steps in the main README.md, then run:
make fetch_upstream_files
bundle exec jekyll serve --config _config_dev.ymlfetch_upstream_files clones the latest built R and ggplot2 content into _posts/r/md/ and _posts/ggplot2/md/. Without it, the R tutorial pages will not render locally.
Open a pull request against the master branch of plotly/graphing-library-docs for changes to the R landing pages, or against plotly/plotly.r-docs for changes to tutorial content. A Plotly maintainer will review.
Search on https://plotly.com/r/ is powered by an Algolia index that is updated separately. See the Search indices section of the main README for how to update the R search index.