pydoctor
pydoctor copied to clipboard
Add a « search in api docs » in readthedocs search bar
But also we should investigate the option of adding a « search in api docs » button from the readthedocs search bar.
I think that this can be done in 2 steps:
-
Have pydoctor generate a dedicated
search-results.htmlpage that takes the search term from the URL. The important part to allow search input from the URL, not only via typing. -
Create a raw HTML element on any Sphinx page with a form field that will make a GET to that page.
Originally posted by @adiroiban in https://github.com/twisted/pydoctor/issues/608#issuecomment-1190829555
Maybe we can change the place of the search help as well, create another page just for that.