ggrossetie / antora-lunr

Integration of Lunr in Antora
MIT License
66 stars 26 forks source link

Remove header from generate-index #135

Closed abrezemljak closed 1 year ago

abrezemljak commented 3 years ago

Hello,

I would like to remove h6 titles from lunr generated search-index. Is that in any way possible? I've tweaked the generate-index.js and removed the h6 entry from the following line (line 64): $('h2,h3,h4,h5', article).each(function () { but that doesn't seem to work.

Any suggestions.

ggrossetie commented 1 year ago

Development continues on https://gitlab.com/antora/antora-lunr-extension/