Commit Graph

351 Commits

Author SHA1 Message Date
Sana Javed
362503edd2 Fixing spacing issues in Operations list 2023-05-25 16:38:09 +02:00
Sana Javed
fd2899c732 Switching links to absolute paths, updating headsUp tags and compat tags 2023-05-25 15:01:23 +02:00
Sana Javed
07dcbbe201 Removing anchor links from Page Sections headings 2023-05-25 13:40:26 +02:00
Sana Javed
e38506216e Merge branch 'port-documentation' into port-documentation-var-interp-atrules 2023-05-25 13:26:02 +02:00
Ed Rivas
1145d9b0fd Port breaking-changes/css-vars 2023-05-24 23:53:11 +00:00
Ed Rivas
cbb9e66bb4 Port breaking-changes/extend-compound 2023-05-24 23:43:00 +00:00
Ed Rivas
7b46208627 Port breaking-changes/moz-document 2023-05-24 23:33:39 +00:00
Ed Rivas
f59251f5d0 Port breaking-changes/slash-div 2023-05-24 23:28:27 +00:00
Ed Rivas
ff1ca3e563 Port breaking-changes/media-logic 2023-05-24 22:58:09 +00:00
Ed Rivas
627a151372 Port breaking-changes/bogus-combinators 2023-05-24 22:54:21 +00:00
Ed Rivas
27ba9a8b5d Port breaking-changes/function-units 2023-05-24 22:43:51 +00:00
Ed Rivas
63d8eddb56 Port breaking-changes/strict-unary 2023-05-24 22:07:53 +00:00
Ed Rivas
688fb35db8 Port breaking-changes/ 2023-05-24 17:42:58 +00:00
Jonny Gerig Meyer
1f2ea317bf
Merge branch 'port-documentation' into dynamic-nav
* port-documentation:
  Fix compat tables
2023-05-24 13:11:57 -04:00
Jonny Gerig Meyer
4f7b31d005
Fix compat tables 2023-05-24 13:11:47 -04:00
Jonny Gerig Meyer
7ec3d3f04a
Generate doc toc dynamically. 2023-05-24 12:54:23 -04:00
Jonny Gerig Meyer
0f263ac045
add missing link 2023-05-24 11:18:54 -04:00
Ed Rivas
86748879b8
Merge branch 'port-documentation' into command-line 2023-05-24 08:48:05 -06:00
Jonny Gerig Meyer
20adcf9025
Merge branch 'main' into port-documentation
* main:
  Fix compatibility args
  Parse JS docs as HTML, not markdown
2023-05-24 10:43:29 -04:00
Jonny Gerig Meyer
d9c63116eb
Fix compatibility args 2023-05-24 10:32:21 -04:00
Sana Javed
d28cd9f155 Switching to absolute URLs, removing Page Sections anchor links 2023-05-24 16:10:04 +02:00
Sana Javed
2a1d081a03 Porting Documentation - At-Rules - import 2023-05-24 12:04:38 +02:00
Ed Rivas
db46cc7ed1 Port cli/ruby-sass 2023-05-24 00:28:58 +00:00
Ed Rivas
efd3e6774f Por cli/migrator 2023-05-24 00:17:27 +00:00
Ed Rivas
f24d6c7458 Port cli/dart-sass 2023-05-23 23:50:31 +00:00
Jonny Gerig Meyer
0c922a4cd1
Merge branch 'js-api-docs' into port-documentation
* js-api-docs:
  Poke release process
  Remove typedoc
  review
  Attempt to fix typedoc syntax highlighting.
  Remove submodule
  Port heads_up and fun_fact
  Port compatibility table
  Build JS API docs
