mirror of
https://github.com/wassname/ray.git
synced 2026-07-03 05:11:18 +08:00
[docs] Minor change to formating C++ docs. (#13151)
This commit is contained in:
@@ -114,15 +114,15 @@ Ray provides Python, Java, and *EXPERIMENTAL* C++ API. And Ray uses Tasks (funct
|
||||
|
||||
.. group-tab:: C++ (EXPERIMENTAL)
|
||||
|
||||
The C++ Ray API is currently experimental with limited support. You can track its development `here <https://github.com/ray-project/ray/milestone/17>`__ and report issues on GitHub.
|
||||
Run the following commands to get started:
|
||||
- Build ray from source with *bazel* as shown `here <https://docs.ray.io/en/master/development.html#building-ray-full>`__.
|
||||
- Run `cd ray/cpp`.
|
||||
- Run `cp dev_BUILD.bazel BUILD.bazel`.
|
||||
- Modify `src/ray/example.cc`.
|
||||
- Run `ray stop`.
|
||||
- Run `bazel build //cpp:example`.
|
||||
- Run `bazel run //cpp:example`.
|
||||
| The C++ Ray API is currently experimental with limited support. You can track its development `here <https://github.com/ray-project/ray/milestone/17>`__ and report issues on GitHub.
|
||||
| Run the following commands to get started:
|
||||
| - Build ray from source with *bazel* as shown `here <https://docs.ray.io/en/master/development.html#building-ray-full>`__.
|
||||
| - Run `"cd ray/cpp"`.
|
||||
| - Run `"cp dev_BUILD.bazel BUILD.bazel"`.
|
||||
| - Modify `src/ray/example.cc`.
|
||||
| - Run `"ray stop"`.
|
||||
| - Run `"bazel build //cpp:example"`.
|
||||
| - Run `"bazel run //cpp:example"`.
|
||||
|
||||
.. literalinclude:: ../../cpp/src/ray/example/example.cc
|
||||
:language: cpp
|
||||
|
||||
Reference in New Issue
Block a user