Skip to content

Commit 28f5087

Browse files
committed
Try DocumenterResolveXRefInMainPrototype
1 parent 3cef8bf commit 28f5087

File tree

4 files changed

+7
-2
lines changed

4 files changed

+7
-2
lines changed

.github/workflows/CI.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ jobs:
7575
- name: "Instantiate test environment"
7676
run: |
7777
# Instantiate Pkg
78+
rm -rf ~/.julia/registries/QuantumControlRegistry
7879
wget https://raw.githubusercontent.com/JuliaQuantumControl/JuliaQuantumControl/master/scripts/installorg.jl
7980
install -m 600 -D /dev/null ~/.ssh/known_hosts
8081
ssh-keyscan -H github.com > ~/.ssh/known_hosts

docs/make.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ using DocumenterCitations
1111
using DocumenterInterLinks
1212
using Pkg
1313

14+
Pkg.add(url="https://github.com/goerz/DocumenterResolveXRefInMainPrototype.jl.git")
15+
using DocumenterResolveXRefInMainPrototype
16+
1417
PROJECT_TOML = Pkg.TOML.parsefile(joinpath(@__DIR__, "..", "Project.toml"))
1518
VERSION = PROJECT_TOML["version"]
1619
NAME = PROJECT_TOML["name"]

src/functionals.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ The gradient ``∇_U J_T`` is obtained via automatic differentiation (AD). This
424424
requires that an AD package has been loaded (e.g., `using Zygote`). This
425425
package must either be passed as the `automatic` keyword argument, or the
426426
package must be set as the default AD provider using
427-
`QuantumControl.set_default_ad_framework`.
427+
[`QuantumControl.set_default_ad_framework`](@ref).
428428
429429
Compared to the more general [`make_chi`](@ref) with `mode=:automatic`,
430430
`make_gate_chi` will generally have a slightly smaller numerical overhead, as

test/Project.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ DocInventories = "43dc2714-ed3b-44b5-b226-857eda1aa7de"
1010
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
1111
DocumenterCitations = "daee34ce-89f3-4625-b898-19384cb65244"
1212
DocumenterInterLinks = "d12716ef-a0f6-4df4-a9f1-a5a34e75c656"
13+
DocumenterResolveXRefInMainPrototype = "ec50b518-6c18-4c34-be22-4983b883f12d"
1314
Downloads = "f43a241f-c20a-4ad4-852c-f6b1247861c6"
1415
FiniteDifferences = "26cc04aa-876d-5657-8c51-4c34ba976000"
1516
GRAPE = "6b52fcaf-80fe-489a-93e9-9f92080510be"
@@ -44,5 +45,5 @@ UnicodePlots = "b8865327-cd53-5732-bb35-84acbb429228"
4445
Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f"
4546

4647
[compat]
47-
Documenter = "1.1"
48+
Documenter = "1.3"
4849
julia = "1.9"

0 commit comments

Comments
 (0)