Yao.jl icon indicating copy to clipboard operation
Yao.jl copied to clipboard

Some source links in the doc are incorrect

Open findmyway opened this issue 5 years ago • 2 comments

For example:

http://docs.yaoquantum.org/stable/man/registers.html#YaoBase.nactive

image

It will jump to https://github.com/JuliaLang/julia/blob/46ce4d79337bdd257ee2e3d2f4bb1c55ff0a5030/base/#L0-L8 .

I guess it relates to the code here:

https://github.com/QuantumBFS/YaoBase.jl/blob/master/src/utils/interface.jl#L30

Any idea how to fix it?

findmyway avatar Feb 28 '20 03:02 findmyway

I think this is because we are doing this in a meta package. The Documenter is not able to figure out non-local packages for now.

Roger-luo avatar Mar 04 '20 00:03 Roger-luo

part of this is fixed now by building the docs using dev, but this is still not fixed yet.

Roger-luo avatar Mar 31 '20 02:03 Roger-luo