Commit Graph

839 Commits

Author SHA1 Message Date
Natalie Weizenbaum
2fb003b79a
Mention LibSass's deprecation on its website page (#548)
Closes #466
2021-05-26 12:18: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
Awjin Ahn
50f95c5f65
Update intro. (#533) 2021-05-20 12:39: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
Jennifer Thakar
9e3a4f6858
Remove defunct community link (#538)
Fixes #536.
2021-05-06 13:48:25 -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
xmo-odoo
f768dd8577
Revert word-break to normal for impl-status titles (#529)
If the "compatibility" label and browser width are just the wrong one, "break-word" can lead to browsers deciding to line-wrap every "ss" but *just the "ss" from "Dart Sass", "LibSass" and "Ruby Sass", which looks very strange and is quite hard to read.
2021-03-22 13:38:19 -07:00
Christophe Coevoet
6e39c04a45
Restore Chocolatey install instructions (#528)
This reverts commit 3f0c83e144.
2021-03-18 13:07:03 -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
Natalie Weizenbaum
bb6378e0b7
Write a blog post soliciting comments for first-class calc (#525)
See sass/sass#818
Co-authored-by: Jennifer Thakar <jathak@google.com>
2021-03-15 13:52:37 -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
Daniel Haim
87415b956e
Spacing improvement (#496)
- Added a spacer to the follow button on footer (mobile only)
- Added missing spacer from page titles (mobile + desktop)
2020-10-29 13:44:56 -07:00
Natalie Weizenbaum
2d820284ca
Update the "LibSass is deprecated" blog post (#500)
This fixes a few typos and adds a section explaining in more detail
how to migrate to Dart Sass.
2020-10-28 15:11:13 -07:00
Natalie Weizenbaum
a910e0e82d
Add a blog post about the deprecation of LibSass (#494) 2020-10-26 13:04:58 -07:00
Awjin Ahn
0d90820341
Update outdated app recommendations. (#498) 2020-10-23 13:02:28 -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
Martin Greilinger
a101bb91a2
resolved typo in argument lists example (#486) 2020-10-07 14:36:29 -07:00
Natalie Weizenbaum
a7dc17b7f6
Write a blog post about the Color 4 HWB proposal (#483)
See sass/sass#2834

Co-authored-by: Jennifer Thakar <jathak@google.com>
2020-10-06 16:57:37 -07:00
Natalie Weizenbaum
90530c761a
Update the link to the map function proposal (#482) 2020-10-06 16:16:01 -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
Natalie Weizenbaum
d4262df334
Write a blog post about sass/sass#2836 (#475) 2020-09-16 15:40:24 -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
Christophe Coevoet
00560e76d8
Remove unnecessary scrollbar for the sticky navigation
The scrollbar will now appear only for columns needing it.
2020-08-18 15:24:54 +02:00
Awjin Ahn
f0dceec678
Add Linux brew install instruction. (#467) 2020-08-17 10:38:30 -07:00
Martin Greilinger
fd5d2a1c07
Removed unnecessary line separator character (#468) 2020-08-16 19:00:03 -07:00
Jennifer Thakar
3f0c83e144
Remove Chocolatey install instructions (#463)
The Chocolatey release has been out of date for months, so we shouldn't be recommending it until we're able to reliably keep it up to date.
2020-08-04 12:17:09 -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
Jina Anne
91b8816673
Simplify copyright statement (#458)
Switching the explicitly named team members for "the Sass team" so it has longevity.
2020-07-06 12:57:36 -07:00
Emiel Koning
1202cf40b9
Typo (#457) 2020-06-29 09:10:57 -07:00
Kuzivakwashe
0ada4424b9
Fix behavioral differences link (#455)
Fixes the _intentional behavior differences_ link fragment so it points to the correct section
2020-06-08 13:27:20 -07:00
Jina Anne
6dc426ba2a
remove extra with
Gonna push directly to master since this change is straight-forwardly simple.
2020-06-02 11:30:46 -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
Jina Anne
304ec0c96a
Add Black Lives Matters statement (#452)
* Black Lives Matters statement

Swaps top banner out for Black Lives Matter messaging with inline styles for stylistic tweaks since these styles won't need to be added to the main global styles.

* Bold call to action

* Update layout.haml
2020-06-01 17:12:27 -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
Christophe Coevoet
9464c435d1
Update the repository for the PHP binding for libsass (#371)
The https://github.com/sensational/sassphp repo is not updated anymore. On the other hand, https://github.com/absalomedia/sassphp is the source used to package this binding in Ubuntu 18.04 and newer.
2020-04-14 16:20:14 -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
roydukkey
9d4c49a319
Remove $ from 'variable' in the @debug insight (#436) 2020-03-03 12:52:54 -08:00
Awjin Ahn
8c5d417206
Increase the indent size for function definition docs. (#428) 2020-02-24 12:33:25 -08: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
tatianamac
8ecf646576 ♻️ Redo undone changes that git undid 2019-12-27 12:16:30 -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
569efcc4a7 🦐 Address undone git edits sob 2019-12-19 17:25:38 -08:00
tatianamac
4466eb75a7 🔗 Fix busted link thats breaking everything 2019-12-18 16:26:35 -08:00
tatianamac
31d1bf5ae8 Revert "🦐 Fixed smol edits from Jina"
This reverts commit be52b5d79b6721ccd68ea9f800a5863aae12a13e.
2019-12-18 16:13:27 -08:00
tatianamac
be4d0d17ee 🦐 Fixed smol edits from Jina 2019-12-18 16:09:00 -08:00
tatianamac
843552fa89 revert some structural changes 2019-12-18 16:09:00 -08:00
tatianamac
07e0e11b01 🔎 Add missing search input and placeholder 2019-12-18 16:09:00 -08:00
tatianamac
b1e62bc77b 🎨 Made colour palette happy and accessible 2019-12-18 16:09:00 -08:00
tatianamac
65f6f2e58d 🎨 Integrate Rouge stylesheet 2019-12-18 16:09:00 -08:00
tatianamac
8e2bc0d6f1 ✏️ Revised language for alert banner 2019-12-18 16:09:00 -08:00
tatianamac
293d310dfa Fixes post feedback 2019-12-18 16:09:00 -08:00
tatianamac
dcc6a4789e 🎨 Background color 2019-12-18 16:09:00 -08:00
tatianamac
bb1ca93ddc 🔗 Added skip link 2019-12-18 16:09:00 -08:00
tatianamac
f5f2757e9d ⚒ Fixed header issues 2019-12-18 16:08:14 -08:00
tatianamac
f303f7fd97 ⚒ Fixed h-tag hierarchy issues 2019-12-18 16:08:14 -08:00
tatianamac
2d166d3b10 Fix keyboard focus and aside issues 2019-12-18 16:08:14 -08:00
tatianamac
beac1ac6f2 ⚒ Fix menu a11y issues 2019-12-18 16:08:14 -08:00
tatianamac
fe483b0a8c ⚒ Add structural menus 2019-12-18 16:08:14 -08:00
tatianamac
41ca35e9e2 ⚒ Structural changes to make page more semantic 2019-12-18 16:08:14 -08:00
tatianamac
80e672a3e0 Small a11y edits 2019-12-18 16:00:40 -08:00
tatianamac
fa3216b4d4 🎨 Improve a11y of text 2019-12-18 16:00:40 -08:00
tatianamac
fa05e1d3f7 🔡 Added pre-wrap so code wraps and prevents scrollbar in pre 2019-12-18 16:00:40 -08:00
tatianamac
ffc7918998 Hierarchy changes for a11y 2019-12-18 16:00:40 -08:00
Natalie Weizenbaum
19aede2a01 Link to URLs without ".html" at the end 2019-12-18 16:00:40 -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
123Haynes
91d26fa4e6 change url to the libsass-maven-plugin (#412)
This commit changes the url of the libsass-maven-plugin to an
actively maintained fork.  
The jsass project already links to the fork as well.
2019-11-18 13:52:05 -08:00
Natalie Weizenbaum
e704afbd74 Link to URLs without ".html" at the end 2019-11-13 14:54:11 -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
Natalie Weizenbaum
c0e78caac3
Revert "Update jQuery to 3.4.1 (#398)" (#407)
This reverts commit 33b5fe0a1d.
2019-11-07 18:03:46 -08:00
Adekunle Oduye
a3ee04c5d5 [hotfix-400] Adjusted to anonymous function (#404) 2019-11-07 11:13:49 -08:00
Martijn Cuppens
33b5fe0a1d Update jQuery to 3.4.1 (#398) 2019-10-29 18:25:36 +00: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
Adekunle Oduye
06c5a72833 [hotfix-387] Fix broken toggle (#389)
Closes #387
2019-10-18 06:37:23 +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
Adekunle Oduye
26a515c3a9 [docs] Sticky Navigation (#373)
* [docNav] Moved h3 title into nav wrapper

* [docNav] Init styles for doc navigation component

* [docNav] Import doc navigation component into sass.css.scss

* [docNav] Functional to make doc navigation sticky on scroll

* [docNav] Rename js class name and changed from single to double quotes

* [docNav] Change class name to sl-js-nav--is-sticky

* [docNav] renamed doc-navigation to navigation and removed nesting

* [docNav] renamed doc-navigation to navigation

* [docNav] Added carriage return after h3
2019-10-12 09:55:30 -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
Đăng Tú
8a706f57a6 Correct guide (#379)
Line 224: filename
2019-10-10 14:46:21 -07:00
Danny Banks
3d396c3581 Remove simply from docs (#378) 2019-10-10 14:10:57 -07:00
Natalie Weizenbaum
55e495cad6
Fix the link to the module system blog post (#376) 2019-10-02 11:19:55 -07:00
Christophe Coevoet
d139d52954 Fix links in the migrator doc (#377) 2019-10-02 11:19:27 -07:00
Natalie Weizenbaum
e6ea1e7e72 Merge remote-tracking branch 'origin/feature.use' into merge-use 2019-10-01 18:25:22 -07:00
Jennifer Thakar
1697b562ef Update migrator docs to reflect new changes (#375) 2019-10-01 18:24:35 -07:00
Natalie Weizenbaum
5ebd0e4c32 Update the top-level callout to mention the module system 2019-10-01 15:24:42 -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
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
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
Galdor Takacs
fe63cfa534 styleguide/code: Remove obsolete line forgotten in 92d9baf850 2019-05-10 05:37:51 +02: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
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
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
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
7120ef2432
Indicate that Ruby Sass is end-of-life (#319)
Closes #206
2019-04-05 15:48:12 -07:00
Natalie Weizenbaum
bf21b7f160
Merge pull request #317 from sass/adjacent-tabs
Render syntax examples using adjacent tabs if they're narrow enough

Closes #311
2019-04-04 23:56:06 -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
be95e0c7df Allow examples to split even if they can't split in the middle 2019-03-28 19:13:31 -07:00
Natalie Weizenbaum
f56c48cafc Render syntax examples using adjacent tabs if they're narrow enough
Closes #311
2019-03-28 19:13:22 -07:00
Natalie Weizenbaum
31ade4eebd Don't make syntax switcher arrows invisible in callouts (#312)
I'm not sure why this was done initially, but it seems wrong?
2019-03-20 03:47:13 +02:00
Natalie Weizenbaum
e22698388e
Merge branch 'wip.reference' into function-return 2019-03-19 13:40:00 -07:00
Natalie Weizenbaum
78429ae1b4
Add permalink icons to function API docs (#309)
Closes #308
2019-03-18 17:49:03 -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
36a1610c62 Always select SCSS by default 2019-03-11 02:02:38 -07:00
Natalie Weizenbaum
1d718a3fb3
Merge branch 'wip.reference' into function-return 2019-03-10 23:23:00 -07:00
Natalie Weizenbaum
d0c1079b78
Merge branch 'wip.reference' into impl-status 2019-03-10 23:22:02 -07:00
Natalie Weizenbaum
3b1a93afe9 Add a light border to callouts (#300)
This helps them stand out a tiny bit more, especially in functions
where their backgrounds are very similar to the function background.
2019-03-10 09:11:48 -05:00
Natalie Weizenbaum
f24f5927cd Fix the whitespace above code examples once and for all (#304)
Closes #302
2019-03-10 09:10:50 -05: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
7fd5bd1c7a Tweak impl status styling
* Make the font smaller to make them less prominent and help visually
  associate the callout with the list.
* Decrease the top margin to more clearly associate them with their
  preceding header.
* Lighten the callout background when in another callout to make it
  more visible.
* Animate the expand button.
2019-03-08 16:45:43 -08:00
Natalie Weizenbaum
681d63c698 Follow the style guide for implementation notes 2019-03-08 15:26:48 -08: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
Natalie Weizenbaum
93b739b04f Show SCSS syntax by default 2019-03-04 19:32:49 -08:00
Jina Anne
f6f238b3ea callout update 2019-03-04 19:11:26 -08:00
Jina Anne
902ca93412 Merge branch 'wip.reference' of github.com:sass/sass-site into wip.reference 2019-03-04 18:36:39 -08:00
Jina Anne
e541d4a6ef impl 2019-03-04 18:36:34 -08:00
Natalie Weizenbaum
ce1dfc1585 Fix some mixed-up links 2019-03-04 18:30:15 -08:00
Jina Anne
50eef3ca48 Merge branch 'wip.reference' of github.com:sass/sass-site into wip.reference 2019-03-04 18:29:30 -08:00
Jina Anne
ac992b3233 implementation 2019-03-04 18:29:20 -08:00
Natalie Weizenbaum
40e116a9ed Include return types in function signatures
Closes #298
2019-03-04 18:28:38 -08:00
Natalie Weizenbaum
8274243798 Fix a typo 2019-03-04 18:08:04 -08:00
Jina Anne
aa8ba21b75 fix code 2019-03-04 18:07:39 -08:00
Jina Anne
ff521bdbd0 fix code 2019-03-04 18:06:06 -08:00
Jina Anne
0408f08bd7 improve search box alignment 2019-03-04 18:03:07 -08:00
Jina Anne
2aea914aef Merge branch 'wip.reference' of github.com:sass/sass-site into wip.reference 2019-03-04 17:54:40 -08:00
Jina Anne
24fd1d9dd3 type tweak 2019-03-04 17:51:45 -08:00
Natalie Weizenbaum
0e8da5c350 Don't use :code for code blocks (#296)
For some reason, :code seems to add an empty line at the end of its
code block. This uses Markdown code blocks instead, although in order
to work around a RedCarpet bug it has to indent them strangely.
2019-03-04 19:46:32 -06:00
Jina Anne
1172c29570 impl-status styling 2019-03-04 17:27:20 -08:00
Jina Anne
03372dc401 style functions 2019-03-04 17:19:06 -08:00
Jina Anne
6a67728ab5 fix nav item spacing 2019-03-04 16:59:06 -08:00
Jina Anne
97042a5a28 make nav code not wrap 2019-03-04 16:55:24 -08:00
Jina Anne
096c6512f3 condense home 2019-03-04 16:50:23 -08:00
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
Ihor Sychevskyi
702fb86f23 upd current date (#278) 2019-03-04 15:09:01 -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
05601451cd Fix the sitemap (#290)
Closes #286
2019-03-04 15:05:31 -06:00
Natalie Weizenbaum
d4eb2ef3f1 Always use HTTPS (#291)
* Make all links to the Sass site use HTTPS

* Force all requests to use HTTPS
2019-03-04 15:04:23 -06:00
Scott Kellum
9f3dc12a2c Modify the respectful language to include those outside the Sass community as well (#292) 2019-03-04 15:02:50 -06:00
onbcst
e8260e80e8 Rewrite python section. (#282)
The last commit to `python-scss` dates back to 2014.
2019-02-25 17:05:24 -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
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