269 Commits

Author SHA1 Message Date
Adam Hollett
e19019517a Merge pull request #1403 from EricFromCanada/gh-pages
Documentation updates for v5.0.0
2021-04-28 14:52:03 -03:00
EricFromCanada
b98d3d6097 Drop blank lines from input examples 2021-04-28 13:43:02 -04:00
EricFromCanada
77c2dfa989 Add new Template page for comment, raw, liquid, echo, render, include 2021-04-28 13:42:33 -04:00
EricFromCanada
d8f5d65e32 Avoid anchor name conflict with introduction page 2021-04-28 13:42:33 -04:00
EricFromCanada
c2fab68b85 Improve wording & formatting 2021-04-28 13:42:33 -04:00
EricFromCanada
c99ddcbfc8 Fix wrong space characters & hard returns 2021-04-28 13:42:33 -04:00
EricFromCanada
fb8432ca16 Mention usage of empty and EmptyDrop 2021-04-28 13:42:33 -04:00
EricFromCanada
1b53edf052 default now has an allow_false parameter 2021-04-28 13:42:33 -04:00
EricFromCanada
b318616a97 offset can have a continue value in for loops 2021-04-28 13:42:33 -04:00
EricFromCanada
fc5d02fe1c capitalize also downcases each remaining letter 2021-04-28 13:42:33 -04:00
EricFromCanada
0f83e333c4 Ranges can be assigned to variables 2021-04-28 13:42:33 -04:00
EricFromCanada
09e4fef712 slice can be used with arrays 2021-04-22 17:19:13 -04:00
EricFromCanada
9e0dc135ca {% when %} can have multiple cases 2021-04-22 17:19:13 -04:00
EricFromCanada
d4222ff2b6 Numbers and array indices can be negative 2021-04-22 17:19:13 -04:00
EricFromCanada
c4dce51f62 Filters can be used during variable assignment 2021-04-22 17:19:13 -04:00
EricFromCanada
9542f1d961 Show version badge on recently-added tags 2021-04-22 17:19:13 -04:00
EricFromCanada
32a327ed30 Update URLs 2021-04-22 17:19:13 -04:00
EricFromCanada
e47ea38940 Condense and improve examples 2021-04-22 17:19:13 -04:00
EricFromCanada
537f53ef7c Remove ignored Gemfile.lock 2021-04-22 08:48:52 -04:00
Dylan Thacker-Smith
bcf72e42d2 Merge pull request #1419 from ADTC/ghp-readme-install
Expanded instructions for getting started
2021-03-30 09:34:29 -07:00
ADTC
7cfa4aa8bc Update README with first-time install instructions
In order to use `bundle` you first have to install it with Ruby. The instructions are expanded to include this procedure.
2021-03-30 14:41:39 +08:00
ADTC
cd467810fb Install wdm Ruby gem in Windows
To avoid polling the file system for changes, Jekyll recommends installing the Windows Directory Monitor in a Windows environment.

After merging this, those on Windows will need to run `bundle install` again. This shouldn't affect other environments.
2021-03-30 10:03:25 +08:00
Dylan Thacker-Smith
109a1fe88a Ignore tags file to avoid conflicts with using ctags (#1411) 2021-03-17 03:44:19 -04:00
Dylan Thacker-Smith
67f086040a Merge pull request #1410 from Shopify/gh-pages-fix-ci
docs CI: Use github actions and non-EOL ruby version
2021-03-16 17:37:43 -04:00
Dylan Thacker-Smith
aa6240f43c Upgrade local dependencies to match what github pages uses
to match what is currently on https://pages.github.com/versions/
2021-03-08 11:39:19 -08:00
Dylan Thacker-Smith
40bf603bfb CI: Use github actions and non-EOL ruby version
* travis-ci.org is going away, so replace it with github actions
* ruby 2.4 is no longer supported upstream, so upgrade to 2.6
2021-03-08 10:25:28 -08:00
Justin Li
ca2050446c Merge pull request #1408 from ADTC/gh-patch-1
Make the documentation for increment/decrement clearer
2021-03-07 18:31:45 -05:00
ADTC
506df22f41 Put the initial values into a code container
It looks better and more readable this way.
2021-03-05 04:17:45 +08:00
ADTC
c63fcdfe0a Apply suggestions from code review
May as well keep the description of the initial render of the tag together.

Co-authored-by: Dylan Thacker-Smith <dylan.smith@shopify.com>
2021-03-05 04:14:17 +08:00
ADTC
95dca87f49 Make the documentation for increment/decrement clearer
The increment and decrement tags are special in that they would output or echo the variable's final value onto the page (or whatever output sink you're using). This needs to be mentioned in the documentation.

Please see Shopify#1399 for more info and discussion.
2021-03-05 02:53:01 +08:00
Mike Angell
6a01c98702 Merge pull request #1147 from EricFromCanada/gh-pages-updates
Documentation fixes & improvements
2019-09-20 03:48:24 +10:00
Mike Angell
515ea65511 Ignore vendor for travis (#1171) 2019-09-20 03:41:18 +10:00
EricFromCanada
a136b74803 Grammar and word choice improvements for readability 2019-09-11 10:46:41 -04:00
EricFromCanada
adf59df3d9 Prefer double quotes for strings 2019-09-09 23:06:39 -04:00
EricFromCanada
40ab3ef17c Fixes for URLs 2019-09-09 23:05:45 -04:00
EricFromCanada
bea649dc63 Auto-generate more code samples, plus other fixes and improvements 2019-09-09 23:01:21 -04:00
EricFromCanada
ea6b176363 Relocate {% raw %} tags inside code blocks 2019-09-09 22:59:33 -04:00
EricFromCanada
9ff1b88985 Adjust whitespace 2019-09-09 22:58:29 -04:00
EricFromCanada
4cfd19a27e Create .editorconfig 2019-09-09 22:52:34 -04:00
EricFromCanada
29d3ac003a Update README instructions 2019-09-09 22:49:19 -04:00
Mike Angell
3b7538566c Merge pull request #1140 from HayatoDoi/gh-pages-pre-wrap
The code is not wrapped when reading a document from a smartphone.
2019-09-04 14:36:36 +10:00
Adam Hollett
01d1f08c6a Merge pull request #1057 from EricFromCanada/gh-pages-updates
Add additional documentation
2019-08-30 10:09:55 -04:00
HayatoDoi
1577b29127 add pre-wrap (Wrap line feed with pre element) 2019-08-29 21:21:43 +09:00
EricFromCanada
58e6e416eb Add additional documentation
Includes descriptions of logical operator order, `else` in a `for` loop, `sort`'s parameter, and dot notation for `first`/`last`/`size`.
2019-08-26 15:35:04 -04:00
Justin Li
83ce52a5f1 Merge pull request #1121 from ZakCodes/scroll-to-section
Scroll to the section of the page
2019-08-06 19:23:57 -04:00
Zakary Kamal Ismail
ecfcbc3ed5 Scroll to the current section in the sidebar 2019-08-06 18:55:08 -04:00
Justin Li
ca3a1bf995 Merge pull request #1123 from ZakCodes/collections
Use collections for the sections of the site
2019-08-06 17:54:30 -04:00
Zakary Kamal Ismail
061dabed98 Use collections for the sections of the site 2019-07-28 16:27:13 -04:00
Abdulwahaab Ahmed
d4159b6069 Updating docs to recommend users to create a development store (#1116)
Updating docs to recommend users to create a development store
2019-07-22 14:49:34 -04:00
Abdulwahaab Ahmed
ecd707cb44 Update basics/variations.md
Co-Authored-By: Clayton Smith <clayton.smith@shopify.com>
2019-07-22 14:14:03 -04:00