Add tests for menu links
On Nanoc, the global navigation is generated by Nanoc and output as HTML via the Nanoc templating system. This means the menu links are testable by any tool that can check regular HTML, like Lychee.
On this project, we've done the global navigation in Vue. This has a few benefits (better performance, significantly smaller build size, easier templating), but this does mean the rendered menu is not part of the HTML files outside of the browser context. How can we test that these URLs resolve?
Other tests to port over:
- pages_not_in_nav.js
- YAML schema validation for navigation.yaml
- Could we validate menu depth (require that nothing be more than 7 levels deep?)
- check-navigation.sh
Edited by Sarah German