Skip to content

Pretty print C function declarations in HTML output - #1714

Open
d-ronnqvist wants to merge 1 commit into
swiftlang:mainfrom
d-ronnqvist:pretty-print-c-declarations
Open

d-ronnqvist wants to merge 1 commit into
swiftlang:mainfrom
d-ronnqvist:pretty-print-c-declarations

Conversation

@d-ronnqvist

@d-ronnqvist d-ronnqvist commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Bug/issue #, if applicable: rdar://173489263&186966139

Summary

This adds pretty printing of C function declaration in the HTML output

Dependencies

None

Testing

  • Build documentation for some documentation with a C function that has two or more parameters and pass --output-format experimental-html-for-development.
  • On the rendered page, the declaration for that C function should display each parameter on its own line.
    For example:

Checklist

Make sure you check off the following items. If they cannot be completed, provide a reason.

  • Added tests
  • Ran the ./bin/test script and it succeeded
  • [ ] Updated documentation if necessary

@d-ronnqvist
d-ronnqvist requested a review from a team as a code owner October 27, 2026 09:24
rdar://173489263
rdar://186966139
@d-ronnqvist
d-ronnqvist force-pushed the pretty-print-c-declarations branch from 0079552 to 4cf133a Compare October 27, 2026 11:03

This branch has not been deployed

No deployments
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

Successfully merging this pull request may close these issues.

1 participant