Commit Graph

143 Commits

Author SHA1 Message Date
Natalie Weizenbaum
8f093ba74b Document the @use rule
Closes #361
2019-09-02 13:45:40 -07:00
Natalie Weizenbaum
7bca65c349
Update the copyright line (#348) 2019-05-31 12:05:02 +01:00
Natalie Weizenbaum
79097d0fe1 Bundle all JS into a single file
Because we weren't doing this yet, we weren't actually loading the
redirect.js JS code at all.

This also gets rid of some unused JS.
2019-05-08 13:01:20 -07:00
Natalie Weizenbaum
03bc54bca2 Make search result URLs always point to the current site 2019-04-17 17:49:03 -07:00
Natalie Weizenbaum
e7ffef4fc9 Avoid an unstyled rendering moment with the tables of contents
Tables of contents are now statically rendered in their appropriately
open/closed states, rather than updated via JavaScript, so they render
correctly on the first page load. In order to make the "page sections"
table still usable without JS, this adds a stylesheet in a <noscript>
tag that forces the sections into an open state.
2019-04-12 00:09:10 -07:00
Natalie Weizenbaum
de561b2370
Make the reference tables of contents collapsible (#320) 2019-04-11 15:30:10 -07:00
Natalie Weizenbaum
4b6b15b1ab
Add special styling for intro pages (#316)
This just bumps up the font size a bit, to help emphasize that these
pages are special and make them look less bare.

Closes #276
2019-04-04 23:55:07 -07: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
Jina Anne
096c6512f3 condense home 2019-03-04 16:50:23 -08: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
Natalie Weizenbaum
e6771747ad Enable html-proofer for the new docs, and fix errors 2019-01-09 14:36:31 -08:00
Jina Anne
c21200ba14 header linking 2018-12-28 17:59:53 -08:00
Jina Anne
fb5eb4f52c Clean up style guide 2018-12-28 17:26:36 -08:00
Jina Anne
c0478b1f89 remove broken sticky plugin 2018-12-28 16:50:04 -08:00
Jina Anne
1a9e640fb3 Merge branch 'wip.reference' of github.com:sass/sass-site into wip.reference 2018-12-28 16:29:26 -08:00
Jina Anne
39263a13e3 update layout 2018-12-28 16:29:22 -08:00
Natalie Weizenbaum
e993e6bf42 Merge branch 'wip.reference' of github.com:sass/sass-site into wip.reference 2018-12-28 16:28:01 -08:00
Natalie Weizenbaum
7f886f13ee Link to GitHub for Ruby Sass release notes 2018-12-28 15:45:13 -08:00
Natalie Weizenbaum
170352c8d0 Update Hampton's website link
It looks like the old link is broken.
2018-12-28 15:41:14 -08:00
Jina Anne
644337a512 fix reference layout 2018-12-28 15:22:59 -08:00
Jina Anne
5c23b769eb add headings to navs 2018-12-28 15:04:28 -08:00
Natalie Weizenbaum
97c5ac21af Put the table of contents where it's supposed to go (#267) 2018-12-28 14:49:59 -08:00
Jina Anne
8b2d48f774 merge in master 2018-12-27 19:47:31 -08:00
Jina Anne
a139d47482 fix other layouts 2018-12-27 19:12:55 -08:00
Jina Anne
3789242778 fix layout? 2018-12-27 19:07:00 -08:00
Natalie Weizenbaum
b67fc7928b Add htmlproofer to verify links (#252)
* Add htmlproofer to verify links

Partially addresses #247

* Make htmlproofer a Rake task

* Verify that we don't have leftover Markdown links

* Don't build the full Ruby Sass docs before running htmlproofer

* Don't check generated documentation

* Fix a few more broken links

* Add another URL exception

* Limit which branches we run tests for

* Add more URL exceptions
2018-12-27 17:32:58 -08:00
Jina Anne
e9d0793c1f make nav conditional 2018-12-27 17:19:19 -08:00
Jina Anne
5787e37007 clarify syntax 2018-12-27 17:04:10 -08:00
Jina Anne
4a5ee52092 fixes #262 2018-12-27 17:02:45 -08:00
Jina Anne
67020d2037 merge conflicts 2018-12-27 16:50:00 -08:00
Jina Anne
92d9baf850 fix nav 2018-12-27 16:43:43 -08:00
Jina Anne
66f3526bd5 major clean up 2018-12-27 16:31:28 -08:00
Natalie Weizenbaum
c4c81ab60a Fix build errors 2018-11-29 17:04:51 -08:00
Natalie Weizenbaum
29c32eec1a Merge remote-tracking branch 'origin/wip.reference' into wip.reference 2018-10-31 16:05:52 -07:00
Natalie Weizenbaum
997c3a7ecd Document the JavaScript API 2018-10-31 16:02:04 -07:00
Jina Anne
6620433c50 redo holy grail layout 2018-10-26 23:37:10 -07:00
Jina Anne
c81d53b5ec refactor breapoints 2018-10-26 23:06:47 -07:00
Natalie Weizenbaum
2b8bf01b7a Properly nest the reference table of contents 2018-10-26 16:04:26 -07:00
Natalie Weizenbaum
6ad48ae89a Add CLI docs for Dart Sass 2018-10-25 16:46:08 -07:00
Natalie Weizenbaum
bfa0d22479 Merge remote-tracking branch 'origin/wip.reference' into wip.reference 2018-10-23 17:30:02 -07:00
Jina Anne
3f1c2d338d lots of clean up 2018-10-23 15:06:39 -07:00
Natalie Weizenbaum
c7624469b3 Rename function pages to match proposed module names 2018-10-23 13:47:34 -07:00
Natalie Weizenbaum
dbd9a94175 Merge remote-tracking branch 'origin/wip.reference' into wip.reference 2018-10-22 14:25:09 -07:00
Natalie Weizenbaum
fc34fe4b75 Some colors function docs 2018-10-22 14:24:05 -07:00
Jina Anne
f47e8bd912 fix layouts to be DRY 2018-10-22 14:13:05 -07:00
Natalie Weizenbaum
efc113ec86 [WIP] Reference 2018-09-27 16:05:00 -07:00
Natalie Weizenbaum
46482b1102 [WIP] Port reference docs to the site 2018-08-16 18:04:22 -07:00
Natalie Weizenbaum
eedab31bd6 Update my website links (#220) 2018-08-14 13:46:12 -07:00
Natalie Weizenbaum
e367b287a7 Add release info for all major implementations in the middle bar
This doesn't actually get the release data from anywhere yet, nor do
Ruby Sass nor Dart Sass have their own pages yet.
2018-03-17 12:38:51 -07:00
Raaj Trambadia
c1ddf2f684 updated year in footer to 2018. (#199) 2018-01-07 19:02:17 +00:00