Skip to content

Commit 00e7ea0

Browse files
Moh-Yakoubvfdev-5
andauthored
[#2325] Remove old docs related at https://pytorch.org/ignite/ (#2432)
* remove all old docs * revert some used items * More updates according to the review Co-authored-by: vfdev-5 <vfdev.5@gmail.com>
1 parent 7c8d801 commit 00e7ea0

File tree

10 files changed

+22
-1534
lines changed

10 files changed

+22
-1534
lines changed

docs/source/_templates/layout.html

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -122,36 +122,41 @@
122122
<div class="container-fluid header-holder tutorials-header" id="header-holder">
123123
<div class="container">
124124

125-
<a class="header-logo" href="{{ theme_variables.external_urls['home'] }}" aria-label="PyTorch-Ignite"></a>
125+
<a class="header-logo" href="/" aria-label="PyTorch-Ignite"></a>
126126

127127
<div class="header-container">
128128

129129
<div class="main-menu">
130130
<ul>
131131
<li>
132-
<a href="{{ theme_variables.external_urls['quickstart'] }}">Quickstart</a>
132+
<a href="{{ theme_variables.external_urls['home'] }}/{{ theme_variables.external_urls['quickstart'] }}">Quickstart</a>
133133
</li>
134134

135135
<li>
136-
<a href="{{ pathto('concepts') }}">Concepts</a>
136+
<a href="{{ theme_variables.external_urls['home'] }}/{{ theme_variables.external_urls['concepts'] }}">Concepts</a>
137137
</li>
138138

139+
<!-- <li>
140+
<a href="{{ theme_variables.external_urls['home'] }}/{{ theme_variables.external_urls['examples'] }}">Examples</a>
141+
</li> -->
142+
139143
<li>
140-
<a href="{{ pathto('examples') }}">Examples</a>
144+
<a href="{{ theme_variables.external_urls['home'] }}/{{ theme_variables.external_urls['faq'] }}">FAQ</a>
141145
</li>
142146

143147
<li>
144-
<a href="{{ theme_variables.external_urls['faq'] }}">FAQ</a>
148+
<a href="{{ theme_variables.external_urls['github'] }}" target="_blank" rel="noopener noreferrer">GitHub</a>
145149
</li>
146150

147151
<li>
148-
<a href="{{ theme_variables.external_urls['github'] }}" target="_blank" rel="noopener noreferrer">GitHub</a>
152+
<a href="{{ theme_variables.external_urls['home'] }}/{{ theme_variables.external_urls['about_us'] }}">About us</a>
149153
</li>
150154

151155
<li>
152-
<a href="{{ theme_variables.external_urls['about_us'] }}">About us</a>
156+
<a href="{{ theme_variables.external_urls['home'] }}">⊳ pytorch-ignite.ai</a>
153157
</li>
154158

159+
155160
</ul>
156161
</div>
157162

docs/source/_templates/theme_variables.jinja

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
'contributing': 'https://github.com/pytorch/ignite/blob/master/CONTRIBUTING.md',
55
'docs': 'https://pytorch.org/ignite/index.html',
66

7-
'home': 'https://pytorch.org/ignite',
7+
'home': 'https://pytorch-ignite.ai',
88

9-
'concepts': 'concepts.html',
10-
'quickstart': 'https://pytorch-ignite.ai/tutorials/beginner/01-getting-started/',
11-
'examples': 'examples.html',
12-
'faq': 'https://pytorch-ignite.ai/how-to-guides/',
13-
'about_us': 'https://pytorch-ignite.ai/about/community/'
9+
'concepts': 'concepts/',
10+
'quickstart': 'tutorials/beginner/01-getting-started/',
11+
'examples': 'tutorials/beginner/01-getting-started/#complete-code',
12+
'faq': 'how-to-guides/',
13+
'about_us': 'about/community/'
1414
}
1515
-%}

docs/source/about.rst

Lines changed: 0 additions & 88 deletions
This file was deleted.

0 commit comments

Comments
 (0)