Skip to content

Autodoc enhancement: navigating to source from a decl will scroll to the decl #23562

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 1 commit into
base: master
Choose a base branch
from

Conversation

achan1989
Copy link
Contributor

Contributes to #19249

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.

@achan1989 achan1989 marked this pull request as draft April 14, 2025 08:57
@achan1989
Copy link
Contributor Author

I'll investigate the failing build later today.

@alexrp
Copy link
Member

alexrp commented Apr 14, 2025

Just needs a rebase on master to resolve the CI timeouts.

@achan1989 achan1989 marked this pull request as ready for review April 15, 2025 16:06
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.

2 participants