-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Add the ability to define a terms section or glossary #2860
Comments
Neat idea, @datGnomeLife. I definitely recall hearing a desire for docs blocks that can reference other The I don't foresee taking immediate action here; a significant rework of dbt-docs remains on the longer-term roadmap. In the meantime, I'm interested to see what other folks think. |
This would be great! We're trying to hack together a "glossary" right now via existing dbt docs functionality. Looking forward to seeing progress here. |
This issue has been marked as Stale because it has been open for 180 days with no activity. If you would like the issue to remain open, please remove the stale label or comment on the issue, or it will be closed in 7 days. |
Describe the feature
With the introduction of exposures I think there is a great opportunity to expand on some more of the “meta data” capabilities in dbt docs. I think a great addition would be a terms glossary. This could be for business terms or some other terms that are often repeated. I think this could be best achieved with a new yaml schema, something to the effect of:
Then could be used referenced in doc macros:
Then Ideally in the dbt docs, in the description, it would render a link to the item in the glossary being referenced or render a preview on hover.
Describe alternatives you've considered
Could be achieved via a
terms
macro or extending the docs macro functionality.Additional context
This is database agnostic and purely for informational purposes
Who will this benefit?
I think this could benefit all DBT users or consumers of DBT docs. The ability to define terms provides valuable context. Even a well detailed catalog isn't as useful if the descriptions make references to terms that assume user knows what they mean. This would help keep things DRY by allowing dbt users to define terms once and reference elsewhere.
Are you interested in contributing this feature?
I'm definitely interested in contributing to this feature, might need help in the frontend department.
The text was updated successfully, but these errors were encountered: