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, recursive alias declarations #8207

Merged
merged 1 commit into from Sep 15, 2020

Conversation

jakobandersen
Copy link
Contributor

Feature or Bugfix

  • Feature

Purpose

Add a maxdepth option to the c:alias directive to insert nested declarations. The default is 1, the old behaviour (just the mentioned declaration) and 0 means infinite depth.

Relates

@jakobandersen jakobandersen added type:enhancement enhance or introduce a new feature domains:c labels Sep 13, 2020
@jakobandersen jakobandersen added this to the 3.3.0 milestone Sep 13, 2020
@jakobandersen jakobandersen self-assigned this Sep 13, 2020
@jakobandersen
Copy link
Contributor Author

@Shamino0, if possible, can you try out the PR to see if it works for your use case?

In the long run I imagine that it would be beneficial to have filters (only type/variables/..., hide specific members, show only specific members, etc.), but it would be nice to see specific use cases first.

@Shamino0
Copy link

It works for me. Setting maxdepth to 2 (or 0) generates what I wanted to see. Thanks much.

@jakobandersen jakobandersen merged commit 008d020 into sphinx-doc:3.x Sep 15, 2020
@jakobandersen jakobandersen deleted the c_alias_recursive branch September 15, 2020 17:51
@jakobandersen
Copy link
Contributor Author

Thanks!

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 24, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
domains:c type:enhancement enhance or introduce a new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants