sitemap.wml 8.79 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
#use wml::debian::card
7 8 9

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

10 11 12 13 14 15 16
#   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>

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

# special cases
22 23 24 25 26
  if ($page eq "http://lists.debian.org/") { return "<escape><mailarchives></escape>" }
  if ($page eq "http://lists.debian.org/users.html") { return "<escape><listarchives_users></escape>" }
  if ($page eq "http://lists.debian.org/devel.html") { return "<escape><listarchives_devel></escape>" }
  if ($page eq "http://lists.debian.org/i18n.html") { return "<escape><listarchives_i18n></escape>" }
  if ($page eq "http://lists.debian.org/ports.html") { return "<escape><listarchives_ports></escape>" }
27
  if ($page eq "http://lists.debian.org/bugs.html") { return "<escape><listarchives_bugs></escape>" }
28
  if ($page eq "http://lists.debian.org/misc.html") { return "<escape><listarchives_misc></escape>" }
29
  if ($page eq "$(SEARCH)") { return "<escape><search></escape>" }
30 31
  if ($page eq "http://db.debian.org/") { return "<escape><developerdb></escape>" }
  if ($page eq "News/weekly/") { return "<escape><debianweeklynews></escape>" }
Josip Rodin's avatar
Josip Rodin committed
32
  if ($page eq "doc/FAQ/") { return "Debian FAQ" }
33 34 35
  if ($page eq "doc/debian-policy/") { return "<escape><policy_manual></escape>" }
  if ($page eq "doc/developers-reference/") { return "<escape><devel_reference></escape>" }
  if ($page eq "doc/maint-guide/") { return "<escape><new_maint_guide></escape>" }
36
  if ($page eq "http://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 41 42 43 44
  if ($page eq "http://wiki.debian.net/DebianEdu") { return "<escape><debian-edu_title></escape>" }
  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
  die "can't find a title in $page!\n" unless (($title) || ($title eq ""));
56
  if ($CUR_LANG eq 'Japanese') {
57 58
    $title .= "\e(B" unless $title =~ /\e\(B$/;
  }
59 60 61 62 63 64 65 66
  return $title;
}
</perl>

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

67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82
<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"> 
83
  <ul>
84 85
  <li><linkto "intro/about">
  <li><linkto "social_contract">
Josip Rodin's avatar
Josip Rodin committed
86 87
  <li><linkto "intro/free">
  <li><linkto "intro/why_debian">
88 89 90
  </ul>

  <ul>
Josip Rodin's avatar
Josip Rodin committed
91
  <li><linkto "intro/organization">
92
  <li><linkto "donations">
93
  <li><linkto "contact">
94
  </ul>
95 96
  </div>
  <div class="righthalf">
97
  <ul>
98
  <li><linkto "intro/cn">
99 100
  </ul>

101
  <ul>
102 103 104
  <li><linkto "News/">
  <li><linkto "News/weekly/">
  <li><linkto "events/">
105 106
  </ul>

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

125
  <ul>
126
  <li><linkto "distrib/packages">
127 128 129 130
  </ul>

  <ul>
  <li><linkto "distrib/">
131
  <li><linkto "distrib/netinst">
132
  <li><linkto "CD/netinst/">
133
  <li><linkto "distrib/floppyinst">
134
  </ul>
135 136
  </div>
  <div class="righthalf">
137 138
  <ul>
  <li><linkto "CD/">
139
  <li><linkto "CD/faq/">
Josip Rodin's avatar
Josip Rodin committed
140
  <li><linkto "CD/vendors/">
141
  <li><linkto "distrib/cd">
142 143 144 145 146
  </ul>

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

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

178
  <ul>
179
  <li><linkto "MailingLists/">
Josip Rodin's avatar
Josip Rodin committed
180 181 182
  <li><linkto "MailingLists/debian-announce">
  <li><linkto "MailingLists/subscribe">
  <li><linkto "MailingLists/unsubscribe">
183
  </ul>
184

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

210
  <ul>
Josip Rodin's avatar
Josip Rodin committed
211 212 213 214 215
  <li><linkto "doc/debian-policy/">
  <li><linkto "doc/developers-reference/">
  <li><linkto "doc/maint-guide/">
  </ul>

216
  <ul>
Josip Rodin's avatar
Josip Rodin committed
217 218
  <li><linkto "ports/">
  <li><linkto "ports/alpha/">
219
  <li><linkto "ports/amd64/">
Josip Rodin's avatar
Josip Rodin committed
220 221 222 223 224 225 226 227 228 229
  <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>
230 231 232 233 234 235 236

  <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>
237 238
  </div>
  <div class="righthalf">
239
  <ul>
Josip Rodin's avatar
Josip Rodin committed
240 241 242 243 244 245 246 247
  <li><linkto "devel/">
  <li><linkto "devel/constitution">
  <li><linkto "devel/people">
  <li><linkto "devel/developers.loc">
  <li><linkto "http://db.debian.org/">
  <li><linkto "devel/join/">
  <li><linkto "devel/misc/">
  </ul>
248

249
  <ul>
Josip Rodin's avatar
Josip Rodin committed
250 251 252 253 254
  <li><linkto "devel/join/newmaint">
  <li><linkto "devel/wnpp/">
  <li><linkto "devel/website/">
  <li><linkto "devel/website/translating">
  </ul>
255

256 257 258 259 260 261 262 263 264 265 266 267 268 269
  <ul>
  <li><linkto "http://alioth.debian.org/">
  </ul>

  <ul>
  <li><linkto "devel/debian-jr/">
  <li><linkto "devel/debian-med/">
  <li><linkto "http://wiki.debian.net/DebianEdu">
  <li><linkto "devel/debian-desktop/">
  <li><linkto "devel/debian-lex/">
  <li><linkto "devel/debian-nonprofit/">
  <li><linkto "devel/debian-accessibility/">
  </ul>

270
  <ul>
Josip Rodin's avatar
Josip Rodin committed
271 272 273 274
  <li><linkto "vote/">
  <li><linkto "vote/howto_proposal">
  <li><linkto "vote/howto_follow">
  </ul>
275 276 277 278 279 280 281
  </div>
  </div>
</div>
<div class="card" id="misc">
  <h2><misc/></h2>
  <div>
  <div class="lefthalf"> 
282
  <ul>
Josip Rodin's avatar
Josip Rodin committed
283 284 285 286
  <li><linkto "mirror/">
  <li><linkto "mirror/size">
  <li><linkto "mirror/submit">
  <li><linkto "mirror/ftpmirror">
287
  <li><linkto "CD/mirroring/">
288
  <li><linkto "mirror/official">
Josip Rodin's avatar
Josip Rodin committed
289 290
  <li><linkto "mirror/webmirror">
  </ul>
291 292
  </div>
  <div class="righthalf">
293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309

  <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
310 311
  <li><linkto "ports/netbsd/">
  <li><linkto "ports/freebsd/">
312 313 314 315 316
  </ul>
  <ul>
  <li><linkto "ports/beowulf/">
  <li><linkto "misc/laptops/">
  </ul>
317 318 319
  </div>
  </div>
</div>
320 321

<p align="center"><font size="+2"><strong><linkto "$(SEARCH)"></strong></font></p>
322
</div>