You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[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]>
0 commit comments