From 4ba815b84e176033f37ea4e6b0311edd9066e946 Mon Sep 17 00:00:00 2001 From: Chayenne Date: Wed, 30 Oct 2024 12:28:12 -0700 Subject: [PATCH] Fix suggest edit (#1842) Co-authored-by: Chayenne --- docs/conf.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index a988a13e2..5bad02038 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -55,7 +55,7 @@ html_copy_source = True html_last_updated_fmt = "" html_theme_options = { - "repository_url": "https://github.com/sgl-project/sglang", + "repository_url": "https://github.com/sgl-project/sgl-project.github.io", "repository_branch": "main", "show_navbar_depth": 3, "max_navbar_depth": 4, @@ -69,6 +69,14 @@ html_theme_options = { "show_toc_level": 2, } +html_context = { + "display_github": True, + "github_user": "sgl-project", + "github_repo": "sgl-project.github.io", + "github_version": "main", + "conf_py_path": "/docs/", +} + html_static_path = ["_static"] html_css_files = ["css/custom_log.css"]