Commit Graph

64 Commits

Author SHA1 Message Date
Eric Holscher
9779e08157 Merge pull request #195 from bport/patch-2
Fix modernizr url
2015-06-01 16:09:19 -07:00
Hong Xu
af89f48341 Add microdata: tag the main content of a page as an article 2015-05-29 23:06:15 -07:00
Benjamin Port
dc0a2a1e11 Fix modernizr url
If we are in a subdirectory it's not working anymore because the path of modernizr is all time _static/...
2015-05-05 14:52:06 +02:00
Anthony Johnson
b66be12f8c Add 3 + 4th levels to nav and more intuitive scrolling
Adds l3 + l4 nav menus, with more intuitive scrolling to make wandering the
additional nav menu items much easier. Resolves #25. Resolves #76.

* Reuses some styles for l3 + l4 navs items
* Nav interaction was changed to be more intuitive:
  * Nav is always sticky, doesn't scroll past end of content
  * Nav scrolls up immediately on window scroll events
  * Nav scrolls independently
  * Adds TOC expand plus links to the left of nav elements with children, these
    are added and update dynamically
  * Links in nav don't automatically scroll nav
  * Scrolling content will start scrolling nav again
  * Adds URL fragment handling to link and show current anchor links
2015-05-04 14:27:12 -07:00
Eric Holscher
c38702d9e7 Add metatags 2015-03-30 10:49:38 -07:00
Eric Holscher
db61495748 Fix layout 2015-03-09 14:11:48 -07:00
Eric Holscher
9fc5db2c6a Merge remote-tracking branch 'DanielOaks/html_logo'
Conflicts:
	demo_docs/source/conf.py
	sphinx_rtd_theme/layout.html
	sphinx_rtd_theme/static/css/theme.css
	sphinx_rtd_theme/theme.conf
2015-03-09 14:11:30 -07:00
Eric Holscher
65d27e93b6 Merge pull request #143 from savoirfairelinux/master
Add local google font
2015-03-09 13:56:27 -07:00
Eric Holscher
8c83a8822c Add ability to define extra_css_files in the html_context 2015-03-09 12:51:33 -07:00
Thibault Cohen
66c4eb2d4a Merge remote-tracking branch 'origin/master'
Conflicts:
	sass/theme.sass
	sphinx_rtd_theme/layout.html
2015-02-07 13:07:46 -05:00
Eric Holscher
9804547c02 Merge pull request #148 from gl3n/patch-2
Add "menu" block
2014-12-02 14:46:44 -08:00
Ruslan Grokhovetskiy
2b6b9fca3c Added cyrillic characters subset into web fonts 2014-10-01 16:01:44 +06:00
gl3n
196a4b1c79 Add "menu" block 2014-09-10 16:03:31 +02:00
Thibault Cohen
d856358bc9 Fix modernizr path 2014-08-27 12:05:43 -04:00
Thibault Cohen
e374f68b47 "Localize" modernizr 2014-08-27 11:42:14 -04:00
Thibault Cohen
218e06f4ca Add local google font 2014-08-25 16:13:38 -04:00
Eric Holscher
e77fdfb7f1 Add div.document to the theme.
This refs: https://github.com/rtfd/readthedocs.org/issues/794
All of the standard Sphinx themes include this,
and RTD uses it internally.
2014-08-06 17:04:11 -07:00
gl3n
bcf5e22910 Custom sidebar title
I added a **sidebartitle** block to customize easily the sidebar title (with the project image for example).
2014-06-23 12:35:55 +02:00
Dave Snider
ba4cb0263b add italic fonts from google, fixes
https://github.com/rtfd/readthedocs.org/issues/824
2014-05-21 22:43:54 -07:00
Eric Hough
e16b8a830a Renaming block inlinejs to footer 2014-02-28 15:00:09 -05:00
Eric Hough
90a5b26b07 Merging upstream 2014-02-04 16:50:21 -05:00
Dave Snider
e83688818d get the theme working with fa. #94 2014-01-31 08:58:37 -08: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
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
Eric Hough
ea5b780f08 Merge remote-tracking branch 'snide/master' into move-javascript-to-bottom 2014-01-08 22:10:57 -05: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 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 Hough
cb44a290a9 Restoring "extrahead" block in layout.html 2014-01-06 02:08:20 -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
5ef159c69c fixes #77 2014-01-03 10:18:51 -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
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
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
Eric Holscher
b40420daae Use local toc for single page docs 2013-11-07 13:57:30 -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
ed73ac347a Rewrite a decent portion of the rst bits. Also provide some
documentation.
2013-11-04 22:44:33 -08:00