Commit cbc683c
committed
Enable download button for offline tutorial access - Fixes #712
Enables the download_all_examples feature in Sphinx gallery configuration
to allow users to download tutorials for offline access.
Issue:
Users requested the ability to access PyTorch tutorials offline (e.g., before
flights) without having to build the entire repository locally, which takes
a long time.
Solution:
Changed download_all_examples from False to True in conf.py. This enables
download buttons on all tutorial pages, allowing users to:
- Download individual tutorial files
- Access tutorials offline
- Save tutorials for later reference
Benefits:
- Improves accessibility for users with limited internet
- Enables offline learning and development
- Reduces barrier to entry (no need to build repo)
- Aligns with common documentation practices
This is a simple one-line configuration change that significantly improves
user experience for offline access to PyTorch tutorials.
Fixes #7121 parent 9dc8613 commit cbc683c
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
178 | | - | |
| 178 | + | |
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
| |||
0 commit comments