Eric Holscher
19acbaa1dc
Point to new bundled JS
2013-10-04 16:00:41 -07:00
Eric Holscher
0f983d1285
Rejigger rtd.js so everything runs after jquery load
2013-10-03 15:28:52 -07:00
Eric Holscher
76b35b2158
Always use https
2013-08-30 13:45:15 -07:00
Eric Holscher
2ee78d78aa
Kill analytics experiment.
2013-08-27 22:17:09 -07:00
Eric Holscher
5414094512
Enable better analytics data.
2013-08-26 08:39:46 -07:00
Eric Holscher
7ce51a8eee
Load the script dynamic-like
2013-08-25 22:31:56 -07:00
Eric Holscher
2c427c899b
Fix hover event handler
2013-08-25 21:51:44 -07:00
Eric Holscher
39efa35d52
Add GTD client to the bottom
2013-08-25 21:39:00 -07:00
Eric Holscher
dc3cdd7268
Enable grok the docs ssl
2013-08-25 21:08:38 -07:00
Eric Holscher
774611db90
First attempt at basic hash tracking. Refs #445 .
2013-08-23 16:40:53 -07:00
Julen Ruiz Aizpuru
f6cfe83c29
Revive faceted search and avoid unneeded searches in docs.
...
There was an odd thing here: two scripts, one from RTD
(instantsearch.js) and another one from Sphinx (searchtools.js), define
a Search object which has an init function.
This function was called right in rtd.js, which was decoupled in
f6420bac35
, and since the initialization function was only called in the
generated docs, faceted searches didn't work. The call to the
confusingly-named Search.init has been moved to the faceted search
template.
Also, the RTD theme was including searchtools.js twice: first in the
main layout.html, and after in search.html. Because RTD's theme extends
the Sphinx's 'basic' theme (most of the existing themes out there do the
same), and its search template already includes this script, it wasn't
necessary to include it again.
2012-10-01 22:37:43 +02:00
Julen Ruiz Aizpuru
a9de7e3a2c
Don't define more variables in the global namespace.
2012-09-28 09:18:13 +02:00
Chris Dickinson
16181cd23c
Fix for bad version links in RTD badge
2012-09-27 21:22:28 -07:00
Eric Holscher
dc058a0b1f
Fix variable names.
2012-09-27 20:18:46 -07:00
Eric Holscher
e7d05dc145
Move rtd.js back.
2012-09-27 20:02:25 -07:00
Julen Ruiz Aizpuru
f6420bac35
Rewrite rtd.js.
...
There was a mix of code that was used both for the site and for the
Sphinx theme:
- Site's code was only affecting the import page, so now it's included
only there.
- Sphinx theme's code has been placed in its own location too, and
variables are populated as if they were within a Jinja template
(notice the _t ending in the extension).
All the code has been largely rewritten as well, in order to avoid
using/poluting the global namespace.
2012-09-27 21:11:55 +02:00
Eric Holscher
c2e36d9728
Derp.
2012-06-11 21:22:03 -07:00
Eric Holscher
d4e98a837d
Fix highest url
2012-06-11 21:21:44 -07:00
Eric Holscher
5fb63050a7
Fix javascript https.
2012-06-11 21:20:34 -07:00
Andrew Brookins
94cb1a339c
Move BuildUpdater to a separate file
2012-04-02 22:27:20 -07:00
Andrew Brookins
237effa96e
Separate detail and list build updaters. Use inheritance.
2012-04-02 21:48:38 -07:00
Andrew Brookins
ff36900e58
Update function doc
2012-04-02 20:35:32 -07:00
Andrew Brookins
49eaa703e5
AJAX functions into an object
2012-04-02 20:27:41 -07:00
Andrew Brookins
dd470f54c8
Issue 164: AJAXify the build list and build detail pages
2012-04-01 20:49:58 -07:00
Eric Holscher
09bde259df
Let's try that, javascript >:x
2012-03-14 18:57:19 -07:00
Eric Holscher
6754c2a714
Don't stomp on existing variables.
2012-03-14 18:49:14 -07:00
Craig Nagy
d28dd7292c
Initial rewrite of the instant search javascript; includes delayed searches
2012-03-14 03:08:35 -04:00
Mark Parncutt
0edfdaf140
Added instant search!
2012-03-12 21:00:03 -07:00
Eric Holscher
7d1ee763e3
Update the sidebar versions in javascipt, too. Fixes #169 .
2012-02-23 19:57:56 -08:00
Mike Bayer
f0a8f47258
add a second selector to the "populate the version" logic, so that both #version_menu as well
...
as any user-defined .version-listing gets populated with current, CNAME-corrected version
identifiers.
2012-01-17 20:10:15 -05:00
Eric Holscher
494b90b8be
Less derpy string concat.
2012-01-07 18:55:45 -08:00
Eric Holscher
a8ae7b4cb2
Make both version bits use the same logic.
2012-01-07 18:54:30 -08:00
Eric Holscher
758405e3c6
Only empty div on success.
2012-01-07 18:46:21 -08:00
Eric Holscher
221f038831
Vastly simplify that code, from an example, higher in the file. :)
2012-01-07 18:45:26 -08:00
Eric Holscher
b8b7e6b1eb
Link to the correct project :D
2012-01-07 18:42:39 -08:00
Eric Holscher
94d9614a57
Generate the version list in the drop down from the API.
...
Also, link to the same page on that version of the docs, instead of the root.
2012-01-07 18:23:11 -08:00
Eric Holscher
a6370d84a5
Hard code the URL so it works on subdomains/CNAMEs.
2011-06-23 19:28:27 -07:00
Eric Holscher
cf478414fa
Fix the URL replacement so it links to the correct page.
2011-06-21 20:51:36 -07:00
Eric Holscher
780b0a78cd
Don't break urls going to the new version.
2011-06-21 20:42:33 -07:00
Eric Holscher
ac67615eef
Derp.
2011-06-21 20:09:44 -07:00
Eric Holscher
84303ee309
Turn old documentation warnings back on.
2011-06-21 20:06:22 -07:00
Eric Holscher
157a1db027
Turn off version checking for now.
2011-04-02 18:56:32 -07:00
Eric Holscher
4624771567
Lots of small fixes.
2011-03-20 22:07:21 +00:00
Eric Holscher
c614e59c83
Fix javascript call to include version.
2011-03-16 08:13:06 -07:00
Eric Holscher
c3cbfdd478
Reword warning.
2011-03-15 23:06:44 -07:00
Eric Holscher
4c31b1c2ad
Build in alerting for old versions of documentation.
2011-03-15 22:59:03 -07:00
Eric Holscher
1e92819eda
Added a basic "repo type guesser" in javascript to the import page.
2011-03-15 18:11:00 -04:00
Eric Holscher
c78f9e7343
Try a basic version display on the front page.
2011-01-27 00:32:03 -08:00