From abb1f695f8db1396c8429bb23273f3f9ba62e2a2 Mon Sep 17 00:00:00 2001 From: sekyondaMeta <127536312+sekyondaMeta@users.noreply.github.com> Date: Wed, 11 Mar 2026 21:40:25 -0400 Subject: [PATCH 1/3] Update requirements.txt Updating to sphinxtheme 0.4.5, and adding a banner --- .ci/docker/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci/docker/requirements.txt b/.ci/docker/requirements.txt index b38f6bfb07..8ff623b60f 100644 --- a/.ci/docker/requirements.txt +++ b/.ci/docker/requirements.txt @@ -16,7 +16,7 @@ pandocfilters==1.5.1 markdown==3.8.2 # PyTorch Theme -pytorch_sphinx_theme2==0.4.4 +pytorch_sphinx_theme2==0.4.5 # Tutorial dependencies tqdm==4.66.1 From abbeae4713eb8d393d0f79c9fdc7d97d93ec3a9b Mon Sep 17 00:00:00 2001 From: sekyondaMeta <127536312+sekyondaMeta@users.noreply.github.com> Date: Wed, 11 Mar 2026 21:49:42 -0400 Subject: [PATCH 2/3] Update conf.py add survery --- conf.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/conf.py b/conf.py index edac8e878f..f53822bcc0 100644 --- a/conf.py +++ b/conf.py @@ -237,6 +237,14 @@ 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() From 49af2db10e0f7bd425410cde8dc4d659f8a3c490 Mon Sep 17 00:00:00 2001 From: sekyondaMeta <127536312+sekyondaMeta@users.noreply.github.com> Date: Thu, 12 Mar 2026 11:44:11 -0400 Subject: [PATCH 3/3] Update conf.py --- conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf.py b/conf.py index f53822bcc0..c43e805110 100644 --- a/conf.py +++ b/conf.py @@ -240,7 +240,7 @@ def wrapper(*args, **kwargs): # Announcement Banner Configuration "announcement_banner": { - "text": "Help us understand how you use PyTorch! Take our quick survey.", + "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,