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

Autodoc: function displayed twice when aliased #19836

Open
AndrewKraevskii opened this issue May 2, 2024 · 1 comment
Open

Autodoc: function displayed twice when aliased #19836

AndrewKraevskii opened this issue May 2, 2024 · 1 comment
Labels
autodoc The web application for interactive documentation and generation of its assets. bug Observed behavior contradicts documented or intended behavior
Milestone

Comments

@AndrewKraevskii
Copy link
Contributor

Zig Version

master

Steps to Reproduce and Observed Behavior

Go to https://ziglang.org/documentation/master/std/#std.mem and search (browser search f3 not autodoc's) for tokenizeAny it is present twice.

IMG_20240502_073139

Expected Behavior

I expect to see it only once

@AndrewKraevskii AndrewKraevskii added the bug Observed behavior contradicts documented or intended behavior label May 2, 2024
@xdBronch
Copy link
Contributor

xdBronch commented May 2, 2024

this is because the deprecated std.mem.tokenize is an alias for tokenizeAny https://ziglang.org/documentation/master/std/#std.mem.tokenize
image

@AndrewKraevskii AndrewKraevskii changed the title Autodoc: function displayed twice but is only declared once Autodoc: function displayed twice when aliased May 2, 2024
@Vexu Vexu added the autodoc The web application for interactive documentation and generation of its assets. label May 2, 2024
@Vexu Vexu added this to the 0.13.0 milestone May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autodoc The web application for interactive documentation and generation of its assets. bug Observed behavior contradicts documented or intended behavior
Projects
None yet
Development

No branches or pull requests

3 participants