Commit Graph

1221 Commits

Author SHA1 Message Date
Jonny Gerig Meyer
2bea6c1327
Merge branch 'redirects' into remove-cruft
* redirects:
  Implement remainder of redirects
  Confirm hash redirects
2023-06-08 23:14:05 -04:00
Jonny Gerig Meyer
ae6b72a058
Implement remainder of redirects 2023-06-08 23:10:35 -04:00
Jonny Gerig Meyer
76fd79e6da
Confirm hash redirects 2023-06-08 22:26:33 -04:00
Jonny Gerig Meyer
8eb6b06450
Remove non-redirect-related cruft 2023-06-08 22:18:33 -04:00
Jonny Gerig Meyer
68ed9dda91
spacing 2023-06-08 21:45:34 -04:00
Jonny Gerig Meyer
c74dd3bc63
Review operators docs 2023-06-08 21:44:39 -04:00
Jonny Gerig Meyer
d0478dc67f
Warn if {% codeExample %} is used without a name. 2023-06-08 17:15:55 -04:00
Jonny Gerig Meyer
cd4b803f52
Review values docs 2023-06-08 17:10:09 -04:00
James Stuckey Weber
6ae29d6da9 Refactor debug output 2023-06-08 15:06:03 -04:00
James Stuckey Weber
c5fc59891d Merge branch 'browser-code-editor' into browser-code-editor-debug 2023-06-08 14:41:27 -04:00
James Stuckey Weber
ca007f50a9 Switch to lodash debounce 2023-06-08 18:40:42 +00:00
James Stuckey Weber
a9810ff27f Merge branch 'main' of github.com:oddbird/sass-site into browser-code-editor 2023-06-08 14:32:52 -04:00
James Stuckey Weber
5ac84217aa Escape console messages to prevent XSS 2023-06-08 18:30:30 +00:00
Sana Javed
29686849ae Removing unused code-snippets dir 2023-06-08 10:10:22 +02:00
Sana Javed
1b3a03eac1 Updating doc and code snippet paths 2023-06-08 10:05:58 +02:00
Sana Javed
b47fe39d62
Merge branch 'main' into port-docs-values 2023-06-08 09:39:34 +02:00
Jonny Gerig Meyer
ffa46e5f5b
Use LiquidJS template instead of constructing HTML in JS. 2023-06-07 16:36:06 -04:00
James Stuckey Weber
278e2fc8ef Merge branch 'browser-code-editor' into browser-code-editor-debug 2023-06-07 19:47:17 +00:00
James Stuckey Weber
7acf6a2c5f Style feedback tweaks 2023-06-07 15:45:42 -04:00
James Stuckey Weber
5e928d4020 Merge branch 'main' of github.com:oddbird/sass-site into browser-code-editor 2023-06-07 15:45:05 -04:00
Jonny Gerig Meyer
11cda5d580
Use {% capture %} blocks for args with newlines. 2023-06-07 15:44:07 -04:00
James Stuckey Weber
91e3ad75f9 Add debug output 2023-06-07 15:13:23 -04:00
Jonny Gerig Meyer
c0d7a113cb
Merge branch 'main' into builtin-modules
* main:
  Better handle the JS API docs on smaller screens (#735)
  Mention that / is interpreted as division in calculations (#734)
2023-06-07 10:32:03 -04:00
Jonny Gerig Meyer
405b421651
merge in change from upstream 2023-06-07 10:01:09 -04:00
Jonny Gerig Meyer
ac68e56e02
Merge branch 'main' into port-docs-values
* main:
  Better handle the JS API docs on smaller screens (#735)
  Mention that / is interpreted as division in calculations (#734)
2023-06-07 09:59:11 -04:00
Jonny Gerig Meyer
05a7f4d896
Merge branch 'main' of github.com:sass/sass-site
* 'main' of github.com:sass/sass-site:
  Better handle the JS API docs on smaller screens (#735)
  Mention that / is interpreted as division in calculations (#734)
2023-06-07 09:57:57 -04:00
James Stuckey Weber
80f3addecf Add code folding, remove unused imports 2023-06-07 09:55:41 -04:00
James Stuckey Weber
b85b9c1f3d Switch to proxy reactivity 2023-06-07 09:46:39 -04:00
James Stuckey Weber
70cc37aba7 Type cleanup, more robust error fallbacks 2023-06-07 09:17:37 -04:00
Natalie Weizenbaum
4ca36af82b
Better handle the JS API docs on smaller screens (#735)
In desktop mode, the sidebar always gets 1/3 of the space and the
content gets 2/3. In mobile mode, the sidebar instead goes above the
content as a table of contents.

Closes #732
2023-06-06 14:22:17 -07:00
James Stuckey Weber
a57bbef204 Make error tooltip mono font 2023-06-06 16:32:13 -04:00
James Stuckey Weber
41b12fb480 Add cursor styles for playground 2023-06-06 16:25:37 -04:00
James Stuckey Weber
04f8e8bf37 Use base layout for playground, remove docsearch from playground 2023-06-06 16:25:18 -04:00
James Stuckey Weber
88278e063d Move state from DOM to Pojo 2023-06-06 16:02:26 -04:00
Sana Javed
5c9e4896c1 Operators - Boolean 2023-06-06 21:03:28 +02:00
Sana Javed
14c83a63ed Operators - String 2023-06-06 20:57:55 +02:00
Sana Javed
098e683e63 Operators - Numeric 2023-06-06 20:47:01 +02:00
Sana Javed
b3f6df29ca Operators - Relational 2023-06-06 20:28:10 +02:00
Jonny Gerig Meyer
61731d2209
Add type defs for dart-sass build 2023-06-06 14:23:37 -04:00
James Stuckey Weber
23eeea5164 Apply debounce 2023-06-06 13:47:43 -04:00
James Stuckey Weber
bcc110b82f Handle tab for indent 2023-06-06 11:49:43 -04:00
James Stuckey Weber
eb2fe87bc5 Debounce update CSS 2023-06-06 11:33:41 -04:00
Natalie Weizenbaum
762448e723
Mention that / is interpreted as division in calculations (#734)
Also fix a broken link.
2023-06-05 17:51:26 -07:00
Sana Javed
3464e17fb4 Operators - Equality 2023-06-05 22:18:08 +02:00
Sana Javed
316bfa3dd1 Operators - Index 2023-06-05 22:11:28 +02:00
Sana Javed
d561dd2f7e Values - Functions 2023-06-05 21:41:47 +02:00
Sana Javed
7299832392 Values - Calculations 2023-06-05 21:31:32 +02:00
James Stuckey Weber
287bf560fc Add mobile flow 2023-06-05 15:06:49 -04:00
Sana Javed
95750cb9a9 Values - Null 2023-06-05 21:00:37 +02:00
Sana Javed
f3cecc0884 Porting Documentation - Values - Booleans 2023-06-05 20:40:39 +02:00
James Stuckey Weber
501adc6d3c Show error message and persist stale css 2023-06-05 18:40:15 +00:00
Sana Javed
21a2457a02 Porting Documentation - Values - Maps 2023-06-05 20:30:58 +02:00
James Stuckey Weber
9d77a79e26 Add diagnostic errors to playground 2023-06-05 17:55:56 +00:00
James Stuckey Weber
85d5abcd03 Initial pass at getting code styling close to existing 2023-06-05 16:02:44 +00:00
James Stuckey Weber
45ee2c4b03 Ensure DOM is loaded before setting up playground 2023-06-05 13:25:55 +00:00
Jonny Gerig Meyer
61b57aeb92
Do not include snippets in built site. 2023-06-02 18:18:43 -04:00
Jonny Gerig Meyer
5e239cc3c9
update comments 2023-06-02 18:06:43 -04:00
Jonny Gerig Meyer
31676bb42d
fix a few markdown issues 2023-06-02 18:02:34 -04:00
Jonny Gerig Meyer
c8b131f83e
fix build 2023-06-02 17:44:40 -04:00
Jonny Gerig Meyer
1532553ef2
Merge branch 'main' into builtin-modules
* main:
  review
  Use JSON args for compatibility tag
  typo
  typo
  Use kwargs for {% compatibility %} tag.
  clearer example line breaks
  add missing @use
  silence sass warnings
  Do not autoformat md files
  combine more markdown blocks
  indentation for remainder of docs
  indentation for syntax docs
  indentation for style-rules docs
  indentation for cli docs
  indentation for breaking-changes
  Strip indentation from more paired shortcodes.
  Try out standard indentation
2023-06-02 17:36:10 -04:00
James Stuckey Weber
34859481cb Add compilation options and tab buttons 2023-06-02 12:52:24 -04:00
Sana Javed
0022e83e3c Porting Documentation - Values - Lists 2023-06-02 18:41:47 +02:00
Sana Javed
e77957850e Porting Documentation - Values - Colors 2023-06-02 18:08:51 +02:00
Sana Javed
6984ef6bfa Updating compat tags syntax 2023-06-02 18:07:56 +02:00
Sana Javed
fde396f2d6 Merge branch 'main' into port-docs-values 2023-06-02 17:37:18 +02:00
James Stuckey Weber
486f7355a9 Start theming and layout of playground 2023-06-02 10:53:32 -04:00
James Stuckey Weber
425cafdc65 Minimal working version with CodeMirror 2023-06-02 09:24:32 -04:00
James Stuckey Weber
69f883fa71 Merge branch 'main' of github.com:oddbird/sass-site into browser-code-editor 2023-06-02 09:12:42 -04:00
Jonny Gerig Meyer
9b7f0bdbeb
Merge branch 'main' into highlight-styles 2023-06-01 18:02:22 -04:00
Jonny Gerig Meyer
679d1b1434
review 2023-06-01 17:59:54 -04:00
Jonny Gerig Meyer
4a66bbac2b
Use JSON args for compatibility tag 2023-06-01 16:56:54 -04:00
Sana Javed
bf305d0c0a Porting Documentation - Values - Index, Numbers, and Strings 2023-06-01 22:25:02 +02:00
Jonny Gerig Meyer
fd0c8a0d87
typo 2023-06-01 13:14:36 -04:00
Jonny Gerig Meyer
0b6004673f
typo 2023-06-01 11:51:49 -04:00
Jonny Gerig Meyer
6dfb87189a
Use kwargs for {% compatibility %} tag. 2023-06-01 11:43:54 -04:00
Jonny Gerig Meyer
b1dcf05688
clearer example line breaks 2023-05-31 14:11:29 -04:00
Jonny Gerig Meyer
a331c7299a
add missing @use 2023-05-31 14:03:30 -04:00
Jonny Gerig Meyer
d546a85605
silence sass warnings 2023-05-31 13:45:19 -04:00
Jonny Gerig Meyer
3b97839415
combine more markdown blocks 2023-05-31 12:44:36 -04:00
Jonny Gerig Meyer
2646cc0c22
indentation for remainder of docs 2023-05-31 12:31:53 -04:00
Jonny Gerig Meyer
5bead6bbe4
indentation for syntax docs 2023-05-31 12:22:35 -04:00
Jonny Gerig Meyer
c146c76ffc
indentation for style-rules docs 2023-05-31 12:16:59 -04:00
James Stuckey Weber
7ca60993d7 Update render import 2023-05-31 12:15:58 -04:00
James Stuckey Weber
d5f9583020 Template logic cleanup, review changes 2023-05-31 16:10:09 +00:00
Jonny Gerig Meyer
fdcb4e47d6
indentation for cli docs 2023-05-31 12:07:48 -04:00
Jonny Gerig Meyer
a46eb6b460
indentation for breaking-changes 2023-05-31 12:02:42 -04:00
James Stuckey Weber
afc5caf8ce Pass playground title to template 2023-05-31 10:25:14 -04:00
James Stuckey Weber
baf5bb4689 Merge branch 'main' of github.com:oddbird/sass-site into browser-code-editor 2023-05-31 10:18:28 -04:00
Jonny Gerig Meyer
d8eec31339
Strip indentation from more paired shortcodes. 2023-05-31 10:06:00 -04:00
James Stuckey Weber
bd585e706b Add placeholder page for playground 2023-05-31 14:04:29 +00:00
Ed Rivas
549f3d0450 Add explicit markdown docs to the rest of modules/* 2023-05-30 23:39:56 +00:00
Jonny Gerig Meyer
57ef8c18d6
Try out standard indentation 2023-05-30 17:23:34 -04:00
Ed Rivas
de2250c46f Add explicit markdown blocks to modules/colors 2023-05-30 21:14:11 +00:00
Jonny Gerig Meyer
d0c08e39f5
start review 2023-05-30 16:49:15 -04:00
Stacy Kvernmo
c7ba638b93 Merge branch 'main' into highlight-styles 2023-05-30 15:43:19 -05:00
Stacy Kvernmo
8ade38ce69 add colors to variables, add one highlight color 2023-05-30 15:42:18 -05:00
Jonny Gerig Meyer
d80252de63
Merge branch 'main' into builtin-modules
* main:
  review
  Porting Documentation - At-Rules - From CSS
  Porting Documentation - At-Rules - Flow Control - while
  Porting Documentation - At-Rules - Flow Control - for
  Porting Documentation - At-Rules - Flow Control - each
  Porting Documentation - At-Rules - Flow Control - if and else
  Porting Documentation - At-Rules - Flow Control - index
  Porting Documentation - At-Rules - at-root
  Porting Documentation - At-Rules - debug
  Porting Documentation - At-Rules - warn
  Porting Documentation - At-Rules - error
2023-05-30 16:29:11 -04:00
Jonny Gerig Meyer
5be80afa11
review 2023-05-30 16:27:01 -04:00
Stacy Kvernmo
d4a6771912 fix faux font weight issue, add scss base color 2023-05-30 15:11:36 -05:00
Ed Rivas
c2c090a82c Add missing class 2023-05-30 15:49:58 +00:00