Skip to content

Autodoc misc enhancements #23751

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

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

achan1989
Copy link
Contributor

@achan1989 achan1989 commented May 3, 2025

Contributes to #19249

  • when navigating back to search results, up+down arrow should keep working
  • redundant search results (search "format")
  • navigating to source from a decl should scroll to the decl
  • in source view, make @imports into links, but keep same syntax highlighting
  • add a history item when clicking a search result (it already works when keyboard triggered)

Also, the first item in #19249 "make the panic handler reflect the failure in the user interface" has been addressed by #22902

achan1989 added 7 commits May 3, 2025 07:53
When rendering source HTML for a file there's now the option to generate navigation targets. This re-uses the source location annotations feature that's used by the fuzzing web UI.

[src] hrefs now look like #src/std/os/emscripten.zig:MSG.BATCH and scroll to the requested item.
Was caused by decls in test declarations, which are now ignored.
And the position of the cursor within the results is now remembered.
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

Successfully merging this pull request may close these issues.

1 participant