Simplify the nav template
The old nav system had several drawbacks:
- It tried to "automatically" list all of the specification pages using
the `order` field of each page, but this didn't work correctly and was
a pain to maintain. Plus the liquid code was complicated.
- There was no way to customize the link text (always page title) or to
link to custom URLs (e.g. /provenance instead of /provenance/v0.2).
- The mobile and non-mobile templates were duplicate but slightly
different, which may lead to bugs in the future.
Now we have an explicit configuration in _data/nav.yml and use the same
template for both mobile and non-mobile nav bars. This should be easier
to maintain.
Signed-off-by:
Mark Lodato <lodato@google.com>
docs/_data/nav.yml
0 → 100644
docs/_includes/nav.html
0 → 100644