We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e27932 commit 3066b6fCopy full SHA for 3066b6f
pytorch_sphinx_theme2/templates/404.html
@@ -94,7 +94,7 @@ <h2 class="error-404-subtitle">Page Not Found</h2>
94
<p class="error-404-text">The page you are looking for might have been removed, had its name changed, or is
95
temporarily unavailable.</p>
96
<div class="error-404-buttons">
97
- <a href="{{ html_baseurl or '/' }}" class="btn btn-primary error-404-button">
+ <a href="{{ pathto(master_doc) }}" class="btn btn-primary error-404-button">
98
Back Home <i class="fa fa-arrow-right" aria-hidden="true"></i>
99
</a>
100
<a href="{{ theme_feedback_url|default('https://github.com/pytorch/pytorch') }}/issues/new?template=documentation.yml&labels=module:%20docs,broken-link"
0 commit comments