Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display number of line or any tip to find error more easily #872

Closed
s-celles opened this issue Oct 30, 2018 · 2 comments
Closed

Display number of line or any tip to find error more easily #872

s-celles opened this issue Oct 30, 2018 · 2 comments

Comments

@s-celles
Copy link

Hello,

When compiling doc I'm getting

julia --color=yes make.jl
Documenter: setting up build directory.
Documenter: expanding markdown templates.
Documenter: building cross-references.
 !! No doc found for reference '[`pipeline`](@ref)'. [src/index.md]
Documenter: running document checks.
 > checking for missing docstrings.
 > running doctests.
 > checking footnote links.
Documenter: populating indices.
Documenter: rendering document.
 !! Invalid local link: unresolved path
    '@ref' in index.md
Documenter: skipping docs deployment.
Documenter: You can set DOCUMENTER_DEBUG to "true" in Travis to see more information.

Utilities.warn(page.source, "No doc found for reference '[`$code`](@ref)'.")

Utilities.warn("Invalid local link: unresolved path\n '$(link.url)' in $(navnode.page)")

It can be hard to find exactly where error is.
Maybe displaying number of line could help to find more easily where error is.

Kind regards

@mortenpi
Copy link
Member

Dup of #248 and #78.

@Jollywatt
Copy link

Jollywatt commented Sep 30, 2023

I think this issue should be reopened. As of Documenter.jl v1.1.0, we still have to put up with these kinds of messages for failed @refs:

┌ Error: no doc found for reference '[`graded_prod`](@ref)' in src/reference.md.
└ @ Documenter ~/.julia/packages/Documenter/9kOxY/src/utilities/utilities.jl:44

It is hard to track down 1) where and 2) why this is failing. (In my case, graded_prod is a documented method — I still don't know what's wrong here!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants