Skip to content

Commit ea7f995

Browse files
author
markzegarelli
authored
Merge branch 'master' into dependabot/bundler/nokogiri-1.11.4
2 parents a4f9dc7 + 8e00998 commit ea7f995

File tree

131 files changed

+3380
-2085
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

131 files changed

+3380
-2085
lines changed

.vale.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ Vocab = Docs
44

55
[*.md]
66
BasedOnStyles = write-good, segment
7+
TokenIgnores = ({% .* %})

js/feedback/index.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,9 @@ export default function() {
3232
const tooltips = tippy(buttons)
3333
const defaultSettings = {
3434
interactive: true,
35-
placement: 'bottom',
36-
boundary: 'viewport',
35+
flip: true,
36+
placement: 'bottom-end',
37+
boundary: '.docs',
3738
trigger: 'manual',
3839
onMount: (tooltip) => {
3940
const sendButton = document.querySelector(SEND_SELECTOR)

package-lock.json

Lines changed: 28 additions & 29 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scripts/catalog.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ const slugify = (displayName) => {
2222
if (slug === 'roku-alpha') slug = 'roku'
2323
if (slug === 'shopify-by-littledata') slug = 'shopify-littledata'
2424
if (slug === 'talon-one') slug = 'talonone'
25+
if (slug == 'google-adwords-remarketing-lists-customer-match') slug = 'adwords-remarketing-lists'
26+
if (slug == 'canny-classic') slug = 'canny'
2527
return slug
2628
}
2729

scripts/env.sh

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,20 +70,30 @@ else
7070
echo " ✔ Yarn already installed"
7171
fi
7272

73-
brew install ruby
73+
# May 2021 - replacing the brew instructions with an rvm command
74+
# rvm helps keep the system ruby separate from the jekyll one
75+
# we'll need to periodically update this with the latest version of ruby we use
76+
# brew install ruby
77+
78+
curl -sSL https://get.rvm.io | bash -s stable
79+
rvm install 2.7
80+
rvm --default use 2.7
81+
7482

7583
which -s bundler
7684
if [[ $? != 0 ]] ; then
77-
gem install -n /usr/local/bin bundler:2.1.2
78-
gem install bundler:2.1.2 --user-install
85+
gem install bundler:2.2.2
7986
echo " ✔ Bundler installed"
8087
else
8188
echo " ✔ Bundler already installed"
8289
fi
8390

84-
echo " Updating your Gem installation. Please enter your password to sudo."
85-
sudo gem update --system -n /usr/local/bin
86-
echo "Gem version " $(gem --version) "installed"
91+
echo " Installing gems for the docs repo."
92+
bundle install
93+
94+
#echo " Updating your Gem installation. Please enter your password to sudo."
95+
#sudo gem update --system -n /usr/local/bin
96+
#echo "Gem version " $(gem --version) "installed"
8797

8898
# can't get this working because comparing version strings is complicated.
8999
# which -s gem

scripts/ignore.sh

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,30 @@ log=$(env -i git log -1 --pretty=%B)
66
# run a series of checks for common reasons that we shouldn't preview build.
77
# if no checks match, exit with code 1 to run the build
88

9+
# Force a build
10+
if echo $log | grep -1 'netlify\-build'; then
11+
echo "Force build becuase Netlify is a benevolent overseer"
12+
exit 1
13+
914
# ignore for simple typo fixes
10-
if echo "$log" | grep -q 'typo'; then
15+
elif echo "$log" | grep -q 'typo'; then
16+
echo "Build ignored because 'typo' is in the commit message."
1117
exit
1218
# ignore link / url updates
1319
elif echo "$log" | grep -q 'link'; then
20+
echo "Build ignored because 'link' is in the commit message."
1421
exit
1522
# ignore when the ignore tag is explicitly added
1623
elif echo "$log" | grep -q 'netlify\-ignore'; then
24+
echo "Build ignored because it was requested."
1725
exit
1826
# ignore dependabot updates
1927
elif echo "$log" | grep -q 'dependabot'; then
28+
echo "Ignoring dependabot update"
2029
exit
2130
# ignore when master is merged into a branch
22-
elif echo "$log" | grep -q 'Merge branch \SMaster\S'; then
31+
elif echo "$log" | grep -q 'Merge branch \Smaster\S'; then
32+
echo "Build ignored because it's only an update from the main branch."
2333
exit
2434
else
2535
exit 1

src/_data/catalog/destination_categories.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# AUTOGENERATED FROM PLATFORM API. DO NOT EDIT
2-
# destination categories last updated 2021-05-17
2+
# destination categories last updated 2021-06-23
33
items:
44
- display_name: Email Marketing
55
slug: email-marketing

0 commit comments

Comments
 (0)