adding header to generated pages
sidebar properly replaces API links if _Sidebar.md exists, added tests