-
Notifications
You must be signed in to change notification settings - Fork 128
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
Warning: "Link in document summary will not be displayed." is inaccurate. #341
Comments
IIRC the original issue was the links in abstracts didn't display in the task groups on other pages. For example, If I know that when working with content outside of the documentation catalog—which is a niche feature that most developers don't interact with—the references encountered in the abstract are not encoded and decoded so they would get lost. I think that it would make sense to limit this warning to only when |
Is this just referring to url links? I didn't know you could reference a symbol outside of the documentation catalog. Is there any documentation on this? I'm working with multiple targets, and would love for my docs to be able to link from one target's symbols to anothers.
I'm all for limiting the warning to when |
Swift-DocC has the core infrastructure and interfaces to support this but it doesn't come with and end-to-end solution so it's not covered as a user-facing feature. Interacting with this system will require some custom code by the developer and additional configuration to integrate it in their documentation workflow. If you're curious, the implementation is well documented including some higher level descriptions like this one. It's primarily meant as a way to interact with other systems via a common data exchange format. The tests in
The underlying issue can definitely be resolved but it's a fair bit of work. The easy pieces would be to encode and decode the references from the abstract in |
Related issues: swiftlang/swift-book#1 |
Description
When including a link in the Abstract of a documentation file, I get a warning emitted:
However the link does appear in the summary both in the Xcode Documentation Navigator, and in my deployed documentation HTML website.
It seems like this is working just fine now, so should we remove the warning?
Checklist
main
branch of this package.The text was updated successfully, but these errors were encountered: