From eca8c5515d9628276411ca921cd9349bf999de3d Mon Sep 17 00:00:00 2001 From: Chandra Nandan Date: Sun, 2 Mar 2025 02:00:41 +0530 Subject: [PATCH] docs: sidebar-content-render (#30061) (#30062) Thank you for contributing to LangChain! - [x] **PR title**: "docs: added proper width to sidebar content" - [x] **PR message**: added proper width to sidebar content - **Description:** While accessing the [LangChain Python API Reference](https://python.langchain.com/api_reference/index.html) the sidebar content does not display correctly. - **Issue:** Follow-up to #30061 - **Dependencies:** None - **Twitter handle:** https://x.com/implicitdefcnc - [ ] **Add tests and docs**: If you're adding a new integration, please include 1. a test for the integration, preferably unit tests that do not rely on network access, 2. an example notebook showing its use. It lives in `docs/docs/integrations` directory. - [ ] **Lint and test**: Run `make format`, `make lint` and `make test` from the root of the package(s) you've modified. See contribution guidelines for more: https://python.langchain.com/docs/contributing/ Additional guidelines: - Make sure optional dependencies are imported within a function. - Please do not add dependencies to pyproject.toml files (even optional ones) unless they are required for unit tests. - Most PRs should not touch more than one package. - Changes should be backwards compatible. - If you are adding something to community, do not re-import it in langchain. If no one reviews your PR within a few days, please @-mention one of baskaryan, efriis, eyurtsev, ccurme, vbarda, hwchase17. --- docs/api_reference/_static/css/custom.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api_reference/_static/css/custom.css b/docs/api_reference/_static/css/custom.css index f98ef261973..cf06028c5e5 100644 --- a/docs/api_reference/_static/css/custom.css +++ b/docs/api_reference/_static/css/custom.css @@ -328,7 +328,7 @@ html[data-theme=dark] .MathJax_SVG * { } .bd-sidebar-primary { - width: 22%; /* Adjust this value to your preference */ + width: max-content; /* Adjust this value to your preference */ line-height: 1.4; }