sitemap.wml 8.95 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 "partners/">
113
  <li><linkto "mirror/official_sponsors">
114
  </ul>
115 116 117 118 119 120 121
  </div>
  </div>
</div>
<div class="card" id="gettingdebian">
  <h2><gettingdebian/></h2>
  <div>
  <div class="lefthalf"> 
122
  <ul>
123 124 125 126 127
  <li><linkto "releases/">
  <li><linkto "releases/stable/">
  <li><linkto "releases/testing/">
  </ul>

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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