[Bug] Build-time TOC customization with toc.extension.js
is not works when using modern
template
#9944
Labels
bug
A bug to fix
Describe the bug
docfx support build-time TOC customization by using
toc.extension.js
file.But it's applied to generated html files only. Original
toc.json
file is not modified.When using
modern
template. Generatedtoc.html
is not used.And
toc.json
file is used instead.So build-time TOC customization is not works when using
modern
template.To Reproduce
Steps to reproduce the behavior:
toc.extension.js
file.docfx build
commandtoc.html
andtoc.json
content.Expected behavior
TOC customization with
toc.extension.js
works same asdefault
template when using modern template.Context (please complete the following information):
The text was updated successfully, but these errors were encountered: