search always gives no results
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.2k
- Forks
- 146
- PR merge metrics
- No merged PRs in 30d
Description
Expected Behavior
The search should return a list of results.
Actual Behavior
The search always returns No results.
Steps to Reproduce
- Generate docs with a
config.makoin this style:
<%!
git_link_template = 'https://github.com/thesadru/genshinstats/blob/{commit}/{path}#L{start_line}-L{end_line}'
google_search_query = '''
inurl:github.com/thesadru/genshinstats
site:thesadru.github.io
'''
%>
- Try to search anything
alternatively just search on the Github pages I'm trying to use
https://thesadru.github.io/pdoc/genshinstats/
Additional info
- pdoc version:
0.9.2
I'm so sorry if this is some obvious bug, but I just can't figure out why.
screenshot:

Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue with pdoc 0.9.2 by generating documentation using the shown config.mako, then search the generated site linked in the report. Compare the result with the expected behavior: searches should return matching documentation results instead of “No results.”
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- documentation, search
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100