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

C, fix links to function parameters #8310

Merged

Conversation

jakobandersen
Copy link
Contributor

Feature or Bugfix

  • Bugfix
  • (Refactoring)

Purpose

When one links to a function parameter, e.g., using the var/member role, a link was generated to a non-existing anchor. It should resolve, but the link should be to the function instead.

Example:

.. c:function:: void f(int i)

	- :c:var:`i`

- :c:var:`f.i`

both c:vars should result in the same link as if it was :c:func:`f` (modulo paren fixes).

@jakobandersen jakobandersen merged commit 3b1c48f into sphinx-doc:3.2.x Oct 13, 2020
@jakobandersen jakobandersen deleted the c_function_param_target branch October 13, 2020 11:14
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 22, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant