-
Notifications
You must be signed in to change notification settings - Fork 166
fixes declaration for Metadata to match the actual content produced #1364
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
base: main
Are you sure you want to change the base?
Conversation
Sources/SwiftDocC/SwiftDocC.docc/Resources/RenderIndex.spec.json
Outdated
Show resolved
Hide resolved
| "required": [ | ||
| "bundleDisplayName", | ||
| "bundleIdentifier", | ||
| "bundleID", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the model used to spell out "identifier" then I think that it could be worth updating the model so that it does that again.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I haven't looked at what DocC Render expects there and if that would have negative downstream impacts. I was basing this on https://github.com/swiftlang/swift-docc/blob/main/Sources/SwiftDocC/Indexing/RenderIndexJSON/RenderIndex.swift#L24 and the content that was explicitly in a generated DocC archive to support decoding it.
|
I have no idea why I closed this... |
|
@swift-ci please test |
8e98f29 to
3225155
Compare
|
@swift-ci please test |
Fixes to the declarations for the JSON data structures as encoded in the DocC Archive