Commit Graph

254 Commits

Author SHA1 Message Date
Eric Hough
90a5b26b07 Merging upstream 2014-02-04 16:50:21 -05:00
Dave Snider
2aaca3c6c1 backwards compat for font awesome 3.0 for fonts sphinx_rtd was using.
fixes #95
2014-02-03 13:05:53 -08:00
Eric Holscher
c9fd0951c2 Add icon CSS back in for old doc builds 2014-02-03 19:57:52 +07:00
Eric Holscher
04141d9b34 Fix icon/fa switch in footer 2014-02-01 17:48:03 +07:00
Dave Snider
c15e5661a3 Merge branch 'fix_image_center_alignment_and_spacing' of github.com:Kami/sphinx_rtd_theme into Kami-fix_image_center_alignment_and_spacing
Conflicts:
	sphinx_rtd_theme/static/css/badge_only.css
	sphinx_rtd_theme/static/css/theme.css
2014-01-31 14:30:48 -08:00
Dave Snider
f1cad51592 css for #92 2014-01-31 14:28:02 -08:00
Dave Snider
aa5e9715f4 might help if i added the fonts 2014-01-31 09:08:32 -08:00
Dave Snider
e83688818d get the theme working with fa. #94 2014-01-31 08:58:37 -08:00
Lukas Stührk
7cfd81d8b7 Fixed sass to work with upstream version of wyrm. 2014-01-31 17:10:07 +01:00
Eric Hough
865373f5ff Removing incorrectly merged commits 2014-01-22 00:08:54 -05:00
Eric Hough
94d0d7bbb3 Merge remote-tracking branch 'snide/master' into move-javascript-to-bottom 2014-01-20 21:16:22 -05:00
Eric Holscher
7f4fe26686 Clean up JS file 2014-01-19 07:50:22 +07:00
Eric Holscher
0171374898 Combined compiled assets after merge 2014-01-16 19:53:30 +07:00
Eric Holscher
cb388440d9 Merge branch 'old-version-css'
Conflicts:
	sphinx_rtd_theme/static/css/theme.css
2014-01-16 19:52:49 +07:00
Eric Holscher
19fc96b3ee Update minified theme.css 2014-01-16 08:11:12 +07:00
westurner
b4ea8d5196 Added WAI-ARIA roles (document, navigation, main, note, contentinfo, search)
Navigation: main, top, breadcrumbs, footer

https://en.wikipedia.org/wiki/WAI-ARIA

http://www.w3.org/TR/wai-aria/roles
2014-01-14 19:54:37 -06:00
Jonathan Wayne Parrott
b216e471f5 Fixing rouge single-quote in breadcrumbs.html
This breaks links to bitbucket.
2014-01-13 16:13:11 -05:00
Tomaz Muraus
0da6a43121 Re-generate CSS files. 2014-01-10 16:32:47 +01:00
Eric Hough
ea5b780f08 Merge remote-tracking branch 'snide/master' into move-javascript-to-bottom 2014-01-08 22:10:57 -05:00
Dave Snider
17f17ee6aa minor comment cleanup. 2014-01-08 16:23:06 -08:00
Eric Hough
0cd262d06c Merge branch 'snide-master' into sticky-navigation 2014-01-08 12:14:43 -05:00
Eric Hough
e31a25cb35 Merge branch 'snide-master' into move-javascript-to-bottom
Conflicts:
	sphinx_rtd_theme/layout.html
2014-01-08 12:13:09 -05:00
Eric Holscher
8c6cc8875a Default to https on modernizr.
This stops content warnings when users use https,
and has no ill effects when they're on http.

Fixes #72
2014-01-07 23:43:18 -05:00
Eric Holscher
8658617ad0 Fix the link to theme.js. Fixes #75 2014-01-07 23:42:42 -05:00
Eric Holscher
fd66443ecb Add an rest-active-old-version css class.
This will be for active versions that are still supported,
but not the current release.

This will be used for our version comparison code.
For example,
When 2.1 is released, it will be green,
2.0 will be yellow,
1.0 will be red.

This will provide an obvious color coded deprecation path.

We should probably add more context around the color so
people know what exactly it means, but this is a start.
2014-01-07 22:09:13 -05:00
Eric Hough
9b26927f5d Merge remote-tracking branch 'snide/master' into sticky-navigation
Conflicts:
	sphinx_rtd_theme/static/css/theme.css
2014-01-07 17:53:02 -05:00
Eric Hough
30f5c683eb Turning off sticky navigation if navbar is taller than window
Conflicts:
	sass/_theme_layout.sass
	sphinx_rtd_theme/layout.html
2014-01-07 17:39:48 -05:00
Eric Holscher
2e13a1cdbc Update theme.css from PR 2014-01-06 20:03:57 -05:00
Eric Hough
cb44a290a9 Restoring "extrahead" block in layout.html 2014-01-06 02:08:20 -05:00
Eric Hough
bc77ea5286 Remove anchor from current page in breadcrumbs 2014-01-06 01:56:19 -05:00
Eric Hough
8c9bca85f0 Add parents to breadcrumbs 2014-01-06 01:43:21 -05:00
Eric Hough
bcf2276d5b Adding sticky navigation option 2014-01-05 17:39:14 -05:00
Eric Hough
6dd2f3efc3 Renaming block "extrahead" to "inlinejs" and moving to bottom of page. 2014-01-05 15:22:45 -05:00
Eric Hough
c9863009c1 Merge remote-tracking branch 'snide/master' into move-javascript-to-bottom
Conflicts:
	sphinx_rtd_theme/layout.html
2014-01-05 15:11:34 -05:00
Eric Hough
677706d4ac Moving JS to bottom 2014-01-05 15:05:11 -05:00
Daniel Oaks
48271adf28 Merging upstream 2014-01-05 21:47:54 +10:00
Dave Snider
d45046d77d Merge branch 'master' of github.com:snide/sphinx_rtd_theme 2014-01-03 10:19:09 -08:00
Dave Snider
5ef159c69c fixes #77 2014-01-03 10:18:51 -08:00
Stein Magnus Jodal
9f59af5997 Fix footer links to avoid redirects 2013-12-27 21:18:20 +01:00
Dave Snider
49ac44dc35 align parameters list if possible, fixes #70 2013-12-16 11:41:35 -08:00
Daniel Oaks
8bd1938c8b html logo_only is now an option 2013-12-08 23:18:43 +10:00
Daniel Oaks
22df9d33e8 Actually, it's nicer with no text above the logo 2013-12-08 22:45:12 +10:00
Daniel Oaks
b02048a903 Respect html_logo, and throw it in the sidebar, fixes #24 2013-12-08 22:17:36 +10:00
Dave Snider
1e2ec72b10 partial fix for #64 2013-12-03 19:47:56 -08:00
Dave Snider
04f964b90d toc includehidden=true, fixes #60 2013-11-22 09:46:45 -08:00
Dave Snider
fb4862ffb2 fixes #61, better link for mobile 2013-11-22 09:28:36 -08:00
Dave Snider
d94604c3a4 fixes #58, seealso titling 2013-11-13 08:37:54 -08:00
Dave Snider
5497278bf0 remove external link style 2013-11-12 11:06:03 -08:00
Dave Snider
94421218f8 fixes #48, change note coloring to be pastels to avoid nesting problems
so I can have a life and not worry about people who use these things
weirdly
2013-11-12 11:01:29 -08:00
Dave Snider
3dbcb5f23f fixes #56, emphasized lines 2013-11-12 09:34:28 -08:00
chebee7i
6d104e82f3 Even after 'grunt build', theme.css needed an update. 2013-11-11 18:34:10 -06:00
Eric Holscher
1041efb31e Add ID to search form 2013-11-08 18:18:48 -08:00
Eric Holscher
81eb8e3d0c Include bitbucket too 2013-11-08 12:24:15 -08:00
Eric Holscher
bd844938e3 Edit breadcrumbs to only show source without github 2013-11-08 12:21:22 -08:00
Eric Holscher
e82ee4f1f7 Turns out Sphinx has lots of single pages we want tocs on 2013-11-08 11:42:38 -08:00
Dave Snider
bc4ef78ddb don't hide depth 2 when local toc tree 2013-11-08 09:04:25 -08:00
Dave Snider
f97e9f3a6c Merge branch 'master' of github.com:snide/sphinx_rtd_theme 2013-11-08 08:59:44 -08:00
Dave Snider
15e0cc01c7 show source link in breadcrumbs 2013-11-08 08:59:15 -08:00
Eric Holscher
b40420daae Use local toc for single page docs 2013-11-07 13:57:30 -08:00
Eric Holscher
89ee37350e Bump version 2013-11-07 12:43:14 -08:00
Dave Snider
38edeb27a4 make sure padding within notes doesn't add extra margins 2013-11-07 11:15:03 -08:00
Dave Snider
d18a666225 forgot to build min css 2013-11-07 10:26:06 -08:00
Dave Snider
e30cc2e2af tables in notes fixes #46 2013-11-06 13:21:13 -08:00
Dave Snider
e23f4817f7 some minor styling for api params 2013-11-06 13:12:34 -08:00
Dave Snider
8b620bbbe5 add margin to dl, fixes #43 2013-11-06 12:55:08 -08:00
Dave Snider
caba30b87f source links, demo docs 2013-11-06 12:44:22 -08:00
Dave Snider
d4e0ac1cd8 try and style menus that go more than 2 pages deep 2013-11-05 16:09:27 -08:00
Dave Snider
bcdc58dbc7 Merge branch 'master' of github.com:snide/sphinx_rtd_theme 2013-11-05 15:53:27 -08:00
Dave Snider
ec634df924 external link styling... fixes #33 2013-11-05 15:52:48 -08:00
Eric Holscher
c75b161ec2 Fix dumb stuff 2013-11-05 15:49:36 -08:00
Eric Holscher
07675beb4e Include Inconsolata 2013-11-05 15:19:46 -08:00
Eric Holscher
c7e0de597b Always use https 2013-11-05 15:17:19 -08:00
Dave Snider
2211e3078b don't use box-sixing here. It can hijacks native css. Fixes
https://github.com/rtfd/readthedocs.org/issues/528
2013-11-05 13:20:23 -08:00
Dave Snider
24af55df6e wyrm update fixes sidebar issue, fixes #42 and #34 2013-11-05 12:50:19 -08:00
Dave Snider
aa05551bf7 Add some air to parameters in API docs. fixes #35 2013-11-05 12:42:09 -08:00
Dave Snider
563a031512 highlight class, fixes #29 #36 2013-11-05 11:54:34 -08:00
Matthew Iversen
b4da06cb10 Add highlight class, fixes #29 2013-11-05 22:32:52 +11:00
Dave Snider
6032ae0ac1 Merge pull request #32 from Ivoz/rm-files
These files should now be unneeeded ¯\_(ツ)_/¯
2013-11-04 23:57:55 -08:00
Dave Snider
72a742df20 mathjax edits 2013-11-04 23:31:20 -08:00
chebee7i
6a683469c2 Merge branch 'master' of https://github.com/snide/sphinx_rtd_theme into mathjax_color
Conflicts:
	demo_docs/source/index.rst
	sphinx_rtd_theme/static/css/theme.css
2013-11-05 01:10:54 -06:00
Matthew Iversen
ca0f8253f2 These files should now be unneeeded ¯\_(ツ)_/¯ 2013-11-05 18:09:51 +11:00
chebee7i
4bdd08a187 Customize MathJax colors. 2013-11-05 01:04:16 -06:00
Dave Snider
ed73ac347a Rewrite a decent portion of the rst bits. Also provide some
documentation.
2013-11-04 22:44:33 -08:00
Dave Snider
161ed20241 dumb fix of some highlights getting a dark color 2013-11-04 17:24:20 -08:00
Dave Snider
0fd499cf9b Merge branch 'linkcolors-autodoc' of github.com:tony/sphinx_rtd_theme into tony-linkcolors-autodoc 2013-11-04 17:13:15 -08:00
Tony Narlock
092ec06e3b fixes for colors on tt 2013-11-05 09:12:21 +08:00
Dave Snider
f0ce37f5a3 Merge branch 'linkcolors-autodoc' of github.com:tony/sphinx_rtd_theme into tony-linkcolors-autodoc 2013-11-04 17:03:45 -08:00
Tony Narlock
9fb7cb8ae1 Font-sizing 100% !important for autodoc descname, descclassname 2013-11-05 09:02:22 +08:00
Dave Snider
e9ec0f8332 Merge branch 'linkcolors-autodoc' of github.com:tony/sphinx_rtd_theme into tony-linkcolors-autodoc 2013-11-04 16:49:04 -08:00
Tony Narlock
20d43a68bb Add new tests for sphinx.ext.autodoc, and sphinx.ext.autodoc embedded reST content. Remove code mixin from tt and address the usage of tt for descclass, descclassname. and the normal tt, which is for inline markup. Clears ambiguity on css rules. Updates the test_py_module with new content, pep257. 2013-11-05 08:37:01 +08:00
Dave Snider
a49a9b77a6 inside the rst-footer-buttons 2013-11-04 15:33:35 -08:00
Dave Snider
1adca1bd58 Merge branch 'master' of github.com:snide/sphinx_rtd_theme 2013-11-04 15:19:16 -08:00
Dave Snider
a6b2b5ee4f more specific watch so grunt doesn't error. next/prev links in footer
fixes #23
2013-11-04 15:18:33 -08:00
Eric Holscher
e95aad0b0a Bump version 2013-11-04 14:53:20 -08:00
Dave Snider
03133fca1c watch rst files, fix #26 citations, remove www from rtd link 2013-11-04 14:14:48 -08:00
Dave Snider
e1bf789bae Merge branch 'master' of github.com:snide/sphinx_rtd_theme 2013-11-04 11:45:39 -08:00
Dave Snider
258ae82720 merge in some of #20 for now, add sidebars 2013-11-04 11:45:06 -08:00
Eric Holscher
a368a46166 Remove out of date checking, will do this w/ JS 2013-11-04 11:43:39 -08:00
Dave Snider
b43f4eea80 Merge branch 'sphinx-basic-updates' of github.com:tony/sphinx_rtd_theme into tony-sphinx-basic-updates
Conflicts:
	src/sphinx_rtd_theme/static/theme.css
2013-11-04 10:58:56 -08:00
Dave Snider
d98601d141 update wyrm, fix #18 2013-11-04 09:32:35 -08:00
Dave Snider
0028bbdb83 clean fix 2013-11-04 09:13:03 -08:00
Matthew Iversen
b99bad47b5 Update setup.py to work, rework file structure
- rebase sass files to ./sass
- Place all theme files in ./sphinx_rtd_theme
- Grunt now uses `default` and `build` tasks
- `build` will minify css for committing / dist
- Added Gemfile and requirements.txt for python/ruby requirements
- Cleaned up Gruntfile, copying no longer needed.
- moved compass config to compass.rb

Squashed commits:

- Move out sphinx_rtd_theme to root folder
- Manifest unneeded
- Move out sass to root dir
- Remove dist from git
- Reconfigure paths
- Add requirements for sphinx
- Add gemfile for compass
- Udpate components path
- Move to static/css
- Add line for rbenv
- Require livereload, don't need copy
- Comment static path, update theme path for demo conf.py
- Add css files
- Correct name of .ruby-version...
- Update path to theme.css
- Remove unprefixed badge_only.css
- Update location of theme.js
- Update paths in Gruntfile, tasks
- re-add __init__.py, bump version
- Update setup.py to pick up version easily
- Move config.rb to compass.rb
- Correct compass import paths
- Add debug / production environment
- Commit with production built css
- Add theme.conf, get requires from requirements.txt
- rename tasks, use sphinx-build, add comments
- Fix font path
- Update css files
2013-11-04 20:37:27 +11:00
Tony Narlock
166ba8e7b3 Merge remote-tracking branch 'upstream/master' into pypi-compliance 2013-11-04 08:49:29 +08:00
Tony Narlock
20d9ed0e66 keep sphinx_rtd_theme package here for pypi 2013-11-04 08:47:26 +08:00
Eric Holscher
07890f49d3 Fix pip install instruction 2013-11-03 16:32:45 -08:00
Eric Holscher
e8178bbe65 Merge remote branch 'tony/pypi'
Conflicts:
	README.rst
2013-11-03 16:17:30 -08:00
Dave Snider
97152e74c5 first pass breakpoint 2013-11-03 13:37:56 -08:00
Tony Narlock
f199e76f65 Python package 2013-11-03 11:35:10 +08:00
Dave Snider
8bb2a55146 margins on multiple dts in a dl fixes #12 2013-11-01 23:32:52 -07:00
Dave Snider
5d2e1ce5a5 fix for overflow issue 2013-11-01 23:10:23 -07:00
Dave Snider
d3e3612671 up the contrast on alerts, fixes #11 2013-10-31 22:26:57 -07:00
Dave Snider
91b811019b max-width images 2013-10-31 13:28:08 -07:00
Dave Snider
11286e2388 clean up some of the nav, margin color for large desktops 2013-10-30 11:29:18 -07:00
Dave Snider
5311583bef responsive tables 2013-10-30 10:14:23 -07:00
Dave Snider
df08b518e4 make js work on non-rtd sites again 2013-10-28 16:07:26 -07:00
Dave Snider
90f76bc3ea don't load css twice on rtd, comment coloring in pygments 2013-10-28 12:24:21 -07:00
Dave Snider
ac85dfb48c max width on code elements, overflow-x when needed. fixes #9 2013-10-27 09:16:57 -07:00
Dave Snider
181a82357c some image rules for rst, wish they output more sane stuff. fixes #2
and #3
2013-10-26 19:11:26 -07:00
Dave Snider
b9fa587e1f too agressive on #4, only apply on ul/ol within sections 2013-10-26 19:00:47 -07:00
Dave Snider
8ae6b9d69f change default behavior of ul/ol in rst. fixes #4 2013-10-26 18:47:43 -07:00
Dave Snider
9d7236bacd Merge branch 'master' of github.com:snide/sphinx_rtd_theme 2013-10-26 16:38:54 -07:00
Dave Snider
bfd533d07b copyright and footer, fixes #7 2013-10-26 16:38:18 -07:00
Eric Holscher
d01b8f4201 Use local toc if it exists. 2013-10-26 16:33:40 -07:00
Dave Snider
90d502d0a2 different coloring for nested dls, fixed #5 2013-10-26 16:21:43 -07:00
Eric Holscher
92ea8e8540 Remove js since we include it globally now.
Conflicts:

	sphinx_rtd_theme/static/theme.js
2013-10-25 17:42:38 -07:00
Dave Snider
bb11ecbe68 fix badge in mobile 2013-10-25 15:36:49 -07:00
Dave Snider
98555ae4f9 even smaller badge css 2013-10-24 12:35:15 -07:00
Dave Snider
22044fe7b4 spit out compressed versions of css now 2013-10-24 12:22:53 -07:00
Dave Snider
0dc1596e5b badge only css 2013-10-24 12:18:08 -07:00
Dave Snider
fbea609682 Merge branch 'master' of github.com:snide/sphinx_rtd_theme 2013-10-23 17:24:43 -07:00
Dave Snider
a8d2d86fdd fix for badge 2013-10-23 17:23:06 -07:00
Eric Holscher
486658ca69 Use document.on(click) so that it updates as the DOM changes 2013-10-23 17:11:54 -07:00
Dave Snider
0365a0ad14 align 2013-10-23 17:05:17 -07:00
Dave Snider
66c6117d4f fixed small badge 2013-10-23 16:50:48 -07:00
Dave Snider
120fdc68b8 small badge styl 2013-10-23 16:38:10 -07:00
Dave Snider
0ad4e021f9 update css 2013-10-23 16:06:31 -07:00
Dave Snider
9a77170e00 more minor fixes 2013-10-23 13:18:25 -07:00
Eric Holscher
48ebbe9e86 Add RTD heading to version panel 2013-10-23 13:03:34 -07:00
Dave Snider
9826969a39 more text styling 2013-10-23 11:59:46 -07:00
Dave Snider
9455ae3ce0 print stuff 2013-10-23 11:04:52 -07:00
Dave Snider
cf5a1ee199 print stuffs 2013-10-23 10:32:07 -07:00
Dave Snider
611de0ae04 fix printing 2013-10-23 10:07:19 -07:00
Dave Snider
6f33418bdc minor fixes 2013-10-22 21:23:06 -07:00
Dave Snider
55f59e45c2 update wyrm version, gen new css 2013-10-22 20:48:01 -07:00
Dave Snider
ae60ceba62 better max width, google fonts, other small changes 2013-10-22 17:20:23 -07:00
Eric Holscher
8028d4f9a2 Don't say hosting, its awkward 2013-10-21 18:17:04 -07:00
Eric Holscher
3646b3a5f0 Add download fixes 2013-10-21 18:16:16 -07:00
Dave Snider
cee649a646 update 2013-10-21 16:28:09 -07:00
Dave Snider
5d5625ca02 newest version 2013-10-21 15:52:35 -07:00
Dave Snider
b74a20a058 check for rtd 2013-10-18 21:21:10 -07:00