sitemap.wml 8.99 KB
Newer Older
1
#use wml::debian::common_tags
Josip Rodin's avatar
Josip Rodin committed
2
#use wml::debian::links.tags
3 4
#use wml::debian::template title="<sitemap>" BARETITLE=true
#include "$(ENGLISHDIR)/releases/info"
5
#include "$(ENGLISHDIR)/MailingLists/mklist.tags"
6 7 8

# Don't translate this file, it will only make you look stupid.

9 10 11 12 13 14 15
#   title_of return values contain tags processed during pass 2,
#   and ePerl will fail if double quotes are in expanded text.
#   For this reason, tag content must be protected
<define-tag escape endtag=required>\
  <protect pass=3>%body</protect>\
</define-tag>

16 17 18 19 20
<perl>
sub title_of {
  my ($page) = @_;

# special cases
21 22 23 24 25 26 27
  if ($page eq "https://lists.debian.org/") { return "<escape><mailarchives></escape>" }
  if ($page eq "https://lists.debian.org/users.html") { return "<escape><listarchives_users></escape>" }
  if ($page eq "https://lists.debian.org/devel.html") { return "<escape><listarchives_devel></escape>" }
  if ($page eq "https://lists.debian.org/i18n.html") { return "<escape><listarchives_i18n></escape>" }
  if ($page eq "https://lists.debian.org/ports.html") { return "<escape><listarchives_ports></escape>" }
  if ($page eq "https://lists.debian.org/bugs.html") { return "<escape><listarchives_bugs></escape>" }
  if ($page eq "https://lists.debian.org/misc.html") { return "<escape><listarchives_misc></escape>" }
28
  if ($page eq "$(SEARCH)") { return "<escape><search></escape>" }
29
  if ($page eq "https://db.debian.org/") { return "<escape><developerdb></escape>" }
30
  if ($page eq "News/weekly/") { return "<escape><debianweeklynews></escape>" }
31
  if ($page eq "News/project/") { return "<escape><debianprojectnews></escape>" }
32
  if ($page eq "doc/manuals/debian-faq/") { return "<escape><debian_faq></escape>" }
33
  if ($page eq "doc/debian-policy/") { return "<escape><policy_manual></escape>" }
34 35
  if ($page eq "doc/manuals/developers-reference/") { return "<escape><devel_reference></escape>" }
  if ($page eq "doc/manuals/maint-guide/") { return "<escape><new_maint_guide></escape>" }
36
  if ($page eq "https://bugs.debian.org/release-critical/") { return "<escape><rc_bugs></escape>" }
37 38 39
  if ($page eq "http://lintian.debian.org/") { return "<escape><lintian></escape>" }
  if ($page eq "MailingLists/subscribe") { return "<escape><subscribe_title></escape>" }
  if ($page eq "MailingLists/unsubscribe") { return "<escape><unsubscribe_title></escape>" }
40
  if ($page eq "https://wiki.debian.org/DebianEdu") { return "<escape><debian-edu_title></escape>" }
41 42 43 44
  if ($page eq "http://alioth.debian.org/") { return "<escape><alioth></escape>" }
  if ($page eq "http://qa.debian.org/") { return "<escape><qa_group></escape>" }
  if ($page eq "http://packages.qa.debian.org/") { return "<escape><pts></escape>" }
  if ($page eq "http://qa.debian.org/developer.php") { return "<escape><ddpo></escape>" }
45 46

  $page =~ s/^(.+)#(.+)$/$1/; # remove anchors (will handle this later)
47 48
  $page =~ s,/stable/,/<current_release_name>/,;
  $page =~ s,/testing/,/<current_testing_name>/,;
49 50 51
  if ($page =~ /\/$/) { $page .= "index.wml" } else { $page .= ".wml" };
#  print STDERR "page: $page\n"; return;
  $page = "$ENGLISHDIR/$page" unless (-f $page);
52 53
  die "$page doesn't exist!\n" unless (-f $page);
  my $title = `egrep '^#use .* title=' $page `; chomp $title;
54
  $title =~ s/^#use .* title="(.+?)("\s.*$|"$|"\e.*$)/$1/;
55 56 57 58 59 60
<protect pass=2>
  if ($title eq '<pagetitle>') {
    $title = `egrep '^<define-tag pagetitle>.*</define-tag>' $page `; chomp $title;
    $title =~ s/^<define-tag pagetitle>(.+?)<\/define-tag>/$1/;
  }
</protect>
61
  die "can't find a title in $page!\n" unless (($title) || ($title eq ""));
62 63 64 65 66 67 68 69
  return $title;
}
</perl>

<define-tag linkto whitespace=delete>
<a href="%0"><:= title_of("%0") :></a>
</define-tag>

