Skip to content

[FIX] Documentation fetching with redirects#3248

Merged
astaric merged 1 commit intobiolab:masterfrom
markotoplak:fix-doc-redir
Sep 13, 2018
Merged

[FIX] Documentation fetching with redirects#3248
astaric merged 1 commit intobiolab:masterfrom
markotoplak:fix-doc-redir

Conversation

@markotoplak
Copy link
Member

Issue

#3247

Description of changes

Follow redirects if Qt supports it.

Includes
  • Code changes
  • Tests
  • Documentation

@markotoplak markotoplak added this to the 3.16 milestone Sep 13, 2018
@astaric
Copy link
Member

astaric commented Sep 13, 2018

How can we test this? Which add-ons were problematic?

@markotoplak
Copy link
Member Author

Test with imageanalytics that is installed with "pip install -e ." (and where doc was not built).

@astaric
Copy link
Member

astaric commented Sep 13, 2018

I did, and it works even when using the current master. The log says

Setting help to url: PyQt5.QtCore.QUrl('http://orange3-imageanalytics.readthedocs.io/en/latest/widgets/importimages.html')

Using PyQt 5.9.2 on mac

@markotoplak
Copy link
Member Author

Does clicking on the widget and pressing F1 show the documentation?

@astaric
Copy link
Member

astaric commented Sep 13, 2018

Yes, it does

@astaric
Copy link
Member

astaric commented Sep 13, 2018

I have managed to break it on master, and after applying the fix it started working again

@astaric astaric merged commit 43135c4 into biolab:master Sep 13, 2018
@markotoplak markotoplak deleted the fix-doc-redir branch October 8, 2018 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants