[docs] Minor change to formating C++ docs. (#13151)

This commit is contained in:
Ameer Haj Ali
2021-01-02 05:43:59 +02:00
committed by GitHub
parent d3dd5b87ce
commit 27cbac576d
+9 -9
View File
@@ -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