commit: add index

This commit is contained in:
Alec Muffett 2018-07-09 22:38:14 +01:00
parent 0a56239315
commit 236501a4b8
2 changed files with 21 additions and 0 deletions

View File

@ -32,6 +32,20 @@ Sites which display multiple reachability problems will eventually be struck-off
---- ----
# Index
* [Academic](#academic)
* [Civil Society And Community](#civil-society-and-community)
* [Companies And Services](#companies-and-services)
* [Globaleaks](#globaleaks)
* [News And Media](#news-and-media)
* [Securedrop For Individuals](#securedrop-for-individuals)
* [Securedrop For Organisations](#securedrop-for-organisations)
* [Tech And Software](#tech-and-software)
* [Web And Internet](#web-and-internet)
----
# Academic # Academic
## Surveillance Law / Stanford ## Surveillance Law / Stanford

View File

@ -66,6 +66,13 @@ foreach $catname (@categories) {
$tree{$catname} = &docat('directory', $catname); $tree{$catname} = &docat('directory', $catname);
} }
print "\n";
print "----\n\n";
print "# Index\n\n";
foreach $catname (sort keys %tree) {
my $catprint = &canon($catname);
print "* [$catprint](#$catname)\n"
}
print "\n"; print "\n";
foreach $catname (sort keys %tree) { foreach $catname (sort keys %tree) {
print "----\n\n"; print "----\n\n";