Skip to content
This repository was archived by the owner on Mar 4, 2024. It is now read-only.

Commit 1dec620

Browse files
Use --generate-link-to-definition option when generating documentation
1 parent f0d36a5 commit 1dec620

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/docs.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ jobs:
3737
- run: python3 ./generator.py --embed-docs --yes ./
3838
- run: git clone https://gitlab.gnome.org/World/Rust/gir-rustdoc/ # checkout action doesn't support random urls
3939
- run: echo "RUSTDOCFLAGS=$(eval python3 ./gir-rustdoc/gir-rustdoc.py --pages-url 'https://gtk-rs.org/gtk3-rs/' --default-branch 'master' pre-docs | xargs)" >> ${GITHUB_ENV}
40+
env:
41+
RUSTDOCFLAGS: >
42+
-Zunstable-options --generate-link-to-definition
4043
- uses: actions-rs/cargo@v1
4144
with:
4245
command: doc

0 commit comments

Comments
 (0)