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 diff --git a/conf.py b/conf.py index edac8e878f..c43e805110 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()