Commit Graph

680 Commits

Author SHA1 Message Date
Jesse Tan
06e0a43333 Do not warn about using external images (#533) 2017-12-28 12:06:47 -05:00
Aaron Carlisle
19b22ebada
Run grunt (#522)
* Run Grunt

Also fix some errors from recent docs rename

* Upgade grunt contrib sass to 1.0.0

Fixes the following warning:

```
DEPRECATION WARNING: Passing --sourcemap without a value is deprecated.
Sourcemaps are now generated by default, so this flag has no effect.
```

* Revert change to gitignore

* Watch readme file
2017-12-27 21:33:02 -05:00
Aaron Carlisle
9f84648007
Docs: Add windows make file (#528) 2017-12-24 12:40:44 -05:00
Jesse Tan
7b7ccadecc Remove font task (#526) 2017-12-22 16:13:40 -05:00
Eric Holscher
b2c8c0cffc
Merge pull request #518 from rtfd/grunt-tasks
Make Gruntfile more foolproof
2017-12-22 08:53:18 -08:00
Aaron Carlisle
fce6005b42
Merge branch 'master' into grunt-tasks 2017-12-21 09:28:00 -05:00
Eric Holscher
38ba3fc3ed Remove image from readme, and link demo to site (#521) 2017-12-21 09:27:44 -05:00
Eric Holscher
1695f89cf8
Merge pull request #520 from rtfd/docs2.0
Docs 2.0
2017-12-20 20:41:47 -08:00
Eric Holscher
6392329d34 With deps 2017-12-20 20:39:13 -08:00
Eric Holscher
161cb8b67f More sphinx 2017-12-20 20:39:01 -08:00
Eric Holscher
612788d8e1 No double build 2017-12-20 20:37:27 -08:00
Eric Holscher
72003513aa Add docs to travis 2017-12-20 20:36:52 -08:00
Eric Holscher
8e4167e364 Add badge 2017-12-20 20:31:48 -08:00
Eric Holscher
38162920b4 More cleanup 2017-12-20 20:29:52 -08:00
Eric Holscher
6e6a8729ca Lots of cleanup 2017-12-20 20:16:03 -08:00
Eric Holscher
c287759d7f Merge remote-tracking branch 'origin/master' into docs2.0 2017-12-20 20:09:52 -08:00
Eric Holscher
56bffcb8fb Rejigger 2017-12-20 20:09:36 -08:00
Aaron Carlisle
6278079307
Merge pull request #512 from rtfd/fix-511
Prevent footnote and citation references changing line spacing
2017-12-20 19:04:16 -05:00
Aaron Carlisle
8088eb718b
Merge branch 'master' into fix-511 2017-12-20 18:58:27 -05:00
Jesse Tan
5db94ebf5f Always call nav.enable() to make nav collapsable (#519)
Always call nav.enable() to make nav collapsing work
2017-12-20 18:50:10 -05:00
Aaron Carlisle
117be8e186 New documentation structure
This splits the docs from the demo so that we can now actually document
the theme and its parts.
2017-12-20 18:19:03 -05:00
Jesse Tan
b663e20bd0 Clean all output before default task 2017-12-20 10:42:36 +01:00
Jesse Tan
748a05c697 Copy fonts to output on default and build task
Prevents missing fonts after clean
2017-12-20 10:41:54 +01:00
Jesse Tan
5d9e3a5ef9 Do not remove Modernizr during cleaning 2017-12-20 10:41:01 +01:00
Jesse Tan
6878cfd465 Clean everything before building 2017-12-20 10:31:43 +01:00
Jesse Tan
1de225c111 Add additional clean tasks 2017-12-20 10:31:31 +01:00
Jesse Tan
5de02b5a1a Set language of demo documentation (#515) 2017-12-19 07:38:54 -05:00
Aaron Carlisle
c1fca38f55
Add navigation_depth to readme docs (#508)
Fixes #231
2017-12-18 09:35:13 -05:00
Jesse Tan
8355c2162f Do not interefere with line-height 2017-12-18 14:24:14 +01:00
Jesse Tan
bb978c0574 Prevent footnote and citation references changing line spacing 2017-12-18 14:15:29 +01:00
Aaron Carlisle
90dce37ce1
Run grunt fonts (#506)
Fixes #442
2017-12-17 16:44:15 -05:00
Aaron Carlisle
cebf127615
Remove !important for image size (#505)
Fixes #318
2017-12-17 16:37:07 -05:00
Aaron Carlisle
ceef969fb1
Update _theme_rst.sass (#509)
Fix #482
2017-12-17 16:30:34 -05:00
Paul
bf9faa98f0 Add titles_only option to the toc (#456)
* Add titles_only option

* Add titles_only to readme

* Add titles_only to readme

* Convert Strings to bool

Fixes #312
2017-12-16 00:15:39 -05:00
Dmitry Shachnev
e9db692de0 Style headerlinks for table captions properly (#454)
* Style headerlinks for table captions properly

Fixes #437

* Make .headerlink code work with center-aligned elements

* Lowered font size for table headerlink as requested in the review
2017-12-16 00:09:05 -05:00
Jesse Tan
a4b8eb468d Footnote citation spacing (#488)
* Do not wrap footnotes or citations to make them responsive

* Remove margin below footnotes and citations, add margin-top to next element

* Remove margin-bottom from responsive citation and footnote wrapper

* Mark responsive wrapper if used for citation or footnote

* Document workaround for footnote and citation spacing

* Add vertical space if citation/footnote is last element in parent

This keeps correct vertical whitespace if the citation or footnote is the last element in a section.
The style rule directly above this line did not match since there is direct sibling.

* Clarify

Fixes #488
2017-12-15 23:48:25 -05:00
Eric Holscher
59a37b3af9
Merge pull request #499 from rtfd/fix-stickynav-default
Default stickynav to on properly.
2017-12-15 10:56:10 -08:00
Eric Holscher
8be825a8ae
Merge branch 'master' into fix-stickynav-default 2017-12-15 10:44:47 -08:00
Jesse Tan
a765112b48 Do not create source map for production builds (#502) 2017-12-13 10:01:51 -05:00
Eric Holscher
9aec9a9340 Add proper options docs 2017-12-12 12:33:51 -08:00
Eric Holscher
07b25220a3 Default stickynav to on properly.
This is documented as being on,
but previously we weren't running `tobool` on it to check it properly.
This had the effect of always returning True unless the user set it to False in Python.

You can see the commit that changed it here: https://github.com/rtfd/sphinx_rtd_theme/pull/496/files#diff-1336f80431f476a232e3c48abb277c51R210

This properly defaults it to True,
so that navigation works :)
2017-12-12 12:25:36 -08:00
Eric Holscher
d756528ba1
Merge pull request #496 from rtfd/fix-external-display
Fix theme logic and rebuild prod assets
2017-12-12 12:02:24 -08:00
Eric Holscher
c19a5e4f54 Convert strings to bool 2017-12-11 07:48:50 -08:00
Eric Holscher
a0b2ccc3f7 Fix theme logic and rebuild prod assets 2017-12-08 08:25:22 -08:00
Eric Holscher
3c1a1bbc84
Merge pull request #492 from jessetan/raf-scroll
Debounce scroll and resize through rAF
2017-12-08 07:24:10 -08:00
Eric Holscher
64ddc8f9d7
Merge branch 'master' into raf-scroll 2017-12-08 07:02:08 -08:00
Eric Holscher
e25871da86
Merge pull request #493 from rtfd/beta-2
Bump to 0.2.5b2, for QA testing before release
2017-12-08 07:01:35 -08:00
Eric Holscher
5e89f4a9c0
Merge branch 'master' into beta-2 2017-12-08 06:49:32 -08:00
Eric Holscher
b40d5e8c50
Merge pull request #494 from jessetan/style-external-links-option
Add option to style external links
2017-12-08 06:47:45 -08:00
Eric Holscher
42097c0193
Merge branch 'master' into beta-2 2017-12-07 12:43:21 -08:00