swiftlang / swift-docc-render

Web renderer for Swift-DocC documentation.
Apache License 2.0
312 stars 52 forks source link

Include code and referenced text in metadata description #862

Closed mportiz08 closed 4 months ago

mportiz08 commented 4 months ago

Bug/issue #, if applicable: 129801569, #856

Summary

Fixes a bug where the logic that populates <meta name="description"> content doesn't include the text for any referenced items.

Testing

Steps:

  1. Use a link to a symbol in first paragraph abstract for a documentation page.
  2. Verify that the text for the referenced symbol is now included in the <meta name="description"> tag in the resulting HTML

Checklist

Make sure you check off the following items. If they cannot be completed, provide a reason.

mportiz08 commented 4 months ago

@swift-ci test

mportiz08 commented 4 months ago

@swift-ci test