Eric Holscher
27c0270ebe
Merge pull request #216 from agjohnson/fix-toctree
...
Fix issue with toctree :titlesonly: and nav menu
2015-07-20 11:13:19 -07:00
Anthony Johnson
5e7d604290
Add configurable version display to nav header
...
This adds a subtle version display to the nav header. It will pull this
information from conf.py `version` if it exists, or if on RTD, `current_version`
from the conf additional context. If neither exists, or the `display_version`
option is false, the block will not display.
2015-07-17 16:41:52 -07:00
Anthony Johnson
5392b7bdbd
Fix issue with toctree :titlesonly: and nav menu
...
This fixes #196 by filtering nav ul elements that have empty ul siblings
2015-07-17 00:18:02 -07:00
Eric Holscher
5e40211ac2
Fix default
2015-06-21 21:58:28 -04:00
Eric Holscher
ae6c09b352
Add theme option for collapsing the nav.
...
This defaults to on,
because many use cases don't have large navs and want to see them all.
However,
it can be a large speedup for large docsets
2015-06-21 21:57:01 -04:00
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
Eric Holscher
2929ef2986
Merge remote-tracking branch 'agjohnson/nav-levels'
...
Conflicts:
sphinx_rtd_theme/static/css/theme.css
sphinx_rtd_theme/static/css/theme.css.map
2015-05-04 14:55:34 -07:00
Anthony Johnson
13a6cc6657
Show caption elements in content as an h2 heading
2015-05-04 14:52:26 -07: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
Anthony Johnson
c4c681bc0e
Fix lingering tt -> code sphinx 1.3 changes, refs #175
...
Addresses tt -> code changes in nav and references. Bumps requirements to sphinx
1.3, thought that might not be necessary.
2015-04-22 19:03:21 -07:00
Anthony Johnson
4dfd2fe6ef
Add support for Sphinx 1.3 toctree captions
...
Reuses styling for wy-nav-vertical headers, which seem to be unused, with some
color changes to the header elements. Also fixes caption headerlink styling.
2015-04-22 18:31:00 -07:00
Eric Holscher
b14cbfebf2
Add l3 support to theme CSS.
2015-04-08 16:36:11 -07:00
Michael Blakeley
0730f590e2
#186 add accesskey attribute to next, previous links in page footer
2015-04-03 14:17:18 -07:00
Alex Chan
6360a2ed42
Remove broken "Edit on GitHub/Bitbucket" link from search pages
...
On a page of search results, the "Edit on GitHub/Bitbucket" link tries
to send the reader to a file "search.rst" or "search.txt" in the
repository. Since the search results only exist as a template, this is
a 404'd link.
This change to the template means that the "Edit on GitHub/Bitbucket"
link is not shown on search pages, getting rid of this broken link.
2015-04-03 11:08:57 +01:00
Eric Holscher
bd209165b9
Render artifacts
2015-03-30 10:49:46 -07:00
Eric Holscher
c38702d9e7
Add metatags
2015-03-30 10:49:38 -07:00
Eric Holscher
bb9903815d
Merge pull request #181 from danez/sphinx-1.3-tt-to-code
...
Fix rtd theme for sphinx 1.3
2015-03-30 09:10:53 -07:00
Hong Xu
3d397672a0
Link to the external source of the page on arbitrary URL
...
Currently only source code hosted on GitHub or BitBucket are supported
to be linked. This PR adds the ability to link to an arbitrary source
code host URL. To use it, html_show_sourcelink must be True, and
source_url_prefix must be assigned to be the URL prefix.
2015-03-29 21:40:19 -07:00
Daniel Tschinder
64cfb22edf
Fix rtd theme for sphinx 1.3
2015-03-27 01:25:48 +01:00
kxxoling
7001cc99aa
fix bug #172
2015-03-11 16:04:30 +08:00
Will Stevens
c6f7a1771e
made sticky nav actually stick even on long menus
2015-03-09 14:16:15 -07:00
Eric Holscher
f105785b06
Merge pull request #170 from robyoung/allow-github-enterprise
...
Allow github_host to be overriden
2015-03-09 14:13:27 -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
99685e6abc
Fix whitespace
2015-03-09 13:58:10 -07:00
Nicola Iarocci
af40ce390a
Only show Sphinx theme notice if show_sphinx is enabled
2015-03-09 13:57:57 -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
259b033903
Merge remote-tracking branch 'liuyang1204/master'
...
Conflicts:
sphinx_rtd_theme/static/css/theme.css
2015-03-09 13:55:24 -07:00
Eric Holscher
0dfdeff331
Bump version properly
2015-03-09 13:12:27 -07:00
Eric Holscher
a500ee7ada
Add map files
2015-03-09 13:10:56 -07:00
Eric Holscher
ccc962d0e3
Bump version
2015-03-09 13:10:41 -07:00
Eric Holscher
7888630601
Do a new minified release
2015-03-09 13:10:12 -07:00
Eric Holscher
8c83a8822c
Add ability to define extra_css_files in the html_context
2015-03-09 12:51:33 -07:00
Rob Young
cfa42762b7
Allow github_host to be overriden
...
This is useful if you're running github enterprise on your own domain.
2015-02-25 17:04:09 +00: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
Eric Holscher
0a30075521
Merge pull request #152 from ruguevara/master
...
Added cyrillic characters subset into web fonts
2014-12-02 14:46:11 -08:00
Eric Holscher
15519f23fc
Merge pull request #155 from bendiken/singlehtml
...
Hide the superfluous and broken search box in single-page HTML builds
2014-12-02 14:45:58 -08:00
Dennis Schwertel
bbd184cdeb
updated css file
2014-11-12 17:54:09 +01:00
Liu Yang
8fa5b1dece
Improve download link style
2014-11-03 15:37:12 +08:00
Arto Bendiken
cbd6dbc68f
Hid the superfluous and broken search box in single-page HTML builds.
2014-10-17 04:17:01 +02:00
Eric Holscher
44e4167694
Include a mention of Sphinx in the footer
2014-10-13 15:24:13 -07: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
Dave Snider
21e875d3a5
forgot to minify
2014-08-21 19:46:30 -07:00