Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I was excited to see the new Docs plugin, but when I downloaded the Python 3 docset, I saw that most of the documentation items were missing, which was unfortunate. I read the code and saw that the items which were missing from the index were items that had anchor links. The code comments say that they are skipped because the web browser won't open them.
I came up with what I think is a clever workaround: create a temporary HTML file which contains a meta directive that tells the browser to immediately redirect to the target page, with the anchor appended. Then, we can use
openUrl()
on that temporary file without needing to pass an anchor in.But full disclosure: I have very little C++ under my belt, and no Qt experience. The implementation I made is likely pretty garbage. It would need some love: