Fix ray website (#963)

* update instructions

* update blog

* fix images

* Remove outdated documentation.
This commit is contained in:
Philipp Moritz
2017-09-11 23:11:15 -07:00
committed by Robert Nishihara
parent e17412a72b
commit dd4e99b481
3 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -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
+7 -7
View File
@@ -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
`<img src="{{ site.base-url }}/ray/assets/...">`. 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.
@@ -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.
<div align="center">
<img src="{{ site.base-url }}/ray/assets/announcing_ray/graph1.png">
<img src="{{ site.base-url }}/assets/announcing_ray/graph1.png">
</div>
<div><i>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.
<div align="center">
<img src="{{ site.base-url }}/ray/assets/announcing_ray/graph2.png">
<img src="{{ site.base-url }}/assets/announcing_ray/graph2.png">
</div>
<div><i>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`.
<div align="center">
<img src="{{ site.base-url }}/ray/assets/announcing_ray/graph3.png">
<img src="{{ site.base-url }}/assets/announcing_ray/graph3.png">
</div>
<div><i>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