toctoc is now maintained in the buildo monorepo -> https://github.com/buildo/retro
Refer to the website for installation instructions and documentation.