-
Notifications
You must be signed in to change notification settings - Fork 7.7k
[docs] Add examples.yml header instructions #64237
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,9 @@ | ||
| # This file is used to auto-generate the Examples Gallery page. | ||
| # Do not edit the generated examples.rst page directly. | ||
| # To request formatting changes to the generated page, file an issue with the Ray docs team. | ||
| # To reference the generated page, use examples.html. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. In Sphinx, referencing other documentation pages should be done using the :doc: role (e.g., :doc: Hardcoding .html links is an anti-pattern in Sphinx because:
Consider updating this instruction to recommend the :doc: role: To reference the generated page, use :doc:
|
||
| # When adding a new example, include the skill level and framework, if applicable. | ||
|
|
||
| text: Below are tutorials for exploring Ray Serve capabilities and learning how to integrate different modeling frameworks. | ||
| groupby: related_technology | ||
| examples: | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,9 @@ | ||
| # This file is used to auto-generate the Examples Gallery page. | ||
| # Do not edit the generated examples.rst page directly. | ||
| # To request formatting changes to the generated page, file an issue with the Ray docs team. | ||
| # To reference the generated page, use examples.html. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. In Sphinx, referencing other documentation pages should be done using the :doc: role (e.g., :doc: Hardcoding .html links is an anti-pattern in Sphinx because:
Consider updating this instruction to recommend the :doc: role: To reference the generated page, use :doc:
|
||
| # When adding a new example, include the skill level and framework, if applicable. | ||
|
|
||
| text: Below are examples for using Ray Train with a variety of frameworks and use cases. Ray Train makes it easy to scale out each of these examples to a large cluster of GPUs. | ||
| columns_to_show: | ||
| - frameworks | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In Sphinx, referencing other documentation pages should be done using the :doc: role (e.g., :doc:
/data/examples) rather than hardcoding the .html extension.Hardcoding .html links is an anti-pattern in Sphinx because:
Consider updating this instruction to recommend the :doc: role:
To reference the generated page, use :doc:
/data/examples.