Sphinx docs: table of contents skips to top when new page is "below the fold" - python-sphinx

I've a problem with the HTML I'm building from sphinx (version 3.4.3 -- I know it's old, this is for reasons beyond my control, although I've just tried rebuilding with v4.4.0 and I'm seeing the same issue).
My docs are for an open source project and they are stored here but published here
You can see a video of what I'm dealing with here.
To describe it -- when I select a page that is "below the fold" in the table of contents (by scrolling down) the toc jumps back up to the top and hides my selection. I can scroll down to find it, and navigate within the page using section links in the toc, and all is fine. But if I select another page below the fold, again it jumps to the top.
It's really disorienting for a reader to lose their place.
Is this a known bug? I can't work out how to fix it.
I've tried various HTML theme settings like the sticky_navigation setting in conf.py but that doesn't change anything.
I tried upgrading Sphinx to v 4.4 but that didn't help either.
I'm using the RTD theme but have no choice in that.

I have an answer to this question (my colleague resolved it for me)
It's related to the sphinx-rtd-theme -- version 0.4.1 introduced it and bumping it to 1.1.1 solves the issue (it was solved in 0.4.3 AFAICT).

Related

Joomla Content Editor not displaying helper lines around table cells on some computers

I recently installed the latest version of JCE (2.6.33) on top of Joomla 3.9.0 and discovered that the guidelines you get around table cells when creating K2 and Acymailing articles to show their outlines were gone. I'm referring to the "Visual Guidelines" as described at:
https://www.joomlacontenteditor.net/support/documentation/editor/editor-content
I then just happened to look on a different computer and they were still present. Both computers are Windows 7, both are running Firefox 63.0. The one with guidelines missing is a laptop, the other a desktop. I tried clicking the "Toggle guidelines/invisible elements" button and it did nothing.
I couldn't figure out a solution so I decided to revert to my old JCE version, 2.6.30, and that fixed the problem on my laptop but then CAUSED the problem on my desktop.
I've been reading forums, googling, trying everything I can imagine and just cannot figure out what might be causing this. Has anyone come across anything like this and, if so, how do you fix it?
Try installing the Web Developer Toolbar and delete some cookies. Seems like it might just be a change in how that setting is stored: https://chrispederick.com/work/web-developer

Joomla articles and modules not showing on small screens

I'm really quite new to Joomla and I've encountered a problem. On my homepage the article is showing just fine, but all the other modules (except for the menu bar) disappear when I switch to a smaller screen size. On my other pages the article doesn't even show anymore, just the menu bar. I'm using the purity III template. I have no idea what's going on since the settings in the layout of the template indicate that all modules that are showing on a desktop should also be displayed on a mobile device, and I've found no difference in settings in the articles itself. My site.
Thanks for your help!
It sounds like the responsive design hides them on purpose.
Just from a quick peek at your code using inspect element I can see that the class "slideshow hidden-xs" gets a display:none on smaller screen sizes and all of your main content is wrapped in that element. If all of your content is not supposed to be wrapped in that element (which I'm guessing it's not) you're most likely missing a closing tag on a div or something.
Find the missing closing tag (ie: /div, /a, etc) and it will probably solve your problem.
You can update the latest version of Joomla and check again that some problem is coming or not. I yes then download new theme for your website which is compatible with your theme.

Tiddlywiki: KaTex plugin doesn't show up under ControlPanel (doesn't load)

I follow the instructions for loading the plugin, I get the green overbar, and click on "import". Still the plugin doesn't show up under '$:/ControlPanel -> Plugins'.
How come the plugin doesn't work. I tried in Firefox and Safari.
Click to edit the content of http://tiddlywiki.com/plugins/tiddlywiki/katex/#%24%3A%2Fplugins%2Ftiddlywiki%2Fkatex, then copy-paste the entire content to a tiddler in your installation called "$:/plugins/tiddlywiki/katex". Scroll to the very bottom and set the "Type" to application/json, and create the same fields as the original (author, dependents, description, plugin-type and version).
The plugin now shows up in the control panel, and works as expected.
First, asking questions on the google group is a much better way to get answers. We tend to answer quickly there.
You need to save and reload your wiki after importing the plugin for the changes to take effect, otherwise it won't work. Also, are you using tiddlywiki5? The katex plugin won't work on tiddlywiki classic.

Joomla! 1.5 Category Blog Layout parameters update in database but not when displayed

I apologize if this is an easy question and I was just googling the wrong keywords. It's been a few years since I've used Joomla! but got handed a site to make some changes to, that someone else originally developed and can't seem to figure out what's going on. I'm running Joomla! v1.5.26.
I'm trying to add a blog section to the site, so I created a blog section and category and then I created a new "Category Blog Layout" in my menu and set the Columns value to 3:
However, whenever I view the page, it keeps showing 2 columns. So I went to phpMyAdmin and found the menu in jos_menu and confirmed that the database did in fact get updated:
So next I opened up /components/com_content/views/category/tmpl/blog.php and added this to to the top of the PHP file to see what values were being loaded:
<?php
print '<pre>';
print_r($this->params);
print '</pre>';
?>
Which produced the following results on the front end:
...
[num_leading_articles] => 1
[num_intro_articles] => 4
[num_columns] => 2
[num_links] => 4
...
So for some reason, even though I've set the values to update, and they do in fact update in the database, they are not updating on the front end. I've tried clearing the cache and all that fun stuff, without much luck. If it was just "num_columns" having an issue I could probably just override that functionality. However, it appears to be doing the same thing with all of the parameters, not just number of columns. I'm just using that as an example.
I haven't ruled out the possibility that it's a conflict with some third-party plugin yet, but am trying to see if maybe I'm missing something obvious and someone can point me in the right direction.
--UPDATE: 12/4/12--
So it appears to be a conflict with the sh404sef plugin. I'm not exactly sure what the deal is quite yet, but when I disable the plugin it works fine, but it happens again once I re-enable it. Now to see if I can figure out what's wrong with the plugin.
In Joomla! 1.5 while the parameters are being saved the implementation is effected/affected(?) by the template in use at the time.
Check your templates index.php, or if present the override for com_content's Blog layout (usually found in yourSite/templates/yourtempalte/html/com_content/category/blog.php
You will probably find the override either doesn't handle the columns or has a bug in it.
Okay so I figured out my own problem. As I stated above, I discovered the problem was with the sh404sef plugin. Apparently anytime you make changes to the menu layout settings, you have to purge your entire SEF URL list and then rebuild it. It seems quite strange that we'd have to do that every time, but I guess that was intentional for some reason. Anyway, it's working now. I just wanted to make sure I posted a solution for anybody else who may stumble across this.

What is jScrollPane-1.2.3.min.js and why's it not working?

I am maintaining a jQuery-enabled site which makes use of jScrollPane to have fancy looking scrollbars.
When testing in Internet Explorer 9 I was faced with the error "SCRIPT438 getElementsByTagName is not supported". This is a known bug with jQuery 1.5 (which I was using) and probably unrelated to jScrollPane.
So, I upgraded jQuery to version 1.7.1. Fine, SCRIPT438 error is gone. However, jScrollPane now produces obscure JavaScript error D is null in jScrollPane-1.2.3.min.js. As I'm not the original developer of the site, I don't know where this file came from. It's nowhere to be found on the official site.
If I try jquery.jscrollpane.min.js (from the jScrollPane site) instead, results are no good. The scroll contents show up when page is initializing but disappear when page is ready (no JavaScript errors). Isn't jScrollPane backwards-compatible?
Anybody understanding the different jScrollPane files and the cause of the errors I get?
You need use the autoReinitialize option along with the latest version of jquery.jscrollpane.min.js:
$('.scrollpane').jScrollPane({autoReinitialise: true});
This will fix the issue where the scroll bars appear when the page is ready. I had this same problem a week ago, I now have a whole new problem which is how I stumbled on this question.

Resources