groton-school / knowledgebase

Knowledgebase website
https://kb.groton.org
GNU General Public License v3.0
0 stars 0 forks source link

TOC hack #27

Closed github-actions[bot] closed 1 month ago

github-actions[bot] commented 1 month ago

https://github.com/groton-school/knowledgebase/blob/757961371913d04e9cf50d11977469ef225df443/apps/ui/src/UI/TOC/index.ts#L27


            parseInt(h.tagName.substring(h.tagName.length - 1)) - 1
          );
        });
        toc.append(builder.finalize().firstElementChild!); // TODO TOC hack
        Helper.log(`built TOC`);
      }
    }
battis commented 1 month ago

duplicate of #28