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

This commit is contained in:
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' }}