Automate the generation of complex navigation bars