Commit Graph

12 Commits

Author SHA1 Message Date
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
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
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 Hough
bcf2276d5b Adding sticky navigation option 2014-01-05 17:39:14 -05:00
Daniel Oaks
8bd1938c8b html logo_only is now an option 2013-12-08 23:18:43 +10: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
20d9ed0e66 keep sphinx_rtd_theme package here for pypi 2013-11-04 08:47:26 +08:00
Dave Snider
97152e74c5 first pass breakpoint 2013-11-03 13:37:56 -08:00
Dave Snider
5d5625ca02 newest version 2013-10-21 15:52:35 -07:00
Dave Snider
3d2de738e0 update theme layout 2013-10-17 12:59:38 -07:00
Dave Snider
8f6a685db1 basics 2013-10-17 11:44:56 -07:00