Skip to content

Commit 9e9c93b

Browse files
committed
Enable source links for sub-packages
The API Source links work for external packages if they are dev-installed (their source code needs to be in a git checkout)
1 parent 8b98f42 commit 9e9c93b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/CI.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,10 @@ jobs:
6666
- run: |
6767
# Instantiate Pkg
6868
wget https://raw.githubusercontent.com/JuliaQuantumControl/JuliaQuantumControl/master/scripts/installorg.jl
69-
julia --project=test installorg.jl
69+
install -m 600 -D /dev/null ~/.ssh/known_hosts
70+
ssh-keyscan -H github.com > ~/.ssh/known_hosts
71+
julia --project=test -e 'include("installorg.jl"); installorg(; github="develop")'
72+
# installing in develop mode enables proper "source" links in subpackage APIs
7073
- run: cp test/*.toml docs/ # Prepare DrWatson
7174
- run: |
7275
# Run doctests

0 commit comments

Comments
 (0)