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

Generate doc aliases to C equivalents #909

Closed
GuillaumeGomez opened this issue Apr 28, 2020 · 2 comments
Closed

Generate doc aliases to C equivalents #909

GuillaumeGomez opened this issue Apr 28, 2020 · 2 comments

Comments

@GuillaumeGomez
Copy link
Member

rustdoc has the doc_alias feature that you can see in action here (the two first items are aliases).

Considering that most examples for GNOME libraries are in C, I assumed that users could be looking for the C function in our doc. By adding aliases on our items, we would also return the rust one.

@fengalin
Copy link
Contributor

fengalin commented Dec 5, 2020

Just to let you know, I've already done (at least part of) this for #963. Will post a PR this we hopefully.

@GuillaumeGomez
Copy link
Member Author

I think it can be closed now.

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

2 participants