I am running into an issue specifically with font-awesome
and search_index.json
while building mkdocs locally with mkdocs build
. I understand the issue and why it isnt working, but i am trying to distribute my documentation locally instead of using a webserver which is why i must rely on file://
instead of http
. Is there a bypass for this?
I am getting the same result on latest Chrome and Firefox.
The actual issue is Failed to load file:///Users/securisec/guide/site/search/search_index.json: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https
. which i understand. Wondering if there is a mkdocs config option to allow this when using file://. Based on their docs, i couldnt find someplace to set an additional header