Skip to content

Commit 92be56e

Browse files
author
markzegarelli
authored
Merge branch 'master' into littledata-docs-update
2 parents 6282718 + 6f4697e commit 92be56e

File tree

162 files changed

+5353
-2572
lines changed

Some content is hidden

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

162 files changed

+5353
-2572
lines changed

.github/workflows/link-check.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# This is a basic workflow to help you get started with Actions
2+
3+
name: Link Check
4+
5+
# Controls when the action will run.
6+
on:
7+
# Triggers the workflow on push or pull request events but only for the master branch
8+
pull_request:
9+
10+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
11+
jobs:
12+
markdown-link-check:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@master
16+
- uses: gaurav-nelson/github-action-markdown-link-check@v1
17+
with:
18+
use-quiet-mode: 'yes'
19+
config-file: '.mlc-config.json'
20+
use-verbose-mode: 'yes'
21+
check-modified-files-only: 'yes'

.mlc-config.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"replacementPatterns": [
3+
{
4+
"pattern": "^/docs",
5+
"replacement": "/github/workspace/src"
6+
},
7+
{
8+
"pattern": "(\\S+?)\/(\\S+?)\/?$",
9+
"replacement": "$1/$2.md"
10+
}
11+
]
12+
}

.vale.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ StylesPath = vale-styles
33
Vocab = Docs
44

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

.vscode/launch.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": []
7+
}

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ GEM
108108
rb-fsevent (0.10.4)
109109
rb-inotify (0.10.1)
110110
ffi (~> 1.0)
111-
rexml (3.2.4)
111+
rexml (3.2.5)
112112
rouge (3.25.0)
113113
ruby-enum (0.8.0)
114114
i18n

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@ serve: package
5353
catalog: vendor/bundle
5454
@node scripts/catalog.js
5555

56+
.PHONY: changelog
57+
changelog: vendor/bundle
58+
@node scripts/changelog.js
59+
5660
.PHONY: sidenav
5761
sidenav: vendor/bundle
5862
@node scripts/nav.js

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ Each piece of frontmatter does something special!
189189
#### Content-related frontmatter
190190
- `beta`: default false. When true, show an "in beta" warning in the page layout (see the warning in `_includes/content/beta-note.md`)
191191
- `rewrite`: defaults to false. This is a legacy frontmatter flag that comes from the old `site-docs` repo, and which labels any destination that was rewritten in ~2018 to a standardized template. It disables the duplicate "connection modes" table that would otherwise show up in the boilerplate content at the end of the page.
192+
- `hide-dossier`: defaults to false. When true, hides the "quick info" box at the top of a destination page.
192193
- `hide-boilerplate`: defaults to false. When true, none of the content from `destination-footer.md` is appended to the destination page.
193194
- `hide-cmodes`: defaults to false. A renaming of "rewrite" for more clarity, hides the connection modes table in the boilerplate.
194195
- `hide-personas-partial`: defaults to false. When true, hides the section of content from `destination-footer.md` that talks about being able to receive personas data.

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)

netlify.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,12 @@
44
# ignore = "git log -1 --pretty=%B | ( ! grep -q '\[netlify\-build\]' )"
55
# Ignore if [netlify-ignore] is present
66

7+
# Don't build if there are no changes to src/
8+
ignore = "git diff --quiet HEAD^ HEAD src/"
9+
710
[context.deploy-preview]
811
command = "yarn develop"
9-
ignore = "git log -1 --pretty=%B | ( grep -q '\\[netlify\\-ignore\\]' )"
12+
ignore = "./scripts/ignore.sh"
1013

1114
[[redirects]]
1215
from = "/docs/*"

0 commit comments

Comments
 (0)