Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .ci/docker/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 8 additions & 0 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
Loading