Skip to content

docs: mark the dbt source option deprecated - #1531

Merged
gwenwindflower merged 1 commit into
mainfrom
docs/deprecate-cli-source
Oct 29, 2026
Merged

gwenwindflower merged 1 commit into
mainfrom
docs/deprecate-cli-source

Conversation

@charliedowler

Copy link
Copy Markdown
Contributor

Problem

The CLI reference does not show that the dbt source option is deprecated.
Users need to know that the flag still works and that source inference is the normal path.

Refs lightdash/lightdash#31326
Refs PROD-12507

Approach

Mark --source <name> as deprecated for deploy, preview, and start-preview.
Use the same notice text as the CLI. Keep the source-name behavior and the stored-source documentation.

Tests

  • The changed-file documentation validator passes.
  • The component baseline audit passes.
  • Mintlify build validation passes. Its anchor check reports seven existing findings outside the CLI reference. A clean main control at c8af65668816fbcbf67db48787c5de8c9ed9819a reports the same seven findings with Mintlify 4.2.1040. The repository internal-link audit reports the same findings.
  • The diff adds no links and changes no navigation.

Behaviour changes and compatibility

  • --source is deprecated. The CLI shows a yellow warning once per run on stderr when the flag is passed.
  • The flag still works and is not removed. It remains a fallback when source inference cannot decide.
  • lightdash config set-source keeps its existing behavior and documentation.
  • The docs use the same deprecation wording for all three dbt source commands.

Created with Grok Bot (Thunder) via T3 Code (GPT-6.1-Sol)

@mintlify

mintlify Bot commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
lightdash 🟢 Ready View Preview Oct 21, 2026, 6:26 PM

@linear-code

linear-code Bot commented Oct 21, 2026

Copy link
Copy Markdown

PROD-12507

@github-actions

Copy link
Copy Markdown
Contributor

Documentation validation

✅ All blocking checks passed.

Component system

0 finding(s) across the corpus.

Findings on lines this pull request touched are annotated inline in Files changed.

View the validation run.

@gwenwindflower
gwenwindflower marked this pull request as ready for review October 29, 2026 18:23
@gwenwindflower
gwenwindflower merged commit 2f89fa9 into main Oct 29, 2026
9 checks passed
@gwenwindflower
gwenwindflower deleted the docs/deprecate-cli-source branch October 29, 2026 18:23

This branch was successfully deployed

1 active deployment
staging — dd4c41f7 Deployed Oct 21, 2026 by mintlify[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants