Unable to create Search Page
See original GitHub issueI’m trying to create a search page as described here: https://stackoverflow.com/questions/63106842/how-do-i-implement-a-search-page-on-a-mkdocs-site
My expectation was that I could do this with:
theme:
name: material
include_search_page: true
However this throws:
WARNING - Template skipped: 'search.html' not found in theme directories.
I’m looking to achieve the ability to search via url params similar to this example: http://readthedocs.sheets.ch/search?q=test
My yaml file is here: https://github.com/sasjs/sasjs.io/blob/master/mkdocs.yml
I checked that…
- [ x] … the documentation does not mention anything about my problem
- [ x] … the problem doesn’t occur with the default MkDocs template
- [ x] … the problem is not in any of my customizations (CSS, JS, template)
- [ x] … there are no open or closed issues that are related to my problem
Expected behavior
setting include_search_page: true
would give me a SITENAME/search page that will accept url params.
Actual behavior
error in console, no search.html generated
Package versions
- Python:
3.8
- MkDocs:
1.1.2
- Material:
5.5.0
Project configuration
theme:
name: material
include_search_page: true
System information
OS: mac
Browser - any
Issue Analytics
- State:
- Created 3 years ago
- Comments:16 (9 by maintainers)
Top Results From Across the Web
Unable to Create Search Service Application in SharePoint ...
SharePoint 2019 Search Service Application is showing Error and the service is not getting started,. Error:- The Search Service is not able ......
Read more >Solved: Display error :Could not create search - Splunk Answers
"Could not create search" is caused by timeout, and it may have causes on both server and client side. On client-side, this may...
Read more >Why is my page missing from Google Search?
Here's how to troubleshoot and fix the most common problems when your page or site is missing from Google Search results. Did you...
Read more >"Failed to create search index" script error during reload
Insert "Set CreateSearchIndexOnReload=0" in the load script. Even if this is disabled during the reload, the search index will be created later ...
Read more >trouble creating new pages on Project:Support desk - MediaWiki
I get that page when I use the search function to create the page, ... I'm able to create new pages, but I...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Insiders supports deep linking of search results, which should make a dedicated
search.html
obsolete, i.e., display all results related to the search query"code block"
. This means you can also link from your documentation.Thanks for your input on this. Yes, we can consider adding a dedicated search page to Insiders if more people need it.