Use rustdoc-map to link to external crates in master docs
This commit is contained in:
parent
f454d407af
commit
69225ad00b
2 changed files with 3 additions and 1 deletions
2
.cargo/config.toml
Normal file
2
.cargo/config.toml
Normal file
|
@ -0,0 +1,2 @@
|
|||
[doc.extern-map.registries]
|
||||
crates-io = "https://docs.rs/"
|
2
.github/workflows/docs.yml
vendored
2
.github/workflows/docs.yml
vendored
|
@ -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' }}
|
||||
|
|
Loading…
Reference in a new issue