mirror of
https://github.com/wassname/ray.git
synced 2026-06-27 22:23:17 +08:00
Fix ray website (#963)
* update instructions * update blog * fix images * Remove outdated documentation.
This commit is contained in:
committed by
Robert Nishihara
parent
e17412a72b
commit
dd4e99b481
+1
-1
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user