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

Linkable glossary #838

Open
davedelong opened this issue Feb 20, 2024 · 0 comments
Open

Linkable glossary #838

davedelong opened this issue Feb 20, 2024 · 0 comments
Labels
enhancement Improvements or enhancements to existing functionality needs forum discussion Needs to be discussed in the Swift Forums

Comments

@davedelong
Copy link

Feature Name

Glossary

Description

I would like DocC to aggregate - term Word: Definition… listings into a glossary, and then support linking to individual terms in that glossary using <term:Word>.

Motivation

It's pretty typical for packages to have custom terms or terms of art they use to express concepts, and aggregating that information into a glossary is useful for newcomers to become familiar with core concepts of the package. Having a consistent way to display that information would make building rich documentation simpler.

Importance

No response

Alternatives Considered

Currently I'm manually building my own glossary, but the generated HTML does not include id="..." values on the individual terms, so I cannot link to a specific term. The best I can do is [the term](<doc:Glossary>), which only takes users to the page itself.

@davedelong davedelong added the enhancement Improvements or enhancements to existing functionality label Feb 20, 2024
@d-ronnqvist d-ronnqvist added the needs forum discussion Needs to be discussed in the Swift Forums label Feb 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvements or enhancements to existing functionality needs forum discussion Needs to be discussed in the Swift Forums
Projects
None yet
Development

No branches or pull requests

2 participants