From 2a5cdd3ea64994135a017f881d7f015d051565d2 Mon Sep 17 00:00:00 2001 From: Xi Yan Date: Tue, 29 Oct 2024 19:58:06 -0700 Subject: [PATCH] width --- docs/_static/custom.css | 4 +++- docs/source/conf.py | 5 +---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/docs/_static/custom.css b/docs/_static/custom.css index 0b570a74a..e6e34dbc8 100644 --- a/docs/_static/custom.css +++ b/docs/_static/custom.css @@ -1,3 +1,5 @@ +@import url("theme.css"); + .wy-nav-content { - max-width: 75% !important; + max-width: 90%; } diff --git a/docs/source/conf.py b/docs/source/conf.py index 6a19f7fcd..c52530d29 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -29,6 +29,7 @@ extensions = [ myst_enable_extensions = ["colon_fence"] html_theme = "sphinx_rtd_theme" +html_style = "css/custom.css" # html_theme = "sphinx_pdj_theme" # html_theme_path = [sphinx_pdj_theme.get_html_theme_path()] @@ -79,7 +80,3 @@ html_theme_options = { html_static_path = ["../_static"] html_logo = "../_static/llama-stack-logo.png" - -html_css_files = [ - "custom.css", -]