Commit Graph

475 Commits (d7046313a89a079c4ed1630bf012500b90c4569b)

Author SHA1 Message Date
Justin Speers ca1dd34393 fix so bookmarks are removed when clicking active bookmark icon 2014-10-28 13:44:22 -07:00
Eric Holscher 2d9344a82c Kill cookie menu code 2014-10-23 18:41:55 -07:00
Eric Holscher 26c6190eda Override sphinx margin bottom on line blocks 2014-10-23 17:52:25 -07:00
Justin Speers 8f96fae35e add ability to delete bookmarks 2014-10-20 16:16:32 -07:00
Eric Holscher b6031657e3 Add comment. 2014-10-19 14:10:29 -07:00
Eric Holscher de80f307f5 Set badge display to block 2014-10-19 14:07:39 -07:00
Anthony Johnson d18b335d8c Crop up header image for now 2014-10-19 12:52:47 -07:00
Eric Holscher 9494b3184c Include footer 2014-10-17 17:19:25 -07:00
Anthony Johnson f8a20debf7 Break out some templates for easy override, clean up search on dashboard
Breaks out templates to base and extended templates, so that we can easily
override the blocks.
2014-10-16 23:41:49 -07:00
Eric Holscher ae0d89604e Add cookie for keeping menu bar open 2014-10-16 17:14:55 -07:00
Eric Holscher 117a301fa8 Fix mkdocs sidebar scrolling for now. 2014-10-15 18:22:16 -07:00
Eric Holscher 0843f4a36b Add ‘builder’ variable to READTHEDOCS_DATA.
Use this to capture the mkdocs search to link to our site.
2014-10-13 19:39:07 -07:00
Eric Holscher 983c0562dd Remove GTD for now 2014-10-13 15:32:22 -07:00
Eric Holscher 0918b02998 Fix button 2014-10-09 19:35:42 -07:00
Eric Holscher a983d5187b Clean up profile page design 2014-10-09 19:33:27 -07:00
Justin Speers 7432f58ae9 don't drop menu down when clicking user name/gravatar; only drop-down when button next to them is clicked 2014-10-09 16:19:57 -07:00
Eric Holscher c8235a6f7d Add new favicons. Closes #959 2014-10-08 18:31:50 -07:00
Eric Holscher f471156444 Merge remote-tracking branch 'agjohnson/ux-and-onboarding' into user-dashboard
Conflicts:
	readthedocs/templates/projects/project_dashboard.html
