From 6d78be0c8341baec4f9c5559db8c85d8956a7a74 Mon Sep 17 00:00:00 2001 From: Nuno Campos Date: Tue, 3 Jan 2023 18:16:59 +0000 Subject: [PATCH] Add link to gihub repo in header of new docs (#524) --- docs/conf.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/conf.py b/docs/conf.py index cc862581ba..eeb06e6fc4 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -78,6 +78,12 @@ exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"] # html_theme = "sphinx_book_theme" +html_theme_options = { + "path_to_docs": "docs", + "repository_url": "https://github.com/hwchase17/langchain", + "use_repository_button": True, +} + html_context = { "display_github": True, # Integrate GitHub "github_user": "hwchase17", # Username