From dd4e99b481dde8ccf076d2aac8d721565530a6ef Mon Sep 17 00:00:00 2001 From: Philipp Moritz Date: Mon, 11 Sep 2017 23:11:15 -0700 Subject: [PATCH] Fix ray website (#963) * update instructions * update blog * fix images * Remove outdated documentation. --- README.rst | 2 +- site/README.md | 14 +++++++------- site/_posts/2017-05-17-announcing-ray.markdown | 6 +++--- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/README.rst b/README.rst index c8ce82713..f304c092e 100644 --- a/README.rst +++ b/README.rst @@ -31,5 +31,5 @@ More Information .. _`Mailing List`: https://groups.google.com/forum/#!forum/ray-dev .. _`Documentation`: http://ray.readthedocs.io/en/latest/index.html -.. _`Blog`: https://ray-project.github.io/ray/ +.. _`Blog`: https://ray-project.github.io/ .. _`HotOS paper`: https://arxiv.org/abs/1703.03924 diff --git a/site/README.md b/site/README.md index 2e3871216..f670c80bf 100644 --- a/site/README.md +++ b/site/README.md @@ -15,15 +15,15 @@ To view the site, run: bundle exec jekyll serve ``` -Note that images included under `site/assets/` should be referred to with -``. They will not render properly -when serving the site locally, but this is required for getting the paths to -work out on GitHub. - ## Deployment -To deploy the site, run (inside the main ray directory): +To deploy the site, run ``` -git subtree push --prefix site origin gh-pages +cd ~ +git clone https://github.com/ray-project/ray-project.github.io.git +cd ray-project.github.io +cp -r ~/ray/site/* . ``` + +and commit as well as push the desired changes. diff --git a/site/_posts/2017-05-17-announcing-ray.markdown b/site/_posts/2017-05-17-announcing-ray.markdown index 4ecf7c6bf..997545409 100644 --- a/site/_posts/2017-05-17-announcing-ray.markdown +++ b/site/_posts/2017-05-17-announcing-ray.markdown @@ -70,7 +70,7 @@ function definition, we call the function with ``f.remote()``, and we call order to block until the corresponding tasks have finished executing.
- +
A graph depicting the tasks and objects in this example. The circles represent tasks, and the boxes represent objects. There are no arrows between @@ -113,7 +113,7 @@ actual values will be unpacked before the function is executed, so when the `aggregate_data` function is executed, `x` and `y` will be numpy arrays.
- +
A graph depicting the tasks and objects in this example. The circles represent tasks, and the boxes represent objects. Arrows point from tasks to the @@ -157,7 +157,7 @@ Like remote functions, actor methods return object IDs (that is, futures) that can be passed into other tasks and whose values can be retrieved with `ray.get`.
- +
A graph depicting the tasks and objects in this example. The circles represent tasks, and the boxes represent objects. The first task is the actor's