Commit Graph

351 Commits

Author SHA1 Message Date
Nate Johnston
6ca4ac94ca
Update if.html.md.erb (#558)
"In fact, you can to chain as many..." was changed to "In fact, you can chain as many..."
2021-06-21 13:24:23 -07:00
Natalie Weizenbaum
821976c367
Add documentation for quietDeps and verbose in the JS API (#555)
See sass/sass#3065
2021-06-14 17:41:58 -07:00
flachware
232a020b1a
Fix code examples in map and meta modules. (#553)
* Fix code examples in map and meta modules.
2021-06-09 12:30:48 -07:00
Natalie Weizenbaum
abd26c2be4
Fix the impl_status for /-as-division (#552) 2021-06-01 17:00:50 -07:00
Jennifer Thakar
230c2f174c
Only match Sass files in division migrator glob (#545)
The migrator doesn't filter out non-Sass files, so it will error if there are any other files there
2021-05-21 14:10:22 -07:00
Natalie Weizenbaum
f202a692ca
Update all existing documentation for math.div() and list.slash() (#544)
Closes #543
See #539
2021-05-20 18:09:28 -07:00
Natalie Weizenbaum
077c20255a
Publicize the slash-div deprecation page (#539)
See sass/sass#2565
2021-05-17 19:09:58 -07:00
Natalie Weizenbaum
35c51fbe33
Document this.fromImport for the JS API (#540)
See sass/sass#3055
See webpack-contrib/sass-loader#905
2021-05-17 14:09:17 -07:00
Christophe Coevoet
3ed23e654b
Fix typo in the list.join doc (#537) 2021-05-06 10:04:04 -07:00
Henry Catalini Smith
0ded1ef497
Add documentation of -w shorthand for --watch flag (#534) 2021-04-26 10:00:23 -07:00
Alfred
4114d09667
Fix typo (#532) 2021-04-19 11:53:59 -07:00
Christophe Coevoet
1b770d7529
Fix function name in the map.merge heads up (#527) 2021-03-17 10:38:42 -07:00
dreadsd
6d1425bc0e
fix typo (#524) 2021-03-15 14:02:08 -07:00
Sun Xiaoran
6cca974fa5
fix: typo (#523) 2021-03-10 11:23:06 -08:00
Jennifer Thakar
26537b9459
Rename duplicate header in string docs (#522)
Fixes #520.
2021-03-04 09:02:42 -08:00
Jennifer Thakar
9e39ce3f10
Document namespace migrator (#517)
See sass/migrator#173.
2021-02-08 15:22:59 -08:00
dependabot[bot]
0882068502
Bump redcarpet from 3.3.4 to 3.5.1 (#514)
Bumps [redcarpet](https://github.com/vmg/redcarpet) from 3.3.4 to 3.5.1.
- [Release notes](https://github.com/vmg/redcarpet/releases)
- [Changelog](https://github.com/vmg/redcarpet/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vmg/redcarpet/compare/v3.3.4...v3.5.1)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Natalie Weizenbaum <nweiz@google.com>
2021-01-11 14:51:08 -08:00
Natalie Weizenbaum
935251b499
Document clamp() as a special function (#513)
Closes #505
See sass/sass#2860
2020-12-29 17:02:30 -08:00
Natalie Weizenbaum
b7aa7b4c52
Document new color unit behavior (#512)
Partially addresses #511
See sass/sass#2904
2020-12-29 14:59:01 -08:00
Caleb Fetzer
9cb5c25299
Typo: Add missing s to .sass example (#510) 2020-12-28 09:09:08 -08:00
Johann Pinson
42e1ad6b8c
Update the documentation about the hwb function (#508)
* feat(docs): add the module for the hwb function

* Add namespace to one more example

Co-authored-by: Jennifer Thakar <jathak@google.com>
2020-12-01 10:05:53 -08:00
Natalie Weizenbaum
cfca1d405e
Avoid inaccurately describing HSL as a "color space" (#504)
Closes #503
2020-11-05 12:53:05 -08:00
Michail
63c442e57d
fix typo (#502) 2020-11-03 12:59:07 -06:00
Natalie Weizenbaum
c51e62b0f8
Add documentation for new HWB functions (#493)
See sass/sass#2834
Closes #477

Co-authored-by: Awjin Ahn <awjin@google.com>
2020-10-29 16:37:08 -07:00
Natalie Weizenbaum
7d23034d4f
Add impl_status annotations for the new map functions (#492) 2020-10-15 17:10:52 -07:00
ngdangtu
7c39ec521c
Correct and reformat sample codes (#488) 2020-10-09 10:55:09 -07:00
Awjin Ahn
d98028e7aa
Fix backtick typo. (#491) 2020-10-08 14:44:32 -07:00
Christopher Kirk-Nielsen
094d7bd0ad
Add missing backtick at the end of inline code (#490) 2020-10-08 14:30:42 -07:00
Awjin Ahn
32ce3be79b
Nested maps documentations (#484)
Closes #476
2020-10-07 15:05:20 -07:00
Awjin Ahn
704cb489d0
Add explainer that @use is only availabe in Dart Sass (#481) 2020-10-05 17:08:54 -07:00
Ned Zimmerman
dba53562fd
Fix option name for sourceMapEmbed in example (#479)
Resolves #478.
2020-09-28 12:00:19 -07:00
disco-trooper
9373ca47b2
Fix typo (#472) 2020-08-27 09:47:52 -07:00
disco-trooper
3bc5fa08be
Remove redundant word in sentence (#471) 2020-08-26 09:26:00 -07:00
Awjin Ahn
6bd64be84d
Fix typo in maps doc. (#460)
Fixes https://github.com/sass/sass-site/issues/459
2020-07-16 11:02:32 -07:00
Awjin Ahn
64f370c69d
Fix use...with mixin example. (#454)
Fixes https://github.com/sass/sass-site/issues/453
2020-06-02 09:12:08 -07:00
coskunuyar
8e97e71e66
Invalid Examples (#451)
* Fix invalid semicolon on SASS example
* Fix wrong argument reference
* Fix invalid assignment to variable due to scope
2020-06-01 10:31:10 -07:00
Natalie Weizenbaum
e440cee626
Suggest mixins rather than @use ... with for advanced cases (#448) 2020-05-13 14:19:27 -07:00
devrafalko
f3f6b73e8c
Update color.html.mb.erb (#447)
`color.hue()` returned value range corrected.
2020-05-11 09:40:13 -07:00
brandondiamond
5ce35d4f26
Update use.html.md.erb (#441)
Fixing small typo.
2020-03-19 13:21:31 -07:00
Matt
b62ce0e79b
doc(at-rules@use): fix math error (#438) (#439) 2020-03-11 14:56:03 -07:00
Natalie Weizenbaum
edccda4a3d
Document multiple --remove-prefix flags for the migrator (#432) 2020-02-24 11:38:47 -08:00
Awjin Ahn
5e2cb1a6c8 Documentation for new built-in math functions. (#427) 2020-01-17 15:57:09 -08:00
Natalie Weizenbaum
799f85c59a
Merge pull request #421 from tatianamac/accessibility-fixes
Accessibility fixes
2020-01-06 16:37:23 -08:00
Jennifer Thakar
d023f81e4c
Document configuring through imports (#425) 2019-12-26 13:00:30 -08:00
Natalie Weizenbaum
502f512478
Document @forward ... with (#417)
See sass/sass#2744
Closes #383
2019-12-20 12:07:52 -08:00
tatianamac
b1e62bc77b 🎨 Made colour palette happy and accessible 2019-12-18 16:09:00 -08:00
Natalie Weizenbaum
193a124050 Move the blog onto sass-lang.com
Logdown seems to be basically unmaintained, its servers are
unreliable, and it's been causing some mixed-content errors lately.
This moves all blog posts to sass-lang.com itself; I'll set up
redirects from the blog as best I can once this lands.

Closes #401
Closes #402
Closes #403
2019-12-18 16:00:40 -08:00
Natalie Weizenbaum
7749bacbed
Merge pull request #409 from sass/blog
Move the blog onto sass-lang.com
2019-12-18 10:56:59 -08:00
Alexander Doroshko
7c14fd88d7 Typos fixed on the modules/selector page: selector.unify() -> selector-unify(), compound-selectors() -> simple-selectors() 2019-12-10 16:29:32 +03:00
Jennifer Thakar
5b5713faff
Add version for Dart Sass's module system support (#416) 2019-11-27 12:11:36 -08:00
Natalie Weizenbaum
a45d93d573
Add the missing parameter name to string.unquote() (#414) 2019-11-25 16:45:37 -08:00
Natalie Weizenbaum
f29abebc3f
Document $module parameters to sass:meta functions (#415) 2019-11-25 16:45:15 -08:00
Natalie Weizenbaum
181e3907ed Add the missing parameter name to string.unquote() 2019-11-20 16:49:39 -08:00
Ivaylo Kirov
a3d175dc38 Update at-rules.html.md.erb (#413) 2019-11-19 15:07:02 -08:00
Natalie Weizenbaum
837a475ddd Move the blog onto sass-lang.com
Logdown seems to be basically unmaintained, its servers are
unreliable, and it's been causing some mixed-content errors lately.
This moves all blog posts to sass-lang.com itself; I'll set up
redirects from the blog as best I can once this lands.

Closes #401
Closes #402
Closes #403
2019-11-12 18:21:51 -08:00
Wim Hendrikx
ddcbc9fd44 Add new 'use' and 'forward' at-rules to the overview (#397) 2019-10-22 21:01:11 +01:00
Natalie Weizenbaum
165dc8f293
Fix a typo (#391)
Closes #390
2019-10-21 21:17:15 +01:00
alibalouchi
b99d93d103 Update js-api.html.md.erb (#393) 2019-10-21 21:16:55 +01:00
Natalie Weizenbaum
46a2d9e3ce
Fix a use of "hsl" that should be "rgb" (#382)
Closes #381
2019-10-14 11:57:34 -07:00
Natalie Weizenbaum
6e93b8526d
Fix a broken example in the sass:selector docs (#385) 2019-10-11 15:15:35 -07:00
Natalie Weizenbaum
b2ab9cbe50
Recommend that users write @forward before @use (#384) 2019-10-11 14:09:31 -07:00
Christophe Coevoet
d139d52954 Fix links in the migrator doc (#377) 2019-10-02 11:19:27 -07:00
Jennifer Thakar
1697b562ef Update migrator docs to reflect new changes (#375) 2019-10-01 18:24:35 -07:00
Natalie Weizenbaum
34cd995893 Fix a broken link 2019-10-01 14:57:25 -07:00
Natalie Weizenbaum
cdfa203970 Code review changes 2019-10-01 14:43:21 -07:00
Natalie Weizenbaum
3cde415281 Document the Sass migrator
Closes #358
2019-09-25 14:53:13 +01:00
Natalie Weizenbaum
4a02f04717 Document new built-in functions
Closes #365
2019-09-24 11:36:43 +01:00
Natalie Weizenbaum
a99bb65fd6 The keywords() function is actually in sass:meta, not sass:map 2019-09-10 16:31:02 -07:00
Natalie Weizenbaum
35c719d1bb
Document how @extend interacts with modules (#369)
This includes documenting private placeholder selectors.

Closes #360
2019-09-09 15:24:51 -07:00
Natalie Weizenbaum
d8c3238c79
Document @forward (#368)
Closes #362
2019-09-06 14:13:51 -07:00
Natalie Weizenbaum
d46c2c77b0 Fix broken links 2019-09-05 14:47:14 -07:00
Natalie Weizenbaum
576474cfc5 Code review changes 2019-09-05 14:39:50 -07:00
Natalie Weizenbaum
b1b07540f2 Module-ify built-in function documentation
Closes #363
2019-09-04 17:56:16 -07:00
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
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
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
dd98c98307 Update Ruby Sass's status in the Ruby Sass CLI docs 2019-05-24 15:46:00 -07:00
Natalie Weizenbaum
854167dd0f
More clearly document import order (#342) 2019-05-16 16:15:53 -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
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
3de6939d9b
Fix a small error in an example (#332)
Closes #329
2019-04-29 16:06:25 -07:00
Natalie Weizenbaum
d87eeab0a3 Update Dart Sass error examples to match the current output 2019-04-07 17:01:48 -07:00
Natalie Weizenbaum
96632b9c02 Document the --unicode flag
See sass/dart-sass#566
2019-04-07 16:43:49 -07:00
Natalie Weizenbaum
bfff691df2 Document the --no-charset flag
See sass/dart-sass#644
2019-04-07 16:39:53 -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
d42fca01ff Remove the Maps introduction paragraph
This code examples in this paragraph don't fit in the larger font
size.
2019-04-03 16:39:35 -07:00
Natalie Weizenbaum
3d20c8f536 Fix some broken Markdown links 2019-04-03 16:38:26 -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
d0c1079b78
Merge branch 'wip.reference' into impl-status 2019-03-10 23:22:02 -07:00
Natalie Weizenbaum
0ce28695ce Fix broken links 2019-03-08 17:57:33 -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
ce1dfc1585 Fix some mixed-up links 2019-03-04 18:30:15 -08:00
Natalie Weizenbaum
8274243798 Fix a typo 2019-03-04 18:08:04 -08:00
Jina Anne
94c9c002ec make call outs less… called out 2019-03-04 16:24:31 -08: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
Natalie Weizenbaum
c344861698 Fix a typo 2018-12-27 18:12:55 -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
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
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
997c3a7ecd Document the JavaScript API 2018-10-31 16:02:04 -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
efc113ec86 [WIP] Reference 2018-09-27 16:05:00 -07:00
Natalie Weizenbaum
79dc77e9a9 [WIP] reference 2018-08-30 14:37:14 -07:00
Natalie Weizenbaum
46482b1102 [WIP] Port reference docs to the site 2018-08-16 18:04:22 -07:00