Closed isaak654 closed 2 months ago
Where should "Improve this page" on the search page link to? The search page is generated by Mkdocs and there is no matching markdown file here.
Example 1: https://sphinx-rtd-theme.readthedocs.io/en/stable/contributing.html Example 2: https://linuxmint-installation-guide.readthedocs.io/en/latest/boot.html?highlight=boot Example 3: https://mkdocs.readthedocs.io/en/859/?q=custom&check_keywords=yes&area=default
In the first case, the search results point to the respective .html files and the "Edit on GitHub" link at the top seem to work consistently.
The second case is similar to the first one, but with the bonus of the search highlight that would fix #5
In the third case, the search results do not point to the .html files, but the "Edit on GitHub" link always points to the root repository https://github.com/mkdocs/mkdocs/ (this is better than always pointing to the README.md)
If case 2 or 1 are not feasible, I would suggest to go for 3.
Update: the issue seems to be more extensive than expected, as the documentation links found here are not redirected correctly.
Examples:
Update: there is one case left.
Examples: https://sandboxie-plus.github.io/sandboxie-docs/Content/SBIEDLLAPI/ (working URL) https://qzlin.github.io/sandboxie-docs/Content/SBIEDLLAPI/ (URL not working)
Can't add the suffix .html
to url now, this will work:
I will try to get suffixed url to work.
Examples for testing: https://qzlin.github.io/sandboxie-docs/Content/SBIEDLLAPI.html https://qzlin.github.io/sandboxie-docs/Content/SBIEDLLAPI/ https://qzlin.github.io/sandboxie-docs/Content/FileRootPath.html https://qzlin.github.io/sandboxie-docs/Content/SBIE2204.html https://qzlin.github.io/sandboxie-docs/Content/WriteFilePath.html
https://qzlin.github.io/sandboxie-docs/search.html?q=comparison
https://qzlin.github.io/sandboxie-docs
-> https://qzlin.github.io/sandboxie-docs/
This behaviour seems to be coming from the Github page, and there's nothing I can do.
Improve this page!
link and you will be redirected to README.md instead of the current page.