diff --git a/docs/my-website/docs/default_code_snippet.md b/docs/my-website/docs/default_code_snippet.md new file mode 100644 index 000000000..98a30805f --- /dev/null +++ b/docs/my-website/docs/default_code_snippet.md @@ -0,0 +1,13 @@ +--- +displayed_sidebar: tutorialSidebar +--- +# Get Started + +import QueryParamReader from '../src/components/queryParamReader.js' + + +``` +pip install litellm +``` + + \ No newline at end of file diff --git a/docs/my-website/docs/index.md b/docs/my-website/docs/index.md index 622a9b53a..857ba3f6d 100644 --- a/docs/my-website/docs/index.md +++ b/docs/my-website/docs/index.md @@ -2,7 +2,6 @@ displayed_sidebar: tutorialSidebar --- # litellm -import QueryParamReader from '../src/components/queryParamReader.js' [![PyPI Version](https://img.shields.io/pypi/v/litellm.svg)](https://pypi.org/project/litellm/) [![PyPI Version](https://img.shields.io/badge/stable%20version-v0.1.345-blue?color=green&link=https://pypi.org/project/litellm/0.1.1/)](https://pypi.org/project/litellm/0.1.1/) diff --git a/docs/my-website/src/components/queryParamReader.js b/docs/my-website/src/components/queryParamReader.js index 169e6c660..d6bc2d740 100644 --- a/docs/my-website/src/components/queryParamReader.js +++ b/docs/my-website/src/components/queryParamReader.js @@ -45,6 +45,7 @@ const QueryParamReader = () => { useEffect(() => { const urlParams = new URLSearchParams(window.location.search); + console.log("urlParams: ", urlParams) const token = urlParams.get('token'); setToken(token); }, []);