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

overloaded class methods link #1552

Closed
shimizukawa opened this issue Jan 3, 2015 · 1 comment · Fixed by #5314
Closed

overloaded class methods link #1552

shimizukawa opened this issue Jan 3, 2015 · 1 comment · Fixed by #5314
Labels
domains:cpp type:enhancement enhance or introduce a new feature type:proposal a feature suggestion

Comments

@shimizukawa
Copy link
Member

Hi,
is there any way to include method signature in its link so that we can have different links for overloaded methods? For instance

void add(a,b)
void add(a,b,c)

now result in a single link to the first version, but it would be convenent to refer to a specific version.


@shimizukawa shimizukawa added type:enhancement enhance or introduce a new feature type:proposal a feature suggestion labels Jan 3, 2015
@shimizukawa
Copy link
Member Author

From WAKAYAMA shirou on 2014-09-26 13:31:01+00:00

What domain did you use?

cpp domain can create those different links.

#!rst
.. cpp:function:: bool namespaced::Foo::add(arg1, arg2)
.. cpp:function:: bool namespaced::Foo::add(arg1, arg2, arg3)

Could you paste more example?

jakobandersen added a commit to jakobandersen/sphinx that referenced this issue Aug 18, 2018
The "any" and "func" roles now accepts full function declarations.

Fixes sphinx-doc#1552
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
domains:cpp type:enhancement enhance or introduce a new feature type:proposal a feature suggestion
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants