Commit Graph

39 Commits

Author SHA1 Message Date
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
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
e1fd710530 Add failling test cases for sphinx 1.3 autodoc output 2015-04-22 18:57:41 -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
8f6e95007d Add a caption to demo docs 2015-04-22 13:29:11 -07:00
Will Stevens
2f3c5dfd14 added an example to the demo docs and configured it to use sticky nav for the demo to work 2015-03-09 14:16:28 -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
Liu Yang
8fa5b1dece Improve download link style 2014-11-03 15:37:12 +08:00
Dave Snider
c73cd09261 partial fix for #108 2014-05-28 09:30:51 -07:00
Tomaz Muraus
e030c2e9e7 Fix spacing after the figure and figure center alignment. 2014-01-10 16:32:23 +01:00
Dave Snider
17f17ee6aa minor comment cleanup. 2014-01-08 16:23:06 -08:00
Eric Hough
db06dad648 Commenting out sticky_navigation option by default 2014-01-08 12:26:16 -05: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
Dave Snider
1e2ec72b10 partial fix for #64 2013-12-03 19:47:56 -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
720329cbe1 Add example of emphasized lines with line numbers. 2013-11-11 18:33:47 -06:00
Tony Narlock
8af3431313 Demo docs for list. Show padding/spacing issues with links / inline literals. Case of list inside admonition. 2013-11-07 22:00:34 +08:00
Tony Narlock
e38f44c85d Add demo.txt from docutils project to demo. Add it as a page to toc. 2013-11-07 09:32:40 +08:00
Dave Snider
caba30b87f source links, demo docs 2013-11-06 12:44:22 -08:00
Stein Magnus Jodal
a1cb64e78e demo: Add source code links to API docs 2013-11-06 14:40:07 +01:00
Dave Snider
aa05551bf7 Add some air to parameters in API docs. fixes #35 2013-11-05 12:42:09 -08:00
chebee7i
bee3ee99ba Add more examples for docs demo, including a long parameter description. 2013-11-05 13:10:39 -06:00
Tony Narlock
fd21aca2ce Examples for issue #34 and #35 for dave tomorrow 2013-11-05 23:32:48 +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
chebee7i
4bdd08a187 Customize MathJax colors. 2013-11-05 01:04:16 -06:00
Dave Snider
e49c76e568 Merge branch 'tony-linkcolors-autodoc'
Conflicts:
	sphinx_rtd_theme/static/css/theme.css
2013-11-04 22:53:05 -08:00
chebee7i
37699eefb2 Add math equations to demo docs. 2013-11-04 22:02:16 -06: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
a6b2b5ee4f more specific watch so grunt doesn't error. next/prev links in footer
fixes #23
2013-11-04 15:18:33 -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
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
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
f917180904 Update test for class to have argument params 2013-11-04 12:32:22 +08:00
Tony Narlock
e0bda82a13 Add two methods to test module 2013-11-04 11:44:47 +08:00
Tony Narlock
fcd0ffadde demo_docs tests 2013-11-04 11:39:37 +08:00
Dave Snider
ab76c92c18 open the browser 2013-11-03 13:59:15 -08:00
Dave Snider
97152e74c5 first pass breakpoint 2013-11-03 13:37:56 -08:00