Skip to content

The agent engineering platform.

Add link to gihub repo in header of new docs (#524)

Nuno Campos6d78be0c8341
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