-
Notifications
You must be signed in to change notification settings - Fork 132
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
Enable "mentioned in" feature by default #1114
base: main
Are you sure you want to change the base?
Enable "mentioned in" feature by default #1114
Conversation
@swift-ci please test |
@swift-ci please test |
cf168a5
to
c85640e
Compare
This Swift Forums post proposes that we enable this feature by default. |
c85640e
to
190ebb1
Compare
When you link to a symbol from an article's content, DocC automatically creates a "mentioned in" link from mentioned symbol's page to the article that mentioned the symbol. | ||
These "mentioned in" links helps the reader find conceptual content that put a specific symbol in context or that describe how to accomplish some task using that symbol. | ||
|
||
DocC only creates "mentioned in" links when an _article_ links to a symbol and only when that link appears in the article's _content_. |
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.
Would it be worth mentioning whether or not this works when a sample code page, API collection page or framework page links to a symbol? Are sample code pages considered to be articles?
I assume the answer is "not" but maybe we should make that explicit here.
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.
Correct, this is specifically for articles.
Bug/issue #, if applicable:
Summary
This enables the "mentioned in" feature by default and removes the "experimental" word from its feature flag.
Dependencies
None
Testing
Run
docc convert --help
Build documentation for some project with a symbol that's linked to from the content of some article
Repeat step 2 but pass
--disable-mentioned-in
.Checklist
Make sure you check off the following items. If they cannot be completed, provide a reason.
./bin/test
script and it succeeded