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

Empty extended type/module with --include-extended-types #542

Closed
1 of 2 tasks
stevapple opened this issue Apr 10, 2023 · 1 comment
Closed
1 of 2 tasks

Empty extended type/module with --include-extended-types #542

stevapple opened this issue Apr 10, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@stevapple
Copy link

Description

When using --include-extended-types and moving all extended APIs up to top-level with an extension file, DocC still creates entries for the extended type and module, which contains basically nothing.

Checklist

  • If possible, I've reproduced the issue using the main branch of this package.
  • This issue hasn't been addressed in an existing GitHub issue.

Expected Behavior

Since there’s nothing, I would expect the entries to be omitted.

Actual behavior

There’s an "Extended Module" entry holding an "Extended Class" entry, which contains nothing.

Steps To Reproduce

https://swiftpackageindex.com/teco-project/teco-core/main/documentation/tecopaginationhelpers

Swift-DocC Version Information

5.8.0

Swift Compiler Version Information

Swift version 5.8 (swift-5.8-RELEASE)
Target: x86_64-unknown-linux-gnu
@stevapple stevapple added the bug Something isn't working label Apr 10, 2023
@stevapple
Copy link
Author

Oh it seems to be fixed by #541!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants