Use rustdoc-map to link to external crates in master docs

master
Jonas Platte 2021-07-02 18:05:34 +02:00
parent f454d407af
commit 69225ad00b
No known key found for this signature in database
GPG Key ID: 7D261D771D915378
2 changed files with 3 additions and 1 deletions

2
.cargo/config.toml Normal file
View File

@ -0,0 +1,2 @@
[doc.extern-map.registries]
crates-io = "https://docs.rs/"

View File

@ -27,7 +27,7 @@ jobs:
RUSTDOCFLAGS: "--enable-index-page -Zunstable-options"
with:
command: doc
args: --no-deps --workspace --features docs
args: --no-deps --workspace --features docs -Zrustdoc-map
- name: Deploy docs
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}