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

Fix bug in documentation generation #4502

Merged
merged 1 commit into from
Mar 26, 2024
Merged

Fix bug in documentation generation #4502

merged 1 commit into from
Mar 26, 2024

Conversation

SeanTAllen
Copy link
Member

No description provided.

@SeanTAllen SeanTAllen added the changelog - fixed Automatically add "Fixed" CHANGELOG entry on merge label Mar 25, 2024
@ponylang-main ponylang-main added the discuss during sync Should be discussed during an upcoming sync label Mar 25, 2024
@@ -543,7 +543,7 @@ static void doc_fields(docgen_t* docgen, docgen_opt_t* docgen_opt,
}

fprintf(docgen->type_file, "### %s %s: ", ftype, name);
doc_type(docgen, docgen_opt, type, true, true);
doc_type(docgen, docgen_opt, type, true, false);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the last parameter is "is it ok the break the lines". It isn't in the case @redvers identified.

@redvers
Copy link
Contributor

redvers commented Mar 25, 2024

image

Here's the bug as reported.

@SeanTAllen SeanTAllen mentioned this pull request Mar 25, 2024
1 task
@SeanTAllen SeanTAllen merged commit ef15a30 into main Mar 26, 2024
27 checks passed
@SeanTAllen SeanTAllen deleted the bad-docgen branch March 26, 2024 18:06
@ponylang-main ponylang-main removed the discuss during sync Should be discussed during an upcoming sync label Mar 26, 2024
github-actions bot pushed a commit that referenced this pull request Mar 26, 2024
github-actions bot pushed a commit that referenced this pull request Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog - fixed Automatically add "Fixed" CHANGELOG entry on merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants