Sphinx "htmlhelp" target problem

131 views
Skip to first unread message

vibebusiness3

unread,
Oct 19, 2017, 7:11:29 PM10/19/17
to sphinx-users
Hello,

  I am using Sphinx "make htmlhelp" to build WindowsHTML files, which I then compile into a .chm file with HTML Help Workshop. Unfortunately, the compiled chm file I get gives the following error when opened:

This occurs whether I open it as a standalone file or whethers its opened from inside a GUI application.

Can anyone tell me whats wrong with the file and how to fix it?

Thanks

Komiya Takeshi

unread,
Oct 20, 2017, 12:57:31 PM10/20/17
to sphinx...@googlegroups.com
Hi,

Could you share a reproducible example for us?
I'll take a look.
(But I don't have Windows PC, so I will not be able to reproduce it locally...)

Takeshi KOMIYA

--
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 sphinx-users+unsubscribe@googlegroups.com.
To post to this group, send email to sphinx...@googlegroups.com.
Visit this group at https://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/d/optout.

vibebusiness3

unread,
Nov 6, 2017, 6:11:23 PM11/6/17
to sphinx-users
Thanks. I was able to fix the problem by hand editing the html files and removing the jquery lines. The offending lines look this this (I guess a rtd theme issue):

215   <script type="text/javascript">
216       jQuery(function () {
217           SphinxRtdTheme.StickyNav.enable();
218       });
219   </script>


On Friday, October 20, 2017 at 6:57:31 PM UTC+2, Komiya Takeshi wrote:
Hi,

Could you share a reproducible example for us?
I'll take a look.
(But I don't have Windows PC, so I will not be able to reproduce it locally...)

Takeshi KOMIYA
2017-10-20 2:50 GMT+09:00 vibebusiness3 <vibebu...@gmail.com>:
Hello,

  I am using Sphinx "make htmlhelp" to build WindowsHTML files, which I then compile into a .chm file with HTML Help Workshop. Unfortunately, the compiled chm file I get gives the following error when opened:

This occurs whether I open it as a standalone file or whethers its opened from inside a GUI application.

Can anyone tell me whats wrong with the file and how to fix it?

Thanks

--
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 sphinx-users...@googlegroups.com.

Komiya Takeshi

unread,
Nov 11, 2017, 11:57:48 AM11/11/17
to sphinx...@googlegroups.com
Thank you for letting me know.
Absolutely, it's an issue of sphinx_rtd_theme.

Thanks,
Takeshi KOMIYA

To unsubscribe from this group and stop receiving emails from it, send an email to sphinx-users+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages