Skip to content

Add subcommand abstract to single-page manuals #552

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

Merged
merged 1 commit into from
Feb 15, 2023
Merged

Add subcommand abstract to single-page manuals #552

merged 1 commit into from
Feb 15, 2023

Conversation

rauhul
Copy link
Contributor

@rauhul rauhul commented Feb 13, 2023

Fixes #551

  • Fixes a bug where signle-page manuals did not include subcommand abstracts because the DSL logic did not take to account root commands vs subcommands. This change adds a "root" property to the DSL element to allow for styling differences in the two cases.

Thanks @Nef10 for reporting this issue. If you have time could you try this branch and verify it solves the issue in your project.

- Fixes a bug where signle-page manuals did not include subcommand
  abstracts because the DSL logic did not take to account root commands
  vs subcommands. This change adds a "root" property to the DSL element
  to allow for styling differences in the two cases.
@rauhul
Copy link
Contributor Author

rauhul commented Feb 15, 2023

@swift-ci please test

@rauhul rauhul merged commit 5649a38 into main Feb 15, 2023
@rauhul rauhul deleted the fix-551 branch February 15, 2023 05:54
@Nef10
Copy link

Nef10 commented Feb 17, 2023

@rauhul Thank you for the quick fix! I tried it and it looks good :)

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.

Manual Generation: Abstracts for subcommands missing in single page mode
2 participants