Commit Graph

878 Commits

Author SHA1 Message Date
Natalie Weizenbaum
416f463590 Properly display newlines in function signatures 2019-03-19 13:56:21 -07:00
Natalie Weizenbaum
e22698388e
Merge branch 'wip.reference' into function-return 2019-03-19 13:40:00 -07:00
Natalie Weizenbaum
78429ae1b4
Add permalink icons to function API docs (#309)
Closes #308
2019-03-18 17:49:03 -07:00
Natalie Weizenbaum
4e6eb090a4
Merge pull request #306 from sass/impl-status
Tweak impl status styling
2019-03-18 17:48:47 -07:00
Natalie Weizenbaum
e3eb8cc442 Clarify that multiple / operations aren't treated as divison
Closes #303
2019-03-11 17:38:45 -07:00
Natalie Weizenbaum
b8fd618da7 Document forbidden assignment to non-existent global variables
Closes #285
2019-03-11 17:37:27 -07:00
Natalie Weizenbaum
36a1610c62 Always select SCSS by default 2019-03-11 02:02:38 -07:00
Natalie Weizenbaum
1d718a3fb3
Merge branch 'wip.reference' into function-return 2019-03-10 23:23:00 -07:00
Natalie Weizenbaum
d0c1079b78
Merge branch 'wip.reference' into impl-status 2019-03-10 23:22:02 -07:00
Natalie Weizenbaum
3b1a93afe9 Add a light border to callouts (#300)
This helps them stand out a tiny bit more, especially in functions
where their backgrounds are very similar to the function background.
2019-03-10 09:11:48 -05:00
Natalie Weizenbaum
f24f5927cd Fix the whitespace above code examples once and for all (#304)
Closes #302
2019-03-10 09:10:50 -05:00
Natalie Weizenbaum
8a655f20da
Merge pull request #307 from sass/travis
Fix broken links and enable Travis for wip.reference
2019-03-09 00:00:12 -08:00
Natalie Weizenbaum
e6b9153af0 Don't check any external URLs on Travis 2019-03-08 18:10:27 -08:00
Natalie Weizenbaum
f9bb65a701 Use Ruby 2.5.3 on Travis 2019-03-08 18:03:06 -08:00
Natalie Weizenbaum
e1ca4ff5de Always run Travis on the wip.reference branch 2019-03-08 17:57:50 -08:00
Natalie Weizenbaum
0ce28695ce Fix broken links 2019-03-08 17:57:33 -08:00
Natalie Weizenbaum
47c4de8279 Always get rid of newlines when concatenating chunks of HTML
This avoids weirdness with HTML within Markdown.
2019-03-08 17:52:45 -08:00
Natalie Weizenbaum
4c58ef0739 Add a partial support state for impl statuses 2019-03-08 17:11:11 -08:00
Natalie Weizenbaum
482542ac08 Add a header for impl status bars
This gives us a place to disambiguate between implementation statuses
that refer to the entire feature under discussion, and those that just
refer to sub-features.
2019-03-08 16:48:27 -08:00
Natalie Weizenbaum
7fd5bd1c7a Tweak impl status styling
* Make the font smaller to make them less prominent and help visually
  associate the callout with the list.
* Decrease the top margin to more clearly associate them with their
  preceding header.
* Lighten the callout background when in another callout to make it
  more visible.
* Animate the expand button.
2019-03-08 16:45:43 -08:00
Natalie Weizenbaum
681d63c698 Follow the style guide for implementation notes 2019-03-08 15:26:48 -08:00
Natalie Weizenbaum
488d656af3 Add a docsearch class to the has_no_sidebars layout
This ensures the Ruby Sass, Dart Sass, and Install pages get indexed.
2019-03-07 11:51:42 -08:00
Natalie Weizenbaum
93b739b04f Show SCSS syntax by default 2019-03-04 19:32:49 -08:00
Jina Anne
f6f238b3ea callout update 2019-03-04 19:11:26 -08:00
Jina Anne
902ca93412 Merge branch 'wip.reference' of github.com:sass/sass-site into wip.reference 2019-03-04 18:36:39 -08:00
Jina Anne
e541d4a6ef impl 2019-03-04 18:36:34 -08:00
Natalie Weizenbaum
ce1dfc1585 Fix some mixed-up links 2019-03-04 18:30:15 -08:00
Jina Anne
50eef3ca48 Merge branch 'wip.reference' of github.com:sass/sass-site into wip.reference 2019-03-04 18:29:30 -08:00
Jina Anne
ac992b3233 implementation 2019-03-04 18:29:20 -08:00
Natalie Weizenbaum
40e116a9ed Include return types in function signatures
Closes #298
2019-03-04 18:28:38 -08:00
Natalie Weizenbaum
8274243798 Fix a typo 2019-03-04 18:08:04 -08:00
Jina Anne
aa8ba21b75 fix code 2019-03-04 18:07:39 -08:00
Jina Anne
ff521bdbd0 fix code 2019-03-04 18:06:06 -08:00
Jina Anne
0408f08bd7 improve search box alignment 2019-03-04 18:03:07 -08:00
Jina Anne
2aea914aef Merge branch 'wip.reference' of github.com:sass/sass-site into wip.reference 2019-03-04 17:54:40 -08:00
Jina Anne
24fd1d9dd3 type tweak 2019-03-04 17:51:45 -08:00
Natalie Weizenbaum
0e8da5c350 Don't use :code for code blocks (#296)
For some reason, :code seems to add an empty line at the end of its
code block. This uses Markdown code blocks instead, although in order
to work around a RedCarpet bug it has to indent them strangely.
2019-03-04 19:46:32 -06:00
Jina Anne
1172c29570 impl-status styling 2019-03-04 17:27:20 -08:00
Jina Anne
03372dc401 style functions 2019-03-04 17:19:06 -08:00
Jina Anne
6a67728ab5 fix nav item spacing 2019-03-04 16:59:06 -08:00
Jina Anne
97042a5a28 make nav code not wrap 2019-03-04 16:55:24 -08:00
Jina Anne
096c6512f3 condense home 2019-03-04 16:50:23 -08:00
Jina Anne
94c9c002ec make call outs less… called out 2019-03-04 16:24:31 -08:00
Jina Anne
8aa45d75a3 make syntax switcher heading unique 2019-03-04 14:41:21 -08:00
Jina Anne
fcff312333 un-contain the dart sass page 2019-03-04 14:03:41 -08:00
Jina Anne
94aa8c62e0 fix ruby sass page 2019-03-04 13:57:56 -08:00
Natalie Weizenbaum
7cc3b1b375 Automatically add nice header linking behavior (#280)
* Make link headers look and work more like GitHub's

* Automatically generate links for all headers

* Flash headers when they're selected

* update readme
2019-03-04 15:16:52 -06:00
Ihor Sychevskyi
702fb86f23 upd current date (#278) 2019-03-04 15:09:01 -06:00
Natalie Weizenbaum
77311c93f9 Disable word wrapping for p code (#281) 2019-03-04 15:07:29 -06:00
Natalie Weizenbaum
8805a7ce33 Enable Algolia search (#289)
* Enable Algolia search

This adds:

* Algolia bootstrap JS.
* A search bar (without styling)
* A "docSearch-content" class to the main reference doc container, so
  the sidebars don't get indexed.
* A "docSearch-function" class to function names, so that they'll be
  indexed.

* Fix a few lints
2019-03-04 15:05:59 -06:00