2023-05-23 12:33:16 -04:00
Jonny Gerig Meyer
08c24bb61f
initial review 2023-05-23 12:29:05 -04:00
Sana Javed
599abec691 Merge remote-tracking branch 'origin/port-documentation' into port-documentation-var-interp-atrules 2023-05-23 14:52:30 +02:00
Sana Javed
6946a546c0 Adding Dart Sass version via releases 2023-05-23 14:47:17 +02:00
Sana Javed
d88e70ea27 Addressing review - fixing link paths 2023-05-23 14:25:18 +02:00
Jonny Gerig Meyer
d5e4ecfa03
review 2023-05-22 15:06:31 -04:00
Sana Javed
e00d1e97d1 Porting Documentation - At-Rules - @forward 2023-05-22 17:24:20 +02:00
Ed Rivas
4f931da297 Port compatibility table 2023-05-19 21:30:32 +00:00
Ed Rivas
83a76c9151 Build JS API docs 2023-05-19 17:24:15 +00:00
Sana Javed
eaa07a5cbb Porting Documentation - At-Rules - @use 2023-05-19 18:21:18 +02:00
Sana Javed
30f29e5b52 Porting Documentation - At-Rules - Overview 2023-05-19 18:02:16 +02:00
Sana Javed
46e637dd25 Porting documentation - Interpolation 2023-05-18 18:03:55 +02:00
Sana Javed
3b50c2a6d2 Porting documentation - Variables 2023-05-18 17:43:20 +02:00
Sana Javed
03620f0084 Updating sub menu classes 2023-05-17 12:12:43 +02:00
Sana Javed
a7d507518e Updating relative link paths 2023-05-16 14:19:07 +02:00
Sana Javed
ebd45836e5 Style rules documentation 2023-05-16 13:26:56 +02:00
Sana Javed
24c7467805 Lint and starting Style Rules documentation 2023-05-15 14:18:23 +02:00
Sana Javed
387dab1129 Starting to port documentation 2023-05-15 11:58:58 +02:00
Srdjan Pazin
56a39bc185
Fixing typos (#725)
* Fixed typos in comments.html.md.erb

* Update comments.html.md.erb

reflow text

---------

Co-authored-by: Goodwine <2022649+Goodwine@users.noreply.github.com>
2023-05-09 14:54:38 -07:00
Natalie Weizenbaum
db6a809506
Document the deprecation of multiple variable flags (#716)
Closes #715
See sass/sass#2607
2023-04-07 17:07:55 -07:00
Jennifer Thakar
086912048a
Clarify flow control scope documentation (#681)
Fixes #669.
2023-04-05 16:40:10 -07:00
Natalie Weizenbaum
97546fd550
Document the floating-point numbers spec (#708)
See sass/sass#2892
2023-03-23 16:18:11 -07:00
Natalie Weizenbaum
2c38a7f8a4
Document constants in calculations (#707)
Closes #700
See sass/sass#3258
2023-03-23 15:59:26 -07:00
Eric Mutta
abaee7ea73
Fix multiple typos (#703)
* Fix typo in import.html.md.erb

The following sentence:

> ...libraries must **prefix to all** their members...

Should read:

> ...libraries must **add a prefix to all** their members...

* Fix typo in comments.html.md.erb

The following:

> Because the **extend** of the comment...

Should read:

> Because the **extent** of the comment...

* Fix typo in string.html.md.erb

The sentence:

> ...relying on **this** operators...

Should read:

> ...relying on **these** operators...

* Fix typo in string.html.md.erb

The following sentence:

> If **of** `$index` is higher...

Should read:

> If `$index` is higher...

* Reflow source/documentation/at-rules/import.html.md.erb

---------

Co-authored-by: Goodwine <2022649+Goodwine@users.noreply.github.com>
2023-03-22 14:26:06 -07:00
Jennifer Thakar
d580be8333
Document --fatal-deprecation (#702) 2023-03-10 14:24:55 -08:00
Jonny Gerig Meyer
2e97aaf8d8
lint 2023-03-08 16:14:25 -05:00
Jonny Gerig Meyer
6fda754ed9
Convert compatibility table into a paired shortcode. 2023-03-07 12:38:28 -05:00
Natalie Weizenbaum
04dae03887 Document string.split()
Closes #684
2023-03-03 15:08:12 -08:00
Oliver Byford
a5b0c738bf
Fix broken markdown link in meta.function-exists (#697) 2023-03-01 14:57:12 -08:00
Jonny Gerig Meyer
5071228ace
Add basic 11ty config 2023-01-06 17:37:45 -05:00
Denis Teikhrib
4246de7258
Fixes typo in meta.module-functions example (#690) 2023-01-04 22:33:45 +00:00
Natalie Weizenbaum
628560e47c
Update the Media 4 deprecation page (#685)
Closes #655
2022-11-01 16:20:12 -07:00
Natalie Weizenbaum
f80aa04469
Add/update strict function unit documentation (#683)
This merges the color-units and random-with-units deprecation pages
into a single shared function-units page, updates the color-units
deprecations to reflect that Phase 2 has been enacted, and adds new
function unit deprecations.

See #511
See sass/sass#2904
See #662
See sass/sass#3374
2022-10-28 16:35:58 -07:00
Kim Dyla
079e1237ae
Fixing typo (#682) 2022-10-19 18:24:55 -07:00
Makonede
1f59496b32
Fix typo (#680) 2022-10-17 20:21:50 +00:00
Andreas Deininger
97a1086743
Fixing typo (#616) 2022-10-13 10:26:33 -07:00
Uma Shankar
34bad99c32
Fixed a typo (#679) 2022-10-11 20:48:01 +00:00
Anatolijs Tarasovs
02771170cf
Update mixin.html.md.erb (#663)
Fixed a typo.  I can also says `This can make it easier...`
2022-09-26 20:38:18 +00:00
Natalie Weizenbaum
27c36b276c
Document strict unary operators (#670) 2022-09-15 13:58:15 -07:00
Christophe Coevoet
df332e08c8
Document the moz-document breaking change on the sass website. (#667)
* Document the moz-document breaking change on the sass website.
2022-09-07 10:55:14 -07:00
Goodwine
25d33be440
Document random($limit) behavior whe $limit has units (#664)
* document random($limit) behavior whe $limit has units

* add breaking change section for random-with-units

* add random-with-units link to sidenav
2022-08-17 19:25:23 -07:00
Natalie Weizenbaum
d90813cf0a
Document support for Media Queries Level 4 (#656) 2022-07-22 13:34:16 -07:00
Natalie Weizenbaum
c77ebc90f1
Document the bogus combinator breaking change (#654) 2022-07-18 17:00:41 -07:00
updatedMyJournal
42470e1477
Fix a typo (#653) 2022-07-18 20:13:59 +00:00
Takuya N
a3d9319dce
HWB support was introduced in 1.28.0, not in 1.27.0 (#646)
Code change: https://github.com/sass/dart-sass/pull/1129

Follows up https://github.com/sass/sass-site/pull/493

Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2022-06-16 18:52:18 -07:00
Natalie Weizenbaum
9e97f56f66
Add a section describing the differences between @use and @import (#636)
Closes #443
2022-05-31 16:43:33 -07:00
Natalie Weizenbaum
d78a1f26af
Be more accurate about how brackets work with list.join() (#633)
Closes #354
2022-05-26 19:22:21 -07:00
Rafik Ogandzhanyan
443cf501ec
Fix list.slash documentation example (#629) 2022-05-16 14:04:56 -07:00
Natalie Weizenbaum
d5bfb55cfc
Add a note about multiline expressions in the indented syntax. (#628)
Closes #627
2022-05-16 20:58:14 +00:00
Jeremy Graziani
ed66c8a861
Fix Sass interpolation example to match the SCSS one and its output (#624) 2022-05-02 21:30:06 +00:00
Andrew
107f294859
docs: correct mixin name (#621)
`@reset` mixin is not defined in this example, but `@list-rest` is.
2022-04-18 14:34:33 -07:00
Awjin Ahn
4a0d20e0d4
Link to boolean operators from the conditional docs. (#613) 2022-03-09 13:18:20 -08:00
Awjin Ahn
42001970c4
Fix broken link. (#610) 2022-02-03 13:59:12 -08:00
Kimberly Grey
8dd884f5a1
Fix missing hyphen in private members example (#606) 2022-01-14 10:57:44 -08:00
Natalie Weizenbaum
b573c2b2a5
Fix a typo in the placeholder selector documentation (#605) 2021-12-29 14:56:44 -08:00
Awjin Ahn
cc92fc9eea
Add docs for reassigning module vars. (#546)
Co-authored-by: Natalie Weizenbaum <nweiz@google.com>
2021-12-16 02:09:18 +00:00
Shaun McCance
defe334103
Fix link markup (#601) 2021-12-10 06:26:11 +00:00
Awjin Ahn
c9323faa76
Explain /-in-calc not deprecated. (#595) 2021-12-03 13:59:30 -08:00
Natalie Weizenbaum
94ee6e088c
Add documentation explicitly describing compatibility callouts (#596)
Closes #594
2021-12-01 00:11:12 +00:00
Natalie Weizenbaum
414409a122
Merge pull request #584 from sass/typedoc
Build JS API docs from the TypeScript declarations
2021-10-05 20:57:58 +00:00
Natalie Weizenbaum
85a2eaa33d Build JS API docs from the TypeScript declarations 2021-10-04 19:53:08 -07:00
roydukkey
c332799730
Fix stated return type (#582) 2021-09-28 22:24:14 -07:00
Awjin Ahn
7e06369241
Be explicit about which dirs get --watched. (#580) 2021-09-22 15:02:11 -07:00
Natalie Weizenbaum
b72c8094d5
Update the calculation documentation to describe the new min/max (#578)
See sass/sass#3142
See sass/sass#3150
2021-09-20 23:58:48 +00:00
Natalie Weizenbaum
d0e401e3f9
Document first-class calc() (#575)
See sass/sass#818

Co-authored-by: Awjin Ahn <awjin@google.com>
2021-09-13 23:16:42 +00:00
Natalie Weizenbaum
e55b07cdd4
Document the charset flag (#574)
See sass/sass#3126
2021-09-02 00:48:10 +00:00
Natalie Weizenbaum
309641b659
Document the --quiet-deps flag (#573)
Co-authored-by: Awjin Ahn <awjin@google.com>
2021-08-31 00:27:11 +00:00
Jennifer Thakar
dce95ffc30
Fix invalid parameter range for color.change (#571)
Fixes sass/sass#3122.
2021-08-18 14:34:45 -07:00
Ulugbek
d1c5b96738
bugfix: SASS code removed from CSS snippet (#570) 2021-08-16 14:22:43 -07:00
Awjin Ahn
aec6fac9db
Fix broken link + make wording more explicit. (#565) 2021-07-29 15:18:52 -07:00
Rodrigo
71d7860847
adding optional param description to function-exists (#563) 2021-07-29 15:00:58 -07:00
Natalie Weizenbaum
f47b74529c
Enable GitHub actions (#562) 2021-07-23 23:28:41 +00:00
Jennifer Thakar
d1e2f25a3c
Document the division migrator (#554)
Closes #549.
2021-07-12 16:46:33 -07:00
akramkrimo
c1a8a79725
Grammatically updated the docs (#561)
Co-authored-by: Akram <>
2021-06-23 13:31:47 -07:00
Alexander Doroshko
9580702912
Fix example on the "Slash as Division" page: divide() -> math.div() (#559) 2021-06-21 13:27:29 -07:00
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