|
| 1 | +{# |
| 2 | + hyperboria-theme/layout.html |
| 3 | + ~~~~~~~~~~~~~~~~~~~ |
| 4 | + |
| 5 | + Sphinx layout template for the default theme. |
| 6 | + |
| 7 | + :copyright: Copyright 2007-2014 by the Sphinx team, see AUTHORS. |
| 8 | + :license: BSD, see LICENSE for details. |
| 9 | +#} |
| 10 | + |
| 11 | +{%- extends "basic/layout.html" %} |
| 12 | + |
| 13 | +{%- block sidebartoc %} |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + {% set sidebar_menu = [ |
| 18 | + ('title', 'About Hyperboria'), |
| 19 | + ('Asking Questions *TODO*', 'todo'), |
| 20 | + ('Peering', 'faq/peering'), |
| 21 | + ('Security', 'faq/security'), |
| 22 | + ('Meshlocals', 'meshlocals/intro', |
| 23 | + [('Meshlocals around the world', 'meshlocals/existing/index'), |
| 24 | + ('Starting a Meshlocal', 'meshlocals/diy')]), |
| 25 | + ('FAQ', 'faq/general'), |
| 26 | + ('Achievements', 'achievements'), |
| 27 | + ('Glossary', 'faq/glossary'), |
| 28 | + |
| 29 | + ('title', 'The cjdns routing protocol'), |
| 30 | + ('About', '', [ |
| 31 | + ('Goals', 'project-goals'), |
| 32 | + ('Goals (russian)', 'project-goals-ru'), |
| 33 | + ('Original whitepaper', 'Whitepaper'), |
| 34 | + ('Brief intro', 'intro'), |
| 35 | + ('Security Specification', 'security-specifications'), |
| 36 | + ]), |
| 37 | + ('Installation', '', [ |
| 38 | + ('Most Linuxes *TODO*', 'todo'), |
| 39 | + ('OpenWrt', 'install/openwrt'), |
| 40 | + ('Android *TODO*', 'todo'), |
| 41 | + ('Firefox OS *TODO*', 'todo'), |
| 42 | + ('OS X', 'install/osx'), |
| 43 | + ('Debian Wheezy', 'install/debian-wheezy'), |
| 44 | + ('Debian Jessie', 'install/debian-jessie'), |
| 45 | + ('Arch', 'install/arch'), |
| 46 | + ('Fedora', 'install/fedora'), |
| 47 | + ('FreeBSD *TODO*', 'todo'), |
| 48 | + ('OpenBSD *TODO*', 'todo'), |
| 49 | + ('Windows', 'install/windows'), |
| 50 | + ('Building *on* Windows', 'install/build-on-windows'), |
| 51 | + ('Securing your Windows system', 'config/windows-firewall'), |
| 52 | + ]), |
| 53 | + ('Usage', '', [ |
| 54 | + ('Setup', 'config/configure'), |
| 55 | + ('Operator guidelines', 'cjdns/operator-guidelines'), |
| 56 | + ('Securing your system', 'config/network-services'), |
| 57 | + ('Tools *TODO*', 'todo'), |
| 58 | + ('Third party tools', 'ctrls'), |
| 59 | + ('Admin API', 'cjdns/admin-api'), |
| 60 | + ]), |
| 61 | + ('Working with cjdns', '', [ |
| 62 | + ('Anatomy of cjdroute', 'cjdns/anatomy'), |
| 63 | + ('Peering over UDP', 'cjdns/peering-over-UDP-IP'), |
| 64 | + ('nodeinfo.json', 'cjdns/nodeinfo-json'), |
| 65 | + ('Changelog', 'cjdns/changelog'), |
| 66 | + ]), |
| 67 | + ('HowTo', '', [ |
| 68 | + ('Using cjdns as a VPN', 'config/tunnel'), |
| 69 | + ('Shorewall and VPN gateway', 'config/shorewall-and-vpn-gateway-howto'), |
| 70 | + ('NAT gateway for non-cjdns nodes', 'config/nat-gateway'), |
| 71 | + ('Autostart at login', 'config/autostart-at-login'), |
| 72 | + ('Run as non-root user', 'config/non-root-user'), |
| 73 | + ]), |
| 74 | + ('Troubleshooting', '', [ |
| 75 | + ('Read this first', 'bugs/policy'), |
| 76 | + ('Memory leaks', 'bugs/debugging-memory-leaks'), |
| 77 | + ('SecComp', 'bugs/Seccomp'), |
| 78 | + ('Analyzing network IO', 'traffic-analysis'), |
| 79 | + ]), |
| 80 | + ('Known issues', '', [ |
| 81 | + ('Horizon', 'bugs/horizon'), |
| 82 | + ('Black Hole', 'bugs/black-hole'), |
| 83 | + ('Secret Santa', 'bugs/santa'), |
| 84 | + ]), |
| 85 | + ('Configurator timeout', '', [ |
| 86 | + ('Firewall on localhost', 'bugs/configurator-timeout'), |
| 87 | + ('UDP overflow', 'bugs/connectTo-overflow'), |
| 88 | + ('Hidden Peers', 'bugs/hidden-peers'), |
| 89 | + ]), |
| 90 | + ('OS/distro-specific quirks', 'bugs/distro-quirks'), |
| 91 | + ('Reporting bugs', 'bugs/reporting') |
| 92 | + |
| 93 | + ]%} |
| 94 | + |
| 95 | + |
| 96 | + |
| 97 | + {%- include "localtoc.html" %} |
| 98 | + <h3><a href="{{ pathto('index') }}">Menu</a></h3> |
| 99 | + <ul class="sidebar_menu"> |
| 100 | + {% for link in sidebar_menu %} |
| 101 | + {% if link[0] == 'title' %} |
| 102 | + <h4>{{ link[1] }}</h4> |
| 103 | + {% else %} |
| 104 | + {% if link[1] == '' %} |
| 105 | + <li class="subtitle">{{ link[0] }}</li> |
| 106 | + {% elif link[1] == 'todo' %} |
| 107 | + <li class='todo'>{{ link[0] }}</li> |
| 108 | + {% else %} |
| 109 | + <li><a href="{{ pathto(link[1]) }}">{{ link[0] }}</a></li> |
| 110 | + {% endif %} |
| 111 | + {% if link[2] %} |
| 112 | + <ul> |
| 113 | + |
| 114 | + {% for sublink in link[2] %} |
| 115 | + {% if sublink[1] == 'todo' %} |
| 116 | + <li class='todo'>{{ sublink[0] }}</li> |
| 117 | + {% else %} |
| 118 | + <li><a href="{{ pathto(sublink[1]) }}">{{ sublink[0] }}</a></li> |
| 119 | + {% endif %} |
| 120 | + {% endfor %} |
| 121 | + </ul> |
| 122 | + {% endif %} |
| 123 | + |
| 124 | + {% endif %} |
| 125 | + {% endfor %} |
| 126 | + </ul> |
| 127 | + |
| 128 | + |
| 129 | + |
| 130 | +{%- endblock %} |
| 131 | + |
0 commit comments