70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85
<ul>
<li><a href="#aboutdebian"><aboutdebian/></a></li>
<li><a href="#gettingdebian"><gettingdebian/></a></li>
<li><a href="#support"><support/></a></li>
<li><a href="#development"><development/></a></li>
<li><a href="#misc"><misc/></a></li>
</ul>

<hrline>

<div id="main">

<div class="card" id="aboutdebian">
  <h2><aboutdebian/></h2>
  <div>
  <div class="lefthalf"> 
86
  <ul>
87 88
  <li><linkto "intro/about">
  <li><linkto "social_contract">
Neil McGovern's avatar
Neil McGovern committed
89
  <li><linkto "code_of_conduct">
Josip Rodin's avatar
Josip Rodin committed
90 91
  <li><linkto "intro/free">
  <li><linkto "intro/why_debian">
92 93 94
  </ul>

  <ul>
Josip Rodin's avatar
Josip Rodin committed
95
  <li><linkto "intro/organization">
96
  <li><linkto "donations">
97
  <li><linkto "contact">
98
  </ul>
99 100
  </div>
  <div class="righthalf">
101
  <ul>
102
  <li><linkto "intro/cn">
103 104
  </ul>

105
  <ul>
106
  <li><linkto "News/">
107
  <li><linkto "News/project/">
108
  <li><linkto "events/">
109 110
  </ul>

111
  <ul>
112
  <li><linkto "misc/equipment_donations">
113
  <li><linkto "partners/">
114
  <li><linkto "mirror/official_sponsors">
115
  </ul>
116 117 118 119 120 121 122
  </div>
  </div>
</div>
<div class="card" id="gettingdebian">
  <h2><gettingdebian/></h2>
  <div>
  <div class="lefthalf"> 
123
  <ul>
124 125 126 127 128
  <li><linkto "releases/">
  <li><linkto "releases/stable/">
  <li><linkto "releases/testing/">
  </ul>

129
  <ul>
130
  <li><linkto "distrib/packages">
131 132 133 134
  </ul>

  <ul>
  <li><linkto "distrib/">
135
  <li><linkto "distrib/netinst">
136
  <li><linkto "CD/netinst/">
137
  </ul>
138 139
  </div>
  <div class="righthalf">
140 141
  <ul>
  <li><linkto "CD/">
142
  <li><linkto "CD/faq/">
Josip Rodin's avatar
Josip Rodin committed
143
  <li><linkto "CD/vendors/">
144
  <li><linkto "CD/">
145 146 147 148 149
  </ul>

  <ul>
  <li><linkto "CD/http-ftp/">
  <li><linkto "CD/jigdo-cd/">
150
  </ul>
151 152 153 154 155 156 157
  </div>
  </div>
</div>
<div class="card" id="support">
  <h2><support/></h2>
  <div>
  <div class="lefthalf"> 
158
  <ul>
159
  <li><linkto "support">
160
  <li><linkto "international/">
161
  <li><linkto "consultants/">
162
  <li><linkto "distrib/pre-installed">
163 164
  </ul>

165
  <ul>
166
  <li><linkto "doc/">
167
  <li><linkto "doc/manuals/debian-faq/">
Josip Rodin's avatar
Josip Rodin committed
168
  <li><linkto "doc/books">
169
  <li><linkto "doc/ddp">
170
  <li><linkto "doc/user-manuals">
Josip Rodin's avatar
Josip Rodin committed
171 172 173
  <li><linkto "doc/devel-manuals">
  <li><linkto "doc/misc-manuals">
  </ul>
174 175
  </div>
  <div class="righthalf">
176 177
  <ul>
  <li><linkto "security/">
178
  <li><linkto "security/audit/">
179 180
  </ul>

181
  <ul>
182
  <li><linkto "MailingLists/">
Josip Rodin's avatar
Josip Rodin committed
183 184 185
  <li><linkto "MailingLists/debian-announce">
  <li><linkto "MailingLists/subscribe">
  <li><linkto "MailingLists/unsubscribe">
186
  </ul>
187

188
  <ul>
189 190 191 192 193 194 195
  <li><linkto "https://lists.debian.org/">
  <li><linkto "https://lists.debian.org/users.html">
  <li><linkto "https://lists.debian.org/devel.html">
  <li><linkto "https://lists.debian.org/i18n.html">
  <li><linkto "https://lists.debian.org/ports.html">
  <li><linkto "https://lists.debian.org/bugs.html">
  <li><linkto "https://lists.debian.org/misc.html">
196
  </ul>
197 198 199 200 201 202 203
  </div>
  </div>
</div>
<div class="card" id="development">
  <h2><development/></h2>
  <div>
  <div class="lefthalf"> 
204
  <ul>
