Commit Graph

791 Commits

Author SHA1 Message Date
Natalie Weizenbaum
df428f62b2 Move plain-CSS function documentation into at-rules/function
This isn't ideal, since these functions aren't defined with @function,
but there's not really a better place to put it. It certainly doesn't
make sense in the built-in module documentation anymore.
2019-09-04 15:24:22 -07:00
Natalie Weizenbaum
029520349a Rename /documentation/functions to /documentation/modules
This hierarchy is now going to document built-in modules, which mostly
contain functions but can also contain mixins and may potentially
contain variables in the future.
2019-09-04 15:24:22 -07:00
Natalie Weizenbaum
b27ef20281
Document the @use rule (#364)
Closes #361
2019-09-04 12:44:36 -07:00
Natalie Weizenbaum
8277f5bfbe Code review changes 2019-09-03 16:50:47 -07:00
Natalie Weizenbaum
8f093ba74b Document the @use rule
Closes #361
2019-09-02 13:45:40 -07:00
Natalie Weizenbaum
2088a021f9
Add an implementation note about sass/libsass#2957 (#359)
Documentation for @use and @forward themselves will come in a future
PR.

Partially addresses #263
2019-08-29 15:31:29 -07:00
Natalie Weizenbaum
835ff5a6a0
Add an implementation note about sass/libsass#2957 (#356) 2019-08-05 22:43:23 -07:00
Sergey Fetiskin
782d09c9cc fix to correct version of libsass (#355) 2019-07-22 23:54:17 +01:00
Natalie Weizenbaum
8b24f60f95
Add a breaking change page for /-as-division (#353)
This is intentionally not linked anywhere yet. It exists as a landing
page for links from dev versions of Sass and the migrator, and will be
updated as phase 1 comes closer to launching.

See sass/sass#2565
2019-06-06 19:37:59 +01:00
Natalie Weizenbaum
256a1bc7d0
Fix a broken code example (#352)
Closes #351
2019-06-06 19:36:46 +01:00
Natalie Weizenbaum
e378b285ef
Tweak some phrasing 2019-06-06 16:45:50 +01:00
Natalie Weizenbaum
a8dd640239 Add a breaking change page for /-as-division
This is intentionally not linked anywhere yet. It exists as a landing
page for links from dev versions of Sass and the migrator, and will be
updated as phase 1 comes closer to launching.

See sass/sass#2565
2019-06-04 15:11:33 +01:00
Natalie Weizenbaum
990651f774
Add documentation for recent breaking changes (#350)
We'll eventually add upcoming breaking changes, like /-as-division, as
well.
2019-06-04 12:57:17 +01:00
Natalie Weizenbaum
7bca65c349
Update the copyright line (#348) 2019-05-31 12:05:02 +01:00
Natalie Weizenbaum
ba4cdf8836
Merge pull request #346 from sass/ruby-sass-cli
Update Ruby Sass's status in the Ruby Sass CLI docs
2019-05-30 05:24:38 -07:00
Natalie Weizenbaum
cee35c1346 Check /blog URLs against the live Sass blog 2019-05-30 04:50:56 -07:00
Natalie Weizenbaum
7a2aa57b96
Make "/" and "s" focus the search bar (#347)
Closes #345
2019-05-30 04:30:10 -07:00
Natalie Weizenbaum
dd98c98307 Update Ruby Sass's status in the Ruby Sass CLI docs 2019-05-24 15:46:00 -07:00
Adrian
cfac02476e add reference to LibSass Host .net wrapper (#343) 2019-05-21 13:40:29 -07:00
Natalie Weizenbaum
854167dd0f
More clearly document import order (#342) 2019-05-16 16:15:53 -07:00
Natalie Weizenbaum
801118fe88
Merge pull request #341 from ght/fix-link-and-leftover-line
Fix implementation guide link in CONTRIBUTING.md, remove leftover obsolete half-sentence in styleguide/code
2019-05-13 13:09:33 -07:00
Galdor Takacs
fe63cfa534 styleguide/code: Remove obsolete line forgotten in 92d9baf850 2019-05-10 05:37:51 +02:00
Galdor Takacs
3c0881f431 Fix link to implementation guide in CONTRIBUTING.md 2019-05-10 05:35:55 +02:00
Natalie Weizenbaum
2b5fcbdd2a
Merge pull request #340 from sass/bundle-js
Bundle all JS into a single file
2019-05-08 15:30:17 -07:00
Natalie Weizenbaum
084e181580 Make all client-side redirect URLs absolute
These used to redirect from /documentation/, but we tweaked the way
URLs work and now they redirect from /documentation. Making them
absolute avoids even the potential for that breakage.
2019-05-08 13:19:25 -07: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
9b82b23abf
Fix a broken function example (#336)
A "min" function conflicts with Sass's support for CSS's min() syntax.

Closes #335
2019-05-06 14:32:23 -07:00
Natalie Weizenbaum
ff7970b80e
Merge pull request #334 from sass/error-css
Document Dart Sass's --error-css flag
2019-05-06 13:56:47 -07:00
Maarten Brouwers
c582c015b2 Fix code example (#339)
Minor fix: `to-lower-case` featured a `to-upper-case` example
2019-05-06 11:40:07 -07:00
​Faizaan
a41d9df7ef Remove duplicate section about mixins (#337) 2019-05-03 13:00:10 -07:00
Natalie Weizenbaum
c932e18338 Document Dart Sass's --error-css flag
See sass/dart-sass#657
See sass/dart-sass#659
2019-04-30 11:16:26 -07:00
Natalie Weizenbaum
bbdac76437 Add starting versions for Dart CLI features
I'm leaving these out for features that have been supported since
1.0.0, since they're available in effectively all versions.
2019-04-30 11:05:53 -07:00
Natalie Weizenbaum
6729c6fb54
Explicitly document the @keyframes rule (#333)
I didn't originally think that this was complex enough to need
documenting, but it looks like people are searching for it so I guess
it does.
2019-04-30 10:38:29 -07:00
Natalie Weizenbaum
8c62ec4ccc
Remove duplicated sections in /guide (#331)
Closes #328
2019-04-29 16:06:32 -07:00
Natalie Weizenbaum
3de6939d9b
Fix a small error in an example (#332)
Closes #329
2019-04-29 16:06:25 -07:00
Natalie Weizenbaum
757590f95a Remove duplicated sections in /guide
Closes #328
2019-04-25 11:31:38 -07:00
Natalie Weizenbaum
e41557e859 Redirect Google's Sass function search result
This doesn't include the ".html" suffix.
2019-04-23 10:17:31 -07:00
Natalie Weizenbaum
70075be617
Merge pull request #326 from sass/wip.reference
Enable the new reference on the main site
2019-04-23 10:02:37 -07:00
Natalie Weizenbaum
b1ee5c83cb Only force SSL on sass-lang.com 2019-04-23 09:47:47 -07:00
Natalie Weizenbaum
eeef4e2f6c
Merge pull request #325 from sass/merge
Merge branch 'master' into wip.reference
2019-04-22 14:13:43 -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
891f6e7d95 Merge branch 'master' into wip.reference 2019-04-17 17:42:31 -07:00
Natalie Weizenbaum
05d3c9121d Make search result URLs always point to the current site 2019-04-17 17:29:12 -07:00
Natalie Weizenbaum
b75fca5a61 Make text in collapsible navs unselectable
This ensures that quickly opening and closing a nav doesn't
accidentally select its text.
2019-04-17 12:59:38 -07:00
Natalie Weizenbaum
9f9bcb257b
Merge pull request #324 from sass/unstyled-content
Avoid unstyled rendering moments
2019-04-17 12:38:43 -07:00
Natalie Weizenbaum
b771e2297e Avoid an unstyled rendering moment with code examples
This renders the tabs and all the jQuery classes server-side, so that
the code examples are rendered correctly on the page's first load
rather than waiting for the JavaScript to activate. This also has a
side effect of making them look correct with JavaScript disabled.

This also adds a little additional styling in the noscript stylesheet
to make code examples look better on a narrow viewport with JavaScript
disabled.
2019-04-12 02:12:00 -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
ce9244b504
Tweak typography to improve legibility (#318)
* Add more margin above headers to visually associate them with the
  prose below, rather than above.

* Reduce the margin around normal block elements to more clearly
  associate them with one another.

* Increase the size of prose and medium/large headers to make them
  easier to see.

* Reduce the font weight of intro paragraphs to make them more
  visually distinct from the rest of the documentation.

Based on @slimekat's suggestions.

Closes #313
2019-04-11 15:30:17 -07:00
Natalie Weizenbaum
de561b2370
Make the reference tables of contents collapsible (#320) 2019-04-11 15:30:10 -07:00
Natalie Weizenbaum
e1ceec2fce
Merge pull request #323 from sass/cli-docs
Update Dart Sass CLI documentation
2019-04-08 14:49:19 -07:00