Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[docs-beta] support path prefix for tutorial snippets (#26792)
## Summary & Motivation - Adds support for `pathPrefix` in `CodeExample` component This allows us to use examples that are outside of the `docs_beta_snippets` folder, for example, `examples/tutorial_pinecone`. Tutorial was updated to demonstrate how this can be used: ``` <CodeExample pathPrefix="tutorial_pinecone/tutorial_pinecone" filePath="assets.py" lineStart="22" lineEnd ="60" /> ``` ## How I Tested These Changes ``` yarn dev ``` ## Changelog NOCHANGELOG --------- Co-authored-by: Dennis Hume <[email protected]>
- Loading branch information
e047b1e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Deploy preview for dagster-docs-beta ready!
✅ Preview
https://dagster-docs-beta-n16l67jsj-elementl.vercel.app
Built with commit e047b1e.
This pull request is being automatically deployed with vercel-action