Josip Rodin's avatar
Josip Rodin committed
205 206 207 208 209
  <li><linkto "Bugs/">
  <li><linkto "Bugs/Reporting">
  <li><linkto "Bugs/server-control">
  <li><linkto "Bugs/server-request">
  <li><linkto "Bugs/Developer">
210
  <li><linkto "https://bugs.debian.org/release-critical/">
Josip Rodin's avatar
Josip Rodin committed
211 212
  </ul>

213
  <ul>
Josip Rodin's avatar
Josip Rodin committed
214
  <li><linkto "doc/debian-policy/">
215 216
  <li><linkto "doc/manuals/developers-reference/">
  <li><linkto "doc/manuals/maint-guide/">
Josip Rodin's avatar
Josip Rodin committed
217 218
  </ul>

219
  <ul>
Josip Rodin's avatar
Josip Rodin committed
220 221
  <li><linkto "ports/">
  <li><linkto "ports/alpha/">
222
  <li><linkto "ports/amd64/">
Josip Rodin's avatar
Josip Rodin committed
223 224 225 226 227 228 229 230 231 232
  <li><linkto "ports/arm/">
  <li><linkto "ports/hppa/">
# <li><linkto "ports/i386/">
  <li><linkto "ports/ia64/">
  <li><linkto "ports/m68k/">
  <li><linkto "ports/mips/">
  <li><linkto "ports/powerpc/">
  <li><linkto "ports/s390/">
  <li><linkto "ports/sparc/">
  </ul>
233 234 235 236 237 238 239

  <ul>
  <li><linkto "http://qa.debian.org/">
  <li><linkto "http://lintian.debian.org/">
  <li><linkto "http://packages.qa.debian.org/">
  <li><linkto "http://qa.debian.org/developer.php">
  </ul>
240 241
  </div>
  <div class="righthalf">
242
  <ul>
Josip Rodin's avatar
Josip Rodin committed
243 244 245 246
  <li><linkto "devel/">
  <li><linkto "devel/constitution">
  <li><linkto "devel/people">
  <li><linkto "devel/developers.loc">
247
  <li><linkto "https://db.debian.org/">
Josip Rodin's avatar
Josip Rodin committed
248 249 250
  <li><linkto "devel/join/">
  <li><linkto "devel/misc/">
  </ul>
251

252
  <ul>
Josip Rodin's avatar
Josip Rodin committed
253 254 255 256 257
  <li><linkto "devel/join/newmaint">
  <li><linkto "devel/wnpp/">
  <li><linkto "devel/website/">
  <li><linkto "devel/website/translating">
  </ul>
258

259 260 261 262 263 264 265
  <ul>
  <li><linkto "http://alioth.debian.org/">
  </ul>

  <ul>
  <li><linkto "devel/debian-jr/">
  <li><linkto "devel/debian-med/">
266
  <li><linkto "https://wiki.debian.org/DebianEdu">
267 268 269 270 271 272
  <li><linkto "devel/debian-desktop/">
  <li><linkto "devel/debian-lex/">
  <li><linkto "devel/debian-nonprofit/">
  <li><linkto "devel/debian-accessibility/">
  </ul>

273
  <ul>
Josip Rodin's avatar
Josip Rodin committed
274 275 276 277
  <li><linkto "vote/">
  <li><linkto "vote/howto_proposal">
  <li><linkto "vote/howto_follow">
  </ul>
278 279 280 281 282 283 284
  </div>
  </div>
</div>
<div class="card" id="misc">
  <h2><misc/></h2>
  <div>
  <div class="lefthalf"> 
285
  <ul>
Josip Rodin's avatar
Josip Rodin committed
286 287 288 289
  <li><linkto "mirror/">
  <li><linkto "mirror/size">
  <li><linkto "mirror/submit">
  <li><linkto "mirror/ftpmirror">
290
  <li><linkto "CD/mirroring/">
291
  <li><linkto "mirror/official">
292

Josip Rodin's avatar
Josip Rodin committed
293
  </ul>
294 295
  </div>
  <div class="righthalf">
296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312

  <ul>
  <li><linkto "logos/">
  <li><linkto "banners/">
  <li><linkto "CD/artwork/">
  </ul>

  <ul>
  <li><linkto "misc/merchandise">
  <li><linkto "misc/related_links">
  </ul>

  <ul>
  <li><linkto "misc/awards">
  </ul>
  <ul>
  <li><linkto "ports/hurd/">
Josip Rodin's avatar
Josip Rodin committed
313
  <li><linkto "ports/netbsd/">
314
  <li><linkto "ports/kfreebsd-gnu/">
315 316 317 318 319
  </ul>
  <ul>
  <li><linkto "ports/beowulf/">
  <li><linkto "misc/laptops/">
  </ul>
320 321 322
  </div>
  </div>
</div>
323

324
<p><strong><linkto "$(SEARCH)"></strong></p>
325
</div>