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

edit_link cannot be nothing #463

Open
ValentinKaisermayer opened this issue Feb 14, 2024 · 0 comments
Open

edit_link cannot be nothing #463

ValentinKaisermayer opened this issue Feb 14, 2024 · 0 comments

Comments

@ValentinKaisermayer
Copy link
Contributor

In the docs it says:

edit_link::Union{AbstractString, Symbol, Nothing}: Branch, tag or commit that the "Edit on…" link will point to. Defaults to the branch identified by devbranch. If edit_link=:commit, then the link will point to the latest commit when docs are built. If edit_link=nothing, then the "Edit on…" link will be hidden altogether.

However, here:

"EDIT_LINK" => p.edit_link == :devbranch ? _quoted(devbranch) : _quoted(p.edit_link),

I get:

MethodError: no method matching _quoted(::Nothing)

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

No branches or pull requests

1 participant