AlgebraicJulia / Catlab.jl

A framework for applied category theory in the Julia language
https://www.algebraicjulia.org
MIT License
617 stars 58 forks source link

`source` buttons in docs all point to same link #138

Open javipus opened 4 years ago

javipus commented 4 years ago

The source button in the bottom right corner of a method's documentation always seems to point to some variation of this link which is just the JuliaLang/julia/base module. I haven't tested all methods but it happens consistently in a few of them. I understand this is not expected behaviour.

epatters commented 4 years ago

Weird. Thanks for reporting this.

epatters commented 4 years ago

It looks like this condition in Documenter.jl is being triggered, causing a source link to base Julia to be generated.

Based on the link created for Catlab.WiringDiagrams.Box, namely https://github.com/JuliaLang/julia/blob/2d5741174ce3e6a394010d2e470e4269ca54607f/base/#L0-L4, I guess that the filename is missing. I might have misconfigured something, but this might also be a bug in Documenter.jl. The behavior seems wrong.

epatters commented 4 years ago

Correction: The source links are mostly working when I build the docs locally, but are missing almost completely in the official GitHub build. Giving up for now.