Bundle and Copy buttons doesn't show up in generated docs
ngthanhtrung23 opened this issue · comments
Summary / 概要
This issue seems to happen on my repo only (the issue doesn't happen on other repos I looked at, but I can't figure out why):
Click on any page, for example this one, you can see there is no "Bundle" and "Copy" buttons.
Developer console shows:
Mixed Content: The page at 'https://ngthanhtrung23.github.io/ACM_Notebook_new/DP/lis.h' was loaded over HTTPS, but requested an insecure script 'http://ngthanhtrung23.github.io/ACM_Notebook_new/assets/js/copy-button.js'. This request has been blocked; the content must be served over HTTPS.
Manually changing the link of the scripts to https like in this commit fixes the issue, but the change will be automatically overwrite when I push new code.
Steps to reproduce / 再現方法
- Go to my generated docs
- Click on any link
- See that there is no Bundle / Copy buttons
environments:
- version: I think it's installing latest version: Github action
Run pip3 install -U online-judge-verify-helper
Collecting online-judge-verify-helper
Downloading online_judge_verify_helper-5.6.0-py3-none-any.whl (57 kB)
- Browser: chrome on MacOS. But I don't see this issue on other repos, e.g. on beet-aizu library I can see Bundle and Copy buttons.
Expected behavior / 期待される挙動
Bundle and Copy buttons should show up
Actual behavior / 実際の挙動
Bundle and Copy buttons doesn't show up
Other notes / その他
- Will you try to create a pull request?
- If you can point me to why this happens, I could try to send a pull request.
As a workaround, I forked verification-helper repo and hard code the url: commit. So now this issue no longer happens for me.