Yes, I browsed HTML locally. Since documentation isn't finished, I'm not eager to host it somewhere. I guess after uploading the document to the server it should work. Thanks for the help.
2020-04-26, sk, 19:26 Komiya Takeshi <[email protected]> rašė: > Hmm... it's strange. Could you try this page? This is also built by > latest release. > https://sphinx-download-example.readthedocs.io/en/latest/ > > If it works fine for you, I guess you browsed HTML from local > directory. Some kind of browsers does not work "download" attribute > for anchor tags on local HTML browsing. If so, please upload your > document to server and try it again. > > Thanks, > Takeshi KOMIYA > > 2020年4月25日(土) 2:08 Žygimantas Šalkus <[email protected]>: > > > > I am using v3, the latest stable which I got from pip. > > > > On Fri, Apr 24, 2020, 19:24 Komiya Takeshi <[email protected]> wrote: > >> > >> Hi, > >> > >> What version of Sphinx do you use? The latest Sphinx uses `download` > >> attribute to the download link in HTML5 output. So modern browsers > >> will start downloading the target file. > >> > >> Thanks, > >> Takeshi KOMIYA > >> > >> 2020年4月24日(金) 23:45 Žygimantas Šalkus <[email protected]>: > >> > > >> > Hello, I have an issue with :download: role. Whenever I add any file > that browser is able to display, e.x. json, pdf, browser displays it > instead of downloading it to my computer. Is there a way to force file > download, so file wouldn't be opened in a new tab? > >> > > >> > -- > >> > You received this message because you are subscribed to the Google > Groups "sphinx-users" group. > >> > To unsubscribe from this group and stop receiving emails from it, > send an email to [email protected]. > >> > To view this discussion on the web visit > https://groups.google.com/d/msgid/sphinx-users/3c3a67df-4118-4237-aebd-b0e41430553c%40googlegroups.com > . > >> > >> -- > >> You received this message because you are subscribed to a topic in the > Google Groups "sphinx-users" group. > >> To unsubscribe from this topic, visit > https://groups.google.com/d/topic/sphinx-users/w_6HUUkb1Xk/unsubscribe. > >> To unsubscribe from this group and all its topics, send an email to > [email protected]. > >> To view this discussion on the web visit > https://groups.google.com/d/msgid/sphinx-users/CAFmkQAONORaAfppu5ZnEpquZuHLJEphEvKLZgiZKY8BB3Av3aA%40mail.gmail.com > . > > > > -- > > You received this message because you are subscribed to the Google > Groups "sphinx-users" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected]. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/sphinx-users/CAAs90ZZR1JXf1KSyiw80BgQXoYyi%2B56UqzQd9SWV4EKLV37oSg%40mail.gmail.com > . > > -- > You received this message because you are subscribed to a topic in the > Google Groups "sphinx-users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/sphinx-users/w_6HUUkb1Xk/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sphinx-users/CAFmkQAOz%3DzbkH1doYXpPdYNW_XZP7syuP4mBTEkV1cqShDwOdQ%40mail.gmail.com > . > -- You received this message because you are subscribed to the Google Groups "sphinx-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sphinx-users/CAAs90ZYpuzpGY3Yees1sy4-u-2ya2TDbKvv%2BT%2B0RspSb1H26qA%40mail.gmail.com.
