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

CodeListing.syntax should be optional #3

Closed
edudnyk opened this issue Oct 2, 2021 · 1 comment
Closed

CodeListing.syntax should be optional #3

edudnyk opened this issue Oct 2, 2021 · 1 comment

Comments

@edudnyk
Copy link
Contributor

edudnyk commented Oct 2, 2021

In case when syntax of the code listing block is not specified, DocC of Xcode 13 puts "syntax":null into json.

error docc2html : Could not process document at: /path/to/file.json valueNotFound(Swift.String, Swift.DecodingError.Context(codingPath: [CodingKeys(stringValue: "primaryContentSections", intValue: nil), _JSONKey(stringValue: "Index 1", intValue: 1), CodingKeys(stringValue: "content", intValue: nil), _JSONKey(stringValue: "Index 3", intValue: 3), CodingKeys(stringValue: "syntax", intValue: nil)], debugDescription: "Expected String value but found null instead.", underlyingError: nil))
edudnyk added a commit to edudnyk/DocCArchive that referenced this issue Oct 2, 2021
edudnyk added a commit to edudnyk/DocCArchive that referenced this issue Oct 2, 2021
helje5 added a commit that referenced this issue Oct 2, 2021
edudnyk added a commit to edudnyk/docc2html that referenced this issue Oct 2, 2021
@helje5
Copy link
Contributor

helje5 commented Jan 8, 2022

Presumably fixed via #4

@helje5 helje5 closed this as completed Jan 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants