Comments (9)
Maybe it is related to #261 in any way? As outlined at #261 (review), the response body of https://crate.io/navi-promo.php is not actually empty (Content-Length: 23
) but apparently contains some newline or other weird characters.
If that also happens with https://crate.io/navi-newsletter.php, there might be a chance that those characters have been introduced by adding the respective ESI snippets.
/cc @msbt
from crate-docs-theme.
Ah yes, I've only created the PR but it's not merged and the new config didn't make it to fastly just yet. I've renamed the file to remove the issue and flushed the cache so it will disappear. This will work when the fastly config gets an update, sorry for that :/
from crate-docs-theme.
Ok something is not right, there are several errors on various docs pages. We meant to test the new version on a single repo, can we roll back and do that to see what's going on here? @amotl @norosa
getting
Uncaught TypeError: $.cookie is not a function
two more json errors and also
Error loading Read the Docs footer readthedocs-doc-embed.js
and
Error registering page view readthedocs-doc-embed.js
from crate-docs-theme.
The initial rendering issue should be resolved (this happens when you try to include an already gzipped document, that's why the Fastly thing should have happened first. I've added an empty file as include and will rename the proper one when the new config is live. Either way, there are some other issues mentioned above that need addressing.
from crate-docs-theme.
@amotl I did a bit of comparing and it seems one of the issues is that we load jquery too late, this needs to be loaded before the bundled js file which includes some jquery functions (e.g. the cookie thing). The others could be also related to that, since there are some jquery messages in the debugger.
from crate-docs-theme.
Thank you for figuring this out! We probably missed this detail because the corresponding code has not been run in the local sandbox when just looking at the examples, right?
from crate-docs-theme.
Yes, the cookie thing is only used when a segment id is supplied ({% if theme_tracking_segment_id %}
- so only on production) and rtd is probably only in use when rendered there, at least I think I didn't see any errors while testing.
from crate-docs-theme.
There might be a problem webpack not exposing the $.cookie
symbol properly. However, I found it is available as jquery.cookie
. #279 brings in a corresponding patch.
from crate-docs-theme.
The Uncaught TypeError: $.cookie is not a function
error should be gone now. I verified it on:
- https://crate.io/docs/crate/tutorials/
- https://crate.io/docs/crate/howtos/
- https://crate.io/docs/crate/reference/
from crate-docs-theme.
Related Issues (20)
- CI: RTD build is useless HOT 6
- Problem with sphinx-copybutton HOT 5
- Version chooser: Can the "latest" version be emphasized? HOT 2
- Documentation search results - latest version documentation not always the first result HOT 7
- Improve rendering of `.. todo` directive HOT 1
- Fix font size of blockquote content HOT 2
- JavaScript errors with sphinx-togglebutton HOT 3
- Link colors regression HOT 2
- Version chooser regression HOT 1
- Version chooser: Stay on the same page when switching versions HOT 10
- Wishlist: Add basic extension to aggregate change log pages HOT 3
- Improving feedback and version choosers HOT 11
- Improve rendering of sphinx-togglebutton
- "Edit page" does not work on repositories using the "main" branch HOT 1
- Menu items got lost HOT 1
- Fix package metadata
- Hide new feedbackbox on the search page HOT 1
- Page tools rendering glitch on CrateDB Reference, version 3.3
- Search: Set focus to the query field
- Using `sphinxext-photofinish` for creating responsive images HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from crate-docs-theme.