build: adding infrastructure for building and managing ref-toc content generation