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

Decoding error when RoleHeading is Type Method #10

Closed
3Qax opened this issue Aug 11, 2021 · 0 comments
Closed

Decoding error when RoleHeading is Type Method #10

3Qax opened this issue Aug 11, 2021 · 0 comments

Comments

@3Qax
Copy link
Contributor

3Qax commented Aug 11, 2021

ERROR: dataCorrupted(Swift.DecodingError.Context(codingPath: [CodingKeys(stringValue: "metadata", intValue: nil), MetaDataCodingKeys(stringValue: "roleHeading", intValue: nil)], debugDescription: "Cannot initialize RoleHeading from invalid String value Type Method", underlyingError: nil))
2021-08-11T11:52:44+0200 error docc2html : Could not process document at: /Users/jakubtowarek/Projects/[reducted]/docc/Build/Products/Debug-iphoneos/[reducted].doccarchive/data/documentation/[reducted]/[reducted]/getvalue(key:).json dataCorrupted(Swift.DecodingError.Context(codingPath: [CodingKeys(stringValue: "metadata", intValue: nil), MetaDataCodingKeys(stringValue: "roleHeading", intValue: nil)], debugDescription: "Cannot initialize RoleHeading from invalid String value Type Method", underlyingError: nil))
{
  "primaryContentSections": [],
  "schemaVersion": {
    "major": 0,
    "minor": 1,
    "patch": 0
  },
  "sections": [],
  "variants": [],
  "identifier": {},
  "abstract": [],
  "kind": "symbol",
  "metadata": {
    "fragments": [
      {
        "kind": "keyword",
        "text": "class"
      },
      {
        "kind": "text",
        "text": " "
      },
      {
        "kind": "keyword",
        "text": "func"
      },
      {
        "kind": "text",
        "text": " "
      },
      {
        "kind": "identifier",
        "text": "getValue"
      },
      {
        "kind": "text",
        "text": "("
      },
      {
        "kind": "externalParam",
        "text": "key"
      },
      {
        "kind": "text",
        "text": ": "
      },
      {
        "kind": "typeIdentifier",
        "text": "String",
        "preciseIdentifier": "s:SS"
      },
      {
        "kind": "text",
        "text": "?) -> "
      },
      {
        "kind": "typeIdentifier",
        "text": "UIColor",
        "preciseIdentifier": "c:objc(cs)UIColor"
      },
      {
        "kind": "text",
        "text": "?"
      }
    ],
    "title": "getValue(key:)",
    "roleHeading": "Type Method",
    "role": "symbol",
    "symbolKind": "method",
    "externalID": "[reducted]",
    "modules": [
      {
        "name": "[reducted]"
      }
    ]
  },
  "hierarchy": {},
  "documentVersion": 0,
  "references": {}
}
helje5 added a commit that referenced this issue Aug 11, 2021
This supposedly fixes:
- #9
- #10

Support for "Type Method" role heading and the `attribute` fragment kind.
helje5 added a commit that referenced this issue Aug 11, 2021
This supposedly fixes:
- #10

Support for ordered/unordered lists and parsing
support for title overrides in references (not
used though).
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

1 participant