Is your feature request related to a problem? Please describe.
I would like to have a way to inject a list of [ (keyword,link), ... ] pairs into the search_data.
The Anklang project now uses Poxy to generate its C++ and JS API reference documentation. Since C++ is supported directly by Poxy + Doxygen, search works here, but the JS docs are provided as generated html snippets (using JsDoc + pandoc under the hood) and included via @file f.js \n @htmlinclude[block] f.js.html.
You can take a peek here: https://tim-janik.github.io/docs/anklang/files.html
Due to the @htmlinclude, the JS symbols are not searchable.
Generating a list of interesting symbol names and anchors is doable with some effort, e.g.:
symbols = [ ( 'vue_mixins', 'https://tim-janik.github.io/docs/anklang/util_8js.html#vue_mixins-class' ), ]
But then i still need a way to inject those into the poxy or m.css search_data list.
Describe the solution you'd like
Ideally, I could configure poxy.toml to include a searchdata.json (or searchdata.py) list of symbols+links into searchdata-v2.js.
Additional context
I can start base85 decoding searchdata-v2.js to inject the search list myself, but I figured I'd ask before going through that effort. ;-)
BTW, another use case for injecting search data could be to add tokens from content included via the Doxygen \page command, but making the JS docs searchable is most pressing for me atm.
Is your feature request related to a problem? Please describe.
I would like to have a way to inject a list of
[ (keyword,link), ... ]pairs into the search_data.The Anklang project now uses Poxy to generate its C++ and JS API reference documentation. Since C++ is supported directly by Poxy + Doxygen, search works here, but the JS docs are provided as generated html snippets (using JsDoc + pandoc under the hood) and included via
@file f.js \n @htmlinclude[block] f.js.html.You can take a peek here: https://tim-janik.github.io/docs/anklang/files.html
Due to the @htmlinclude, the JS symbols are not searchable.
Generating a list of interesting symbol names and anchors is doable with some effort, e.g.:
symbols = [ ( 'vue_mixins', 'https://tim-janik.github.io/docs/anklang/util_8js.html#vue_mixins-class' ), ]
But then i still need a way to inject those into the poxy or m.css search_data list.
Describe the solution you'd like
Ideally, I could configure poxy.toml to include a searchdata.json (or searchdata.py) list of symbols+links into searchdata-v2.js.
Additional context
I can start base85 decoding searchdata-v2.js to inject the search list myself, but I figured I'd ask before going through that effort. ;-)
BTW, another use case for injecting search data could be to add tokens from content included via the Doxygen \page command, but making the JS docs searchable is most pressing for me atm.