From 7ae89d647347a355309daa2bfca569703d90f16b Mon Sep 17 00:00:00 2001 From: leo-gan Date: Tue, 10 Dec 2024 15:27:36 -0800 Subject: [PATCH] removed right-side ToC --- docs/docs/integrations/providers/all.mdx | 4 +++- docs/scripts/providers_index.py | 7 +++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/docs/docs/integrations/providers/all.mdx b/docs/docs/integrations/providers/all.mdx index 977e493af2b50b..0bdc00512f210e 100644 --- a/docs/docs/integrations/providers/all.mdx +++ b/docs/docs/integrations/providers/all.mdx @@ -1,6 +1,8 @@ +--- +hide_table_of_contents: true +--- # Providers - :::info If you'd like to write your own integration, see [Extending LangChain](/docs/how_to/#custom). diff --git a/docs/scripts/providers_index.py b/docs/scripts/providers_index.py index 28483b4fc8917e..a972a89436401d 100644 --- a/docs/scripts/providers_index.py +++ b/docs/scripts/providers_index.py @@ -65,8 +65,11 @@ def generate_index_page(items: list[str], num_columns: int = 5) -> str: # Generate Markdown content content = [ - "# Providers\n\n", - """ +"""--- +hide_table_of_contents: true +--- +# Providers + :::info If you'd like to write your own integration, see [Extending LangChain](/docs/how_to/#custom).