diff --git a/docs/content/api/modules.json.gz b/docs/content/api/modules.json.gz
index baa5bc0ef5727..d951bbd38aa4c 100644
Binary files a/docs/content/api/modules.json.gz and b/docs/content/api/modules.json.gz differ
diff --git a/docs/content/api/searchindex.json.gz b/docs/content/api/searchindex.json.gz
index 96c885dad7606..e3cd863c71ba9 100644
Binary files a/docs/content/api/searchindex.json.gz and b/docs/content/api/searchindex.json.gz differ
diff --git a/docs/content/api/sections.json.gz b/docs/content/api/sections.json.gz
index c854b024ed92f..14cb5a8baed4f 100644
Binary files a/docs/content/api/sections.json.gz and b/docs/content/api/sections.json.gz differ
diff --git a/docs/content/integrations/dbt/reference.mdx b/docs/content/integrations/dbt/reference.mdx
index 6ce9c2fd7f552..356550a6348ae 100644
--- a/docs/content/integrations/dbt/reference.mdx
+++ b/docs/content/integrations/dbt/reference.mdx
@@ -522,7 +522,7 @@ Dagster also supports fetching additional metadata at dbt execution time to atta
#### Attaching code reference metadata
-Dagster's dbt integration can automatically attach [Code reference](/guides/dagster/code-references) metadata to the SQL files backing your dbt assets. To enable this feature, set the `enable_code_references` parameter to `True` in the passed to your :
+Dagster's dbt integration can automatically attach [code reference](/guides/dagster/code-references) metadata to the SQL files backing your dbt assets. To enable this feature, set the `enable_code_references` parameter to `True` in the passed to your :
```python file=/guides/dagster/code_references/with_dbt_code_references.py
from pathlib import Path
@@ -555,7 +555,6 @@ def my_dbt_assets(context: AssetExecutionContext, dbt: DbtCliResource):
yield from dbt.cli(["build"], context=context).stream()
-# optionally, add references to the Python source with with_source_code_references
defs = Definitions(assets=with_source_code_references([my_dbt_assets]))
```
diff --git a/docs/next/public/objects.inv b/docs/next/public/objects.inv
index fa4d1a296d7be..f345300c56487 100644
Binary files a/docs/next/public/objects.inv and b/docs/next/public/objects.inv differ
diff --git a/examples/docs_snippets/docs_snippets/guides/dagster/code_references/with_dbt_code_references.py b/examples/docs_snippets/docs_snippets/guides/dagster/code_references/with_dbt_code_references.py
index e120f3512c59e..0839d4801adff 100644
--- a/examples/docs_snippets/docs_snippets/guides/dagster/code_references/with_dbt_code_references.py
+++ b/examples/docs_snippets/docs_snippets/guides/dagster/code_references/with_dbt_code_references.py
@@ -28,5 +28,4 @@ def my_dbt_assets(context: AssetExecutionContext, dbt: DbtCliResource):
yield from dbt.cli(["build"], context=context).stream()
-# optionally, add references to the Python source with with_source_code_references
defs = Definitions(assets=with_source_code_references([my_dbt_assets]))