fix build so that autocomplete is injected into documentation built by doc-n-toc