2014-10-08 18:08:52 -07:00
Anthony Johnson 8ffedc56c1 Clean up user menu 2014-10-08 18:05:18 -07:00
Anthony Johnson 5cc9deb075 Add javascript for user menu 2014-10-08 18:05:18 -07:00
ferm32 98c26b02b5 Update core.css
There is issue in Russian Translations "Search" Button named "Искать", that lagrer, than English equivalent (Go) and search field doesn't fit in 300px range, and button shifts down.
2014-10-08 18:05:17 -07:00
Anthony Johnson 80184740c8 Fix column breakout css issue 2014-09-29 19:00:31 -07:00
Anthony Johnson a76fee2bdb Reduce notification spacing 2014-09-25 16:58:14 -07:00
Anthony Johnson 039dee32e5 Add breadcrumb back to projects on project details 2014-09-25 14:13:21 -07:00
Anthony Johnson d60c590ade Dashboard UX changes + supporting CSS 2014-09-22 11:43:11 -07:00
Joe Alcorn 411644aa0c Add trailing slash to buildUrl, avoid a redirect 2014-09-07 15:38:14 +01:00
Eric Holscher afc68818ce Bump theme css. 2014-08-25 14:58:59 -07:00
Eric Holscher 14cdfae09a Add out-of-date message back to javascript. 2014-08-25 14:58:48 -07:00
Eric Holscher 600b939243 Clean up badge markup 2014-08-14 15:48:20 -07:00
Eric Holscher b7ddce1711 Clean up styling for badges 2014-08-14 15:42:13 -07:00
Eric Holscher ff651c4cfc Bump theme. 2014-08-06 17:05:06 -07:00
Eric Holscher 5a1171d19f Small cleanup 2014-08-06 14:18:46 -07:00
Eric Holscher e69f515be9 Update theme 2014-05-31 16:23:29 -07:00
Eric Holscher 7a1879cbdf Bump theme. 2014-05-21 22:55:00 -07:00
Eric Holscher f7bb80e605 Bump theme 2014-05-13 18:13:22 -07:00
Eric Holscher 8bdc55b47e Remove bari and grok the docs from RTD 2014-04-23 09:09:34 -07:00
Eric Holscher 643db97cdf Pass source_suffix through so we can link to GH properly. 2014-04-15 17:40:40 -04:00
Eric Holscher 471d118b31 Bump theme 2014-03-13 23:51:53 +08:00
Eric Holscher 9e60096517 Bump theme 2014-03-03 21:29:40 +08:00
Eric Holscher 2c0997472d Bump theme 2014-02-15 18:59:24 +08:00
Eric Holscher 8969f8e7c8 Bump theme. 2014-02-06 22:19:06 +07:00
Eric Holscher 8fb36b2868 Bump theme 2014-02-04 13:38:01 +07:00
Eric Holscher bf2cfa540f Update theme icon css 2014-02-03 20:02:03 +07:00
Eric Holscher 1b64719519 Don't show unsupported verisons yet. 2014-02-03 17:41:01 +07:00
Eric Holscher 6683d64a9c Handle serving fonts at 'fonts' 2014-02-01 17:55:21 +07:00
Eric Holscher 3383ee1a9c Bump theme 2014-02-01 17:42:46 +07:00
Dave Snider 31632bf1ed font-awesome 4.0 2014-01-31 09:09:40 -08:00
Eric Holscher f6e00b99b2 Remove debug logging from search 2014-01-19 07:55:32 +07:00
Eric Holscher 5ad5744f6d Try and fix js again 2014-01-19 07:54:05 +07:00
Eric Holscher 8f6fc271b8 Update theme JS 2014-01-19 07:51:44 +07:00
Eric Holscher ce3304e8c8 Handle unsupported versions. 2014-01-16 19:54:45 +07:00
Eric Holscher cfbc0c4e37 Bump theme 2014-01-16 19:54:37 +07:00
Eric Holscher f17147d7eb Bump theme 2014-01-16 08:19:05 +07:00
Eric Holscher 1241bdb0c3 Bump theme. Excited to have better accessability. 2014-01-15 17:17:16 +07:00
Eric Holscher 515be5f7af Clean up our JS embed code. 2014-01-09 02:16:41 -08:00
Eric Holscher c60374c5cc Fix JS to not leak global 2014-01-08 00:00:30 -05:00
Eric Holscher a09f7a7e92 Pass API_HOST into our JS.
This allows us to make sure our dev server is hitting the proper API, like our builds.
2014-01-07 00:36:19 -05:00
Eric Holscher 3be7e6fdc6 Turn the RTD bar red if version is no longer active. 2014-01-07 00:24:42 -05:00
Eric Holscher 21edd16fdf Bump theme css 2014-01-06 20:04:18 -05:00
Eric Holscher 41b0243bfd Update theme 2013-12-21 08:31:34 -05:00
Eric Holscher af245d3512 Fix it both places 2013-12-09 11:21:56 -05:00
Eric Holscher 27520b8301 Fix syntax properly 2013-12-09 11:08:43 -05:00
Eric Holscher f7dfb31b61 Fix doc-embed JS syntax 2013-12-09 11:05:43 -05:00
Eric Holscher 88fa21a383 Fix calls to footer 2013-11-22 15:38:41 -08:00
Eric Holscher fe5dff79c1 Merge branch 'sectionsearch'
Conflicts:
	readthedocs/templates/sphinx/sphinx_rtd_theme/searchbox.html
2013-11-22 15:05:01 -08:00
Eric Holscher d9942a3528 Merge pull request #543 from imom0/master
Add cursor style to submit button
2013-11-19 11:09:30 -08:00
Eric Holscher 657e61c8ae Bump theme 2013-11-16 08:11:05 -08:00
imom0 e0e827cc0e Add cursor style to submit button 2013-11-15 11:33:27 +08:00
Eric Holscher 073141971b Bump theme 2013-11-12 14:38:01 -08:00
Eric Holscher 6bd2d196c6 Cleanup 2013-11-12 11:04:14 -08:00
Eric Holscher c04217a5c4 Need a better solution to this. 2013-11-10 16:27:03 -08:00
Eric Holscher 96cc2b52da Add hot fire 2013-11-10 13:46:58 -08:00
Eric Holscher b89d581a17 Lower search size and reset on search miss 2013-11-10 13:32:12 -08:00
Eric Holscher bf21009367 BEtter use of indexof 2013-11-10 00:25:10 -08:00
Eric Holscher 265373da7b Hide topics that don't exist 2013-11-10 00:22:09 -08:00
Eric Holscher 801496addd Clear out the bits before refreshing 2013-11-10 00:08:57 -08:00
Eric Holscher 0b2ace04f2 Build out a somewhat reasonable UI. 2013-11-09 23:43:37 -08:00
Eric Holscher c111465408 Display things properly 2013-11-09 17:41:34 -08:00
Eric Holscher a07cbe8e2e Replace subsections with clickable results 2013-11-09 17:31:20 -08:00
Eric Holscher e1e24fda76 Fix JS to not be hilarious. 2013-11-08 22:12:54 -08:00
Eric Holscher 1d5b49e331 Hook up initial section search. 2013-11-08 22:01:21 -08:00
Eric Holscher 66d31ecd21 Bump theme 2013-11-08 10:21:07 -08:00
Eric Holscher 21bf7c5eb0 Bump theme 2013-11-07 13:58:38 -08:00
Eric Holscher 660bae34d5 Bump theme 2013-11-07 10:27:13 -08:00
Eric Holscher 5cab3f0cae Theme update bits 2013-11-05 22:31:10 -08:00
Eric Holscher b809dc6815 More explicitly match links 2013-11-05 15:11:18 -08:00
Eric Holscher d83ef49ae0 Use search icon 2013-11-05 14:50:02 -08:00
Eric Holscher 067c91db13 Remove globals in comments too 2013-11-05 14:45:16 -08:00
Eric Holscher 1f99bf84ab Remove globals 2013-11-05 14:44:27 -08:00
Eric Holscher 7fc58a45df Fix spacing 2013-11-05 14:34:52 -08:00
Eric Holscher a46e392588 Move bits upMove bits upMove bits upMove bits upMove bits upMove bits upMove bits upMove bits upMove bits up 2013-11-05 14:31:43 -08:00
Eric Holscher 2e04929e30 Only run on our theme. 2013-11-05 14:29:07 -08:00
Eric Holscher 1d4ab5a8af Remove some debug loggin 2013-11-05 14:24:45 -08:00
Eric Holscher 2c2ab1ec19 More moving around 2013-11-05 14:19:22 -08:00
Eric Holscher ac888000b0 Fix url 2013-11-05 14:15:56 -08:00
Eric Holscher ae48d699e6 Refactor a bit 2013-11-05 14:15:10 -08:00
Eric Holscher d1c9d0cef5 Make JS make a bit more sense 2013-11-05 14:13:10 -08:00
Eric Holscher 309f3a1ba0 Add basic search demo. 2013-11-05 13:38:22 -08:00
Eric Holscher dbf61f9821 Bump theme 2013-11-05 13:24:11 -08:00
Eric Holscher c258692387 Support subprojects in footer. 2013-11-05 13:18:53 -08:00
Eric Holscher 5594f15cb8 Fix update_theme to make it keep things up to date sanely 2013-11-05 00:13:19 -08:00
Eric Holscher 17f8a6046f Move fonts 2013-11-05 00:05:52 -08:00
Eric Holscher 55be86d3fd Handle new css location 2013-11-05 00:00:41 -08:00
Eric Holscher 25739b42e1 Patch doctools.js.
This is being tracked upstream at:
https://bitbucket.org/birkenfeld/sphinx/pull-request/188/have-highlightsearchwords-highlight-words/diff
2013-11-04 17:26:58 -08:00
Eric Holscher cf52b89353 Bumper cars 2013-11-04 15:26:06 -08:00
Eric Holscher a9bda7d907 Bump theme, with new theme updating code 2013-11-03 15:20:45 -08:00
Eric Holscher 7cff0bc169 Bump theme 2013-11-03 11:48:19 -08:00
Eric Holscher 5dfbe60463 Fix syntax error in media 2013-11-02 12:56:10 -07:00
Eric Holscher 6d5c9043f9 Bump theme 2013-11-01 17:15:30 -07:00
Eric Holscher 887f3175b7 Bump theme 2013-10-31 13:31:39 -07:00
Eric Holscher ebc2cb89f4 Bump theme and included js/css 2013-10-30 10:18:59 -07:00
Eric Holscher 5cd1f19939 Fix JS type check 2013-10-28 20:50:46 -07:00
Eric Holscher e69c1b9002 Helped if you actually pass the variable. 2013-10-28 20:15:33 -07:00
Eric Holscher 6452cbc819 Gah! need a better way to handle local dev. 2013-10-28 20:14:23 -07:00
Eric Holscher 47a78ebcc3 Fix JS with optional docroot. 2013-10-28 20:13:41 -07:00
Eric Holscher 33713eed68 Pass docroot to badge endpoint. 2013-10-28 20:08:37 -07:00
Eric Holscher de9a055b3f Add support for Edit on Bitbucket. 2013-10-28 19:15:39 -07:00
Eric Holscher 1850f54c24 Fix update_theme to update our server-side CSS 2013-10-28 12:05:31 -07:00
Eric Holscher facac706e8 Derped when I should have herped 2013-10-25 18:31:01 -07:00
Eric Holscher e03ce8a872 Shim in fix for old RTD theme 2013-10-25 18:02:04 -07:00
Eric Holscher bc9e4db971 Bump versions of underscore and doctools. 2013-10-25 17:13:43 -07:00
Eric Holscher dba7220c4b Have versions updated on default and other themes 2013-10-25 16:56:56 -07:00
Eric Holscher 99a293dc09 Bold current version 2013-10-25 16:39:22 -07:00
Eric Holscher aadfdfd6c2 Play around more with embedded js bits 2013-10-25 16:21:26 -07:00
Eric Holscher edbbb4c753 Have explicit media server JS 2013-10-25 16:11:27 -07:00
Eric Holscher 83ea881ad2 Commit fonts 2013-10-24 12:36:12 -07:00
Eric Holscher 029ad7f318 Link to proper css file 2013-10-24 12:34:44 -07:00
Eric Holscher 9c0a765673 Pass theme info along 2013-10-23 15:45:35 -07:00
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 d2a0a1c0d0 Add shim CSS so it doesn't 404 2013-10-03 15:20:39 -07:00
David Adam Justice 3784a69442 Upgrading to Jquery 2.0.3 / adding cdn 2013-09-28 11:03:48 -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
Wieland Hoffmann c2fa36a048 Don't claim the outcome of an unfinished build is 'failed'
This moves the 'build-state' span before the 'build-success' one to make
it more obvious that the build is still running. It also changes the
text of the 'build-success' span to 'Not yet finished' if the build
state is not 'finished'.
2013-03-15 13:20:02 +01:00
Eric Holscher 9053d057ab Use a local copy of jquery. 2012-12-17 23:49:11 -08:00
Eric Holscher 6fe57e1ef9 Revert "Revert "Add new fancy detail pages.""
This reverts commit ada53b0597.
2012-12-17 22:38:49 -08:00
Eric Holscher ada53b0597 Revert "Add new fancy detail pages."
This reverts commit acf27880f6.
2012-12-17 22:18:06 -08:00
Eric Holscher acf27880f6 Add new fancy detail pages. 2012-12-17 22:08:46 -08:00
Chris Dickinson ed15bf9f7a Put "Search" in trans tag, fix overflowing text 2012-12-17 20:12:41 -08:00
Chris Dickinson 5b3f6b059d add button (with dropdown options). apply to project_list_detailed. 2012-12-17 20:12:41 -08:00
Chris Dickinson ff638fc979 fix some overflow on homepage urls 2012-12-14 13:49:09 -08:00
Chris Dickinson b60f24576b add editing instructions 2012-12-14 11:32:10 -08:00
Chris Dickinson 15932140cf CSS updates 2012-12-13 22:19:43 -08:00
Chris Dickinson 13bac8f9cb add edit icon, remove console.log 2012-12-13 22:19:18 -08:00
Chris Dickinson d0fded8054 initial profile changes 2012-12-13 21:51:54 -08:00
Chris Dickinson aaba79e484 fix the gear per @ericholscher 2012-12-13 18:51:43 -08:00
Chris Dickinson 79f71ac692 some final touchups 2012-12-11 01:36:20 -08:00
Chris Dickinson 5512de8ed2 use project_edit_base for administrative project pages 2012-12-10 00:56:42 -08:00
Chris Dickinson d9201bd647 add first stab at subordinate content 2012-12-10 00:17:26 -08:00
Eric Holscher 3c7c0af404 Fix styles and make form sane. 2012-12-06 20:28:43 -08:00
Eric Holscher 5ce0bce433 Revert "Revert "Add filtering of builds and Version/Projects that is unexposed.""
This reverts commit 161d440763.
2012-10-14 18:21:55 -07:00
Eric Holscher 161d440763 Revert "Add filtering of builds and Version/Projects that is unexposed."
This reverts commit 4fdfcee34f.
2012-10-14 17:54:35 -07:00
Eric Holscher 4fdfcee34f Add filtering of builds and Version/Projects that is unexposed. 2012-10-14 17:50:20 -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
Chris Dickinson 11e4fa2d4e Use an image sprite instead of two separate images 2012-09-27 20:55:05 -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
Chris Dickinson 641059fee8 Use regexen to match repo type in rtd-import.js 2012-09-27 18:44:44 -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
Jordan Carlson 049d949efe Made badge small until hovered. 2012-09-07 12:44:12 -04:00
Chris Dickinson a54cabb2f8 Fix potential XSS in instantsearch.js 2012-08-20 15:13:51 -07:00
Eric Holscher 6206b60aef Update calls to fonts. 2012-07-29 15:14:55 -07: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
Eric Holscher c7637e2ed5 Add CSS to project detail description. 2012-04-30 11:19:09 -07:00
Hugo Rodger-Brown (from home) dbbe1416c1 Added humans.txt file, contents taken from AUTHORS.rst 2012-04-29 14:37:56 +01:00
Andrew Brookins 3293e2f939 Remove debugging statement 2012-04-03 10:45:40 -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 afb6a69571 Remove the console.log in instantsearch 2012-03-20 11:10:44 -07:00
Craig Nagy 24a36a2e07 Get full html fragments for instant search; fixes facets and pagination 2012-03-15 21:03:25 -04:00
Craig Nagy 279b0748b2 Check presence of input field and results for instant search 2012-03-14 06:25:03 -04: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 315a048008 Only instant search when query changes; maintain facets; add replaceState support 2012-03-14 03:47:35 -04:00
Craig Nagy d28dd7292c Initial rewrite of the instant search javascript; includes delayed searches 2012-03-14 03:08:35 -04:00
Craig Nagy 20e589bcb8 Merge branch 'instant_search_cleanup' into search_results 2012-03-14 00:30:13 -04:00
Craig Nagy 630ab6ef15 Starting to cleanup the instant search javascript 2012-03-13 20:06:15 -04:00
Craig Nagy 4dc181e2e1 Use a custom view to support further search customization; update facet UX; use django-pagination 2012-03-13 19:30:50 -04:00
Mark Parncutt 330b149385 Removed the absolute URL to readthedocs.org :/ 2012-03-12 21:00:03 -07: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
Eric Holscher c82853f9a0 Float the minutes to the right. 2012-02-10 23:02:36 -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