I've created a custom route for my entries based on week like so:
'events/(?P<year>\d{4})/(?P<week>\d{2})' => 'events/_weekindex',
I know i can group entries by week like this:
{% set allEntriesByWeek = allEntries|group('postDate|date('Y-W')') %}
What i'm not quite sure how to do is how to show navigation ONLY for weeks that have entries present, and then of course output the entries in my template when those navigation items are clicked.