-
Notifications
You must be signed in to change notification settings - Fork 336
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
FR: use more clickable hyperlinks in error messages #2329
Labels
feature
a feature request or enhancement
Comments
olivroy
changed the title
FR: use more clickable hyperlinks.
FR: use more clickable hyperlinks in error messages
Aug 7, 2023
Nice idea. I hit this myself all the time too, so I'll definitely take a look at when I'm next working on pkgdown. |
This was referenced Mar 12, 2024
@olivroy have we resolved this issue? |
Opened #2439 to solve this! |
hadley
pushed a commit
that referenced
this issue
Apr 15, 2024
Merged
SebKrantz
pushed a commit
to SebKrantz/pkgdown
that referenced
this issue
Jun 1, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sorry if this issue is not as focused.
Here is a workflow I sometimes use when working on packages to preview its reference index without rendering everything.
I was wondering if
pkgdown::init_site()
could be a runnable hyperlink?Unfortunately, there is an error.
I think that with my first call, the docs directory is initiated, but is corrupt..
In this case, maybe suggest users to use
pkgdown::clean_site()
thenpkgdown::init_site()
in the error message? I may have gotten that part wrong.Then
build_reference_index()
works.build_reference_index() #> Writing 'reference/index.html'
I can click on the result after all that.
Maybe my workflow is incorrect, so looking for suggestions. However, if it is something that you think is sensible, could the process be simplified a little, so that possibly
build_reference_index()
work on the first try, or the roadmap to success is a little less bumpy (i.e. adding runnable hyperlinks in error messages that will not error )Thanks!
Edit: some digging
The text was updated successfully, but these errors were encountered: