From 05ee13f398a4f560e0c5f7716bb1e0c8fab2e57b Mon Sep 17 00:00:00 2001 From: sekyondaMeta <127536312+sekyondaMeta@users.noreply.github.com> Date: Wed, 18 Mar 2026 10:47:37 -0400 Subject: [PATCH] Update conf.py Add banner for docs survey --- conf.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/conf.py b/conf.py index edac8e878f..bcd2f8dd0a 100644 --- a/conf.py +++ b/conf.py @@ -237,6 +237,13 @@ def wrapper(*args, **kwargs): "pytorch_project": "tutorials", "llm_disabled": False, "canonical_url": "https://docs.pytorch.org/tutorials/", + # Announcement Banner Configuration + "announcement_banner": { + "text": "Help us understand how you use PyTorch! Take our quick survey.", + "url": "https://docs.google.com/forms/d/e/1FAIpQLSfsGAWBcfutRcbO6kfrShBMOMmRuBezRjjOcXk0e9I9luBzvQ/viewform", + "link_text": "Take Survey", + "dismissible": True, + }, } theme_variables = pytorch_sphinx_theme2.get_theme_variables()