Open al-pa opened 3 years ago
Lunr-based search index/machinery is only set up when --html
, but not when --http
, the two of which are exclusive:
https://github.com/pdoc3/pdoc/blob/bec63077a03b2136e6982825d327073ed76cc20a/pdoc/cli.py#L500-L523
https://github.com/pdoc3/pdoc/blob/bec63077a03b2136e6982825d327073ed76cc20a/pdoc/cli.py#L570-L585
Doesn't work both with --html and --http , if I use it separately. How should we use it? I couldn't find any docs to that.
Hello, When I tried to use offline search functionality I get such error in pop-up window:
pip install doc-search tells me that ERROR: Could not find a version that satisfies the requirement doc-search ERROR: No matching distribution found for doc-search
Could you please help me to understand what I am missing?
P.S.
P.P.S. running pdoc with such command:
pdoc3 --html --http localhost:1234 -c lunr_search=True <module_name>
Thank you!