-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Links in search for nested pages are broken for mkdocs #1633
Comments
@agjohnson any ideas on this? |
Not off the top of my head, I'd have to play with the mkdocs integration, something I don't do often. |
It's hard for me to debug as I don't have a working elastic search setup, but I assume that either the path gets extracted wrongly from the mkdocs' json files (here is the relevant code) or that the JSON mkdocs produces is wrong or that the path is mangled with before stored in elasticsearch. I tested locally by calling When I delete the wrongly index files, the returned I'm not sure how the search then returns the bad path on readthedocs.org |
@gregmuellegger any idea what to do if the index ain't loaded at all (#2020)? |
We don't index from the json artifacts for mkdocs projects, as they don't support that option anymore. |
Closing as mention above, we don't support indexing from mkdocs projects at the moment, anyone interesting in rtd and search support on mkdocs follow #1088 |
#1628 reports about links in searches that are broken since they don't include the directory name, but only the filename in the link target.
For example, the search for "database" in the backands-docs project gives the following link:
http://backand-docs.readthedocs.org/en/latest/customactions/index.html?highlight=database
But it's broken, the following link would be correct:
http://backand-docs.readthedocs.org/en/latest/apidocs/customactions/index.html
The text was updated successfully, but these errors were encountered: