Commit Graph

177 Commits

Author SHA1 Message Date
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
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
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