After clicking Save documentation button, the docs function is overwritten:
_models.yml:
- name: model_name
description: "model description"
columns:
- name: time
description: UTC timestamp of the data point. Format is 'YYYY-MM-DD
hh:mm:ss[.6_digit_fraction]'
Log output/Screenshots
The docs block displays the core docs value in the documentation editor.
Expected behavior
The doc jinja function is not cleanly supported by the documentation editor.
I would expect either one of the following to occur:
Actual behavior
The documentation editor correctly retrieves the docs block, but overwrites the doc function call when documentation is saved.
Steps To Reproduce
_docs.md
:_models.yml
:After clicking
Save documentation
button, the docs function is overwritten:_models.yml
:Log output/Screenshots
The docs block displays the core docs value in the documentation editor.
Operating System
ubuntu 22.04
dbt version
1.5.4
dbt Adapter
BigQuery
dbt Power User version
0.17.5
Are you willing to submit PR?