Commit Graph

467 Commits

Author SHA1 Message Date
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
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
Natalie Weizenbaum
e6771747ad Enable html-proofer for the new docs, and fix errors 2019-01-09 14:36:31 -08:00
Natalie Weizenbaum
62fa63b67a Fix some typos 2019-01-04 15:04:18 -05:00
Jina Anne
7ee1b68df5 link header 2018-12-28 18:03:50 -08:00
Jina Anne
4785328dff hover link 2018-12-28 18:01:32 -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
9a4d66643e add list documentation 2018-12-28 17:03:29 -08:00
Jina Anne
c0478b1f89 remove broken sticky plugin 2018-12-28 16:50:04 -08:00
Jina Anne
6db6cad349 nav progress 2018-12-28 16:42:05 -08:00
Jina Anne
698ff52e1d remove nav border 2018-12-28 16:32:00 -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
c5a569055e Disable directory_indexes
Instead of compiling everything to directories containing index files,
we now compile to plain HTML files and rely on Rack::TryStatic to load
them.
2018-12-28 16:26:21 -08:00
Jina Anne
c7f02d1a44 more visible links 2018-12-28 16:13:58 -08:00
Jina Anne
1a3866c053 new community page 2018-12-28 15:56:52 -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
c95e419902 fix email 2018-12-28 15:27:34 -08:00
Jina Anne
644337a512 fix reference layout 2018-12-28 15:22:59 -08:00
Natalie Weizenbaum
06e0f29f93 Fix a merge error 2018-12-28 15:18:05 -08:00
Jina Anne
6207f9e069 update normalize 2018-12-28 15:10:31 -08:00
Jina Anne
5c23b769eb add headings to navs 2018-12-28 15:04:28 -08:00
Natalie Weizenbaum
25a40e45f9 Pad the syntax switcher with newlines rather than CSS padding (#266)
* Pad the syntax switcher with newlines rather than CSS padding

* Style nit
2018-12-28 14:57:14 -08:00
Jina Anne
936bc03a6c fix syntax errors 2018-12-28 14:55:48 -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
17077282d3 Merge branch 'wip.reference' of github.com:sass/sass-site into wip.reference 2018-12-27 19:07:06 -08:00
Jina Anne
3789242778 fix layout? 2018-12-27 19:07:00 -08:00
Natalie Weizenbaum
c344861698 Fix a typo 2018-12-27 18:12:55 -08:00
Jina Anne
69272daa3b
fix arrow icon with unicode character (#235)
* fix arrow icon with unicode character

* use bigger, bolder arrow
2018-12-27 17:33:42 -08:00
Natalie Weizenbaum
da252a276d Clarify exactly how long Ruby Sass will be maintained (#240) 2018-12-27 17:33:19 -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
Kaelig Deloumeau-Prigent
2f60b6ae2a Delete extraneous backwards slashes in Import section (#261) 2018-12-27 17:28:39 -08:00
Natalie Weizenbaum
d39671f9cd Document the new escaped tab behavior (#264)
See https://github.com/sass/sass/issues/2590
2018-12-27 17:25:06 -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
c56cbdc2e5 Fix a typo 2018-12-20 16:36:26 -08:00
Natalie Weizenbaum
a066703e22 Document rgba($color, $alpha)
Closes #254
2018-12-04 13:35:27 -08:00
Natalie Weizenbaum
6b015247a3 Document passing special functions to rgb() and hsl()
Closes #253
2018-12-03 18:39:07 -08:00
Natalie Weizenbaum
dd374df934 Add a heads-up about slash-separated arguments to rgb() 2018-12-03 18:19:05 -08:00
Natalie Weizenbaum
459af4324e Document the new rgb() and hsl() syntax
Closes #251
2018-12-03 17:25:01 -08:00
Natalie Weizenbaum
1de307796d Add redirects from old documentation locations to new ones 2018-12-03 16:41:00 -08:00
Natalie Weizenbaum
6a05e6af00 Remove an unused HTML page for the railroad diagram 2018-11-29 17:25:06 -08:00
Natalie Weizenbaum
378efd127c Embed the railroad diagram as an object
Including it inline caused some conflicts with the markdown parser.
2018-11-29 17:23:23 -08:00
Natalie Weizenbaum
c4c81ab60a Fix build errors 2018-11-29 17:04:51 -08:00
Natalie Weizenbaum
b78ca9d10c Add zero-width spaces before #-style comments in code blocks
Otherwise, Redcarpet interprets them as headers when generating the
table of contents. See vmg/redcarpet#664.
2018-11-29 16:04:00 -08:00
Natalie Weizenbaum
f34a7b87a6
Add a table of contents to select documentation pages (#260) 2018-11-29 15:43:18 -08:00
Natalie Weizenbaum
180d0c9e09 Document @content arguments
Closes #250
2018-11-05 17:53:30 -08:00
Natalie Weizenbaum
c8ff09b5eb Document interpolated at-rule names
Closes #249
2018-11-05 17:36:26 -08:00
Natalie Weizenbaum
61e86f4322 Document range-form media queries
Closes #248
2018-11-05 17:33:48 -08:00
Natalie Weizenbaum
6f7e4929ec Document SASS_PATH 2018-10-31 17:09:57 -07: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
Jina Anne
7b26d6b684 clean up functions update intended code style in style guide 2018-10-26 21:35:30 -07:00
Natalie Weizenbaum
2b8bf01b7a Properly nest the reference table of contents 2018-10-26 16:04:26 -07:00
Natalie Weizenbaum
7a087e0501 Delete Ruby Sass API docs 2018-10-26 15:24:06 -07:00
Natalie Weizenbaum
c412b8dd4f Document Ruby Sass's CLI 2018-10-26 15:04:43 -07:00
Natalie Weizenbaum
6ad48ae89a Add CLI docs for Dart Sass 2018-10-25 16:46:08 -07:00
Natalie Weizenbaum
dd96c799c3 Document introspection functions 2018-10-24 15:01:43 -07:00
Natalie Weizenbaum
f01aac5d19 Fix broken function links 2018-10-23 17:45:14 -07:00
Natalie Weizenbaum
bfa0d22479 Merge remote-tracking branch 'origin/wip.reference' into wip.reference 2018-10-23 17:30:02 -07:00
Natalie Weizenbaum
0635a3bf61 Add documentation for selector functions 2018-10-23 17:24:13 -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
9ef5ceded1 Add the ability to indent in ERB blocks 2018-10-23 13:42:40 -07:00
Natalie Weizenbaum
f879fcbc97 Add documentation for map functions 2018-10-23 13:01:12 -07:00
Natalie Weizenbaum
dbda46cc63 Share some list examples between function docs and value docs 2018-10-23 12:25:54 -07:00
Natalie Weizenbaum
2207a6042e Add documentation for list functions 2018-10-22 18:26:24 -07:00
Natalie Weizenbaum
6dc51b92e7 Don't autogen CSS for a debug example 2018-10-22 17:40:44 -07:00
Natalie Weizenbaum
0318929b69 Remove a TODO that's been done 2018-10-22 17:28:52 -07:00
Natalie Weizenbaum
5284490b2c Fix markdown in color function docs 2018-10-22 17:16:46 -07:00
Natalie Weizenbaum
05ee8c4582 Document color functions 2018-10-22 17:04:41 -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
6030761158 Add a helper for writing inline multi-syntax examples (#226)
* Add a helper for writing inline multi-syntax examples

This will be useful for #205.

* Add the ability to add CSS output to the syntax switcher

* Automatically generate CSS for the syntax switcher by default

* Fix most lints

* Fix a specificity bug

* Show SCSS syntax by default

* Fix a couple more lints

* Make the example helper template-engine-agnostic

* Support a "syntax switcher" with a single syntax

This will make it possible to do nice-looking single-syntax code
examples in the reference.

* Remove trailing whitespace
2018-10-22 12:00:45 -07:00
Natalie Weizenbaum
f5b3afc0f9 Update contributing documentation to reflect new processes (#234) 2018-10-22 11:58:42 -07:00
Natalie Weizenbaum
efc113ec86 [WIP] Reference 2018-09-27 16:05:00 -07:00
Miriam Speert Crowley
a0444a2b9c Update community.html.haml (#228)
fixed a few typos!  (or dropped words)
2018-09-19 16:34:25 -07:00
Natalie Weizenbaum
56f97b7751 Merge branch 'example-helper' into wip.reference 2018-08-30 14:45:16 -07:00
Natalie Weizenbaum
f70512c286 Support a "syntax switcher" with a single syntax
This will make it possible to do nice-looking single-syntax code
examples in the reference.
2018-08-30 14:43:38 -07:00
Natalie Weizenbaum
79dc77e9a9 [WIP] reference 2018-08-30 14:37:14 -07:00
Natalie Weizenbaum
8d518df3e3 Enable the syntax switcher outside of the tutorial 2018-08-30 14:36:30 -07:00
Natalie Weizenbaum
078b93a181 Merge branch 'example-helper' into wip.reference 2018-08-30 14:25:57 -07:00
Natalie Weizenbaum
a833c56bf8 Show SCSS syntax by default 2018-08-29 17:59:51 -07:00