bevy/.github/workflows
Giacomo Stevanato 71c5f1e3e4
Generate links to definition in source code pages on docs.rs and dev-docs.bevyengine.org (#12965)
# Objective

- Fix issue #2611

## Solution

- Add `--generate-link-to-definition` to all the `rustdoc-args` arrays
in the `Cargo.toml`s (for docs.rs)
- Add `--generate-link-to-definition` to the `RUSTDOCFLAGS` environment
variable in the docs workflow (for dev-docs.bevyengine.org)
- Document all the workspace crates in the docs workflow (needed because
otherwise only the source code of the `bevy` package will be included,
making the argument useless)
- I think this also fixes #3662, since it fixes the bug on
dev-docs.bevyengine.org, while on docs.rs it has been fixed for a while
on their side.

---

## Changelog

- The source code viewer on docs.rs now includes links to the
definitions.
2024-07-29 23:10:16 +00:00
..
action-on-PR-labeled.yml Bump actions/github-script from 6 to 7 (#10653) 2023-11-20 09:01:27 +00:00
ci-comment-failures.yml Bump actions/github-script from 6 to 7 (#10653) 2023-11-20 09:01:27 +00:00
ci.yml Bump crate-ci/typos from 1.23.2 to 1.23.5 (#14514) 2024-07-29 07:01:30 +00:00
daily.yml Remove unused nightly toolchain environmental variable (#13037) 2024-04-19 21:17:38 +00:00
dependencies.yml add cancel in progress support to automated CI checks (#11130) 2024-02-28 16:07:29 +00:00
docs.yml Generate links to definition in source code pages on docs.rs and dev-docs.bevyengine.org (#12965) 2024-07-29 23:10:16 +00:00
post-release.yml prepare next version: update regexes (#14170) 2024-07-08 02:32:16 +00:00
release.yml Update release workflow pr body (#13274) 2024-05-12 20:51:14 +00:00
validation-jobs.yml Windows CI example runner: back to using rust stable (#13863) 2024-06-27 05:12:15 +00:00
weekly.yml Remove unused nightly toolchain environmental variable (#13037) 2024-04-19 21:17:38 +00:00
welcome.yml Bump actions/github-script from 6 to 7 (#10653) 2023-11-20 09:01:27 +00:00