Commit Graph

765 Commits

Author SHA1 Message Date
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
Aaron Carlisle
543beb01b8
Merge branch 'master' into fix-459 2017-12-19 10:52:16 -05:00
Jesse Tan
5de02b5a1a Set language of demo documentation (#515) 2017-12-19 07:38:54 -05:00
Jesse Tan
9b30e1b793 Correctly change current link in toctree if toplevel headers are on same page
Fixes #516
2017-12-19 12:47:42 +01:00
Jesse Tan
079faa00d3 Do not add border to active links with level >1 2017-12-18 16:06:21 +01:00
Aaron Carlisle
c1fca38f55
Add navigation_depth to readme docs (#508)
Fixes #231
2017-12-18 09:35:13 -05:00
Aaron Carlisle
9029f27b96
Merge branch 'master' into caption-margin 2017-12-18 09:02:17 -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
Aaron Carlisle
a48eb90130
Merge branch 'master' into caption-margin 2017-12-16 16:32:41 -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
Aaron Carlisle
01dfcff1b6
Merge branch 'master' into caption-margin 2017-12-16 00:12:09 -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
Jesse Tan
5c03c8da83 Add rAF polyfill 2017-12-06 12:55:20 +01:00
Jesse Tan
237289320d Remove need for bind() 2017-12-06 10:10:39 +01:00
Jesse Tan
f76772c4e6 Add option to toggle style external links 2017-12-05 10:59:15 +01:00
Jesse Tan
6a3371b9a8 Use margin instead of space to keep icon next to link 2017-12-05 10:35:23 +01:00
Jesse Tan
e44b885506 Enable styling of external links 2017-12-05 10:34:35 +01:00
Jesse Tan
35143f50e8 Document option 2017-12-05 10:33:58 +01:00
Eric Holscher
1266936100
Merge branch 'master' into raf-scroll 2017-12-03 09:30:50 -08:00
Eric Holscher
6c2302472f
Merge pull request #448 from rtfd/fix-pygments
Fix #166: Add missing pygments css link
2017-12-03 09:30:37 -08:00
Aaron Carlisle
7df96c0d15
Merge branch 'master' into fix-pygments 2017-12-03 12:07:37 -05:00
Eric Holscher
f6b8005077 Bump to 0.2.5b2, for QA testing before release 2017-12-02 14:55:29 -08:00
Aaron Carlisle
0c9f968e8e
Merge branch 'master' into raf-scroll 2017-12-02 10:05:19 -05:00
Eric Holscher
d746572bb2
Merge pull request #487 from jessetan/breadcrumbs-clearfix
Apply clearfix on breadcrumbs
2017-12-01 07:41:10 -08:00
Jesse Tan
f79285927c Debounce scroll and resize through rAF 2017-12-01 16:13:33 +01:00
Anthony
26fbabe346
Merge branch 'master' into breadcrumbs-clearfix 2017-12-01 00:16:10 -07:00
Aaron Carlisle
12ab978aa8
Add pygments_style to theme.conf 2017-11-30 13:46:01 -05:00
Aaron Carlisle
bb9ef27225
Merge branch 'master' into fix-pygments 2017-11-30 13:15:08 -05:00
Eric Holscher
2eb941519c
Merge pull request #489 from rtfd/includehidden_option
Fix #485 Add Includehidden theme option
2017-11-28 11:00:50 -08:00
Aaron Carlisle
052b3952bd
Document new theme option 2017-11-28 13:27:44 -05:00