Skip to content

Commit 111faf9

Browse files
authored
Merge branch 'master' into gw-ldaps-docs
2 parents 3ebf5f3 + 687f197 commit 111faf9

File tree

568 files changed

+37506
-70919
lines changed

Some content is hidden

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

568 files changed

+37506
-70919
lines changed

.ci/Dockerfile.remark

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
FROM registry.gitlab.com/pipeline-components/remark-lint:latest
22

3-
43
WORKDIR /app/
54

6-
# Generic
75
#RUN apk add --no-cache
86
COPY /.ci/remark-lint /app/
97

108
# Node
11-
ENV PATH "$PATH:/app/node_modules/.bin/"
9+
ENV PATH="$PATH:/app/node_modules/.bin/"
1210
RUN yarn install && yarn cache clean
1311
ENV NODE_PATH=/app/node_modules/
1412
RUN ln -nfs /app/node_modules /node_modules
@@ -23,3 +21,6 @@ LABEL \
2321
org.label-schema.name="Remark-lint" \
2422
org.label-schema.schema-version="1.0" \
2523
org.label-schema.url="https://pipeline-components.gitlab.io/"
24+
25+
ENTRYPOINT [ "remark" ]
26+
CMD [ "" ]

.ci/remark-lint/.remark-lint.js

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
import remarkPresetLintConsistent from 'remark-preset-lint-consistent';
2+
import remarkPresetLintRecommended from 'remark-preset-lint-recommended';
3+
import remarkPresetLintMarkdownStyleGuide from 'remark-preset-lint-markdown-style-guide';
4+
import remarkFrontmatter from 'remark-frontmatter';
5+
import remarkFrontmatterSchema from 'remark-lint-frontmatter-schema';
6+
import remarkNoShellDollars from 'remark-lint-no-shell-dollars';
7+
import remarkToc from 'remark-toc';
8+
9+
const remarkConfig = {
10+
settings: {
11+
bullet: '-',
12+
plugins: [
13+
remarkPresetLintConsistent,
14+
remarkPresetLintRecommended,
15+
remarkPresetLintMarkdownStyleGuide,
16+
remarkFrontmatter,
17+
remarkFrontmatterSchema,
18+
remarkNoShellDollars,
19+
// Generate a table of contents in `## Contents`
20+
[remarkToc, { heading: '' }],
21+
],
22+
},
23+
};
24+
25+
export default remarkConfig;

.ci/remark-lint/yarn.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -435,9 +435,9 @@ concat-stream@^2.0.0:
435435
typedarray "^0.0.6"
436436

437437
cross-spawn@^7.0.0:
438-
version "7.0.3"
439-
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6"
440-
integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==
438+
version "7.0.6"
439+
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.6.tgz#8a58fe78f00dcd70c370451759dfbfaf03e8ee9f"
440+
integrity sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==
441441
dependencies:
442442
path-key "^3.1.0"
443443
shebang-command "^2.0.0"

.ci/vale/styles/Google/Ordinal.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,9 @@ level: error
55
nonword: true
66
tokens:
77
- \d+(?:st|nd|rd|th)
8+
- tenth
9+
10+
exceptions:
11+
- 0th
12+
- 50th
13+
- 90th

.ci/vale/styles/Google/Units.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ nonword: true
55
level: error
66
tokens:
77
- \b\d+(?:B|kB|MB|GB|TB)
8-
# Ignore duration literals in code blocks.
9-
- \b(?!\`)\d+(?:ns|ms|s|min|h|d)
8+
# Match time units, but not duration literals inside code blocks.
9+
- \b`(\n)?\d+(ns|ms|s|min|h|d)`\b

.ci/vale/styles/InfluxDataDocs/Terms/query-functions.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ left
128128
level
129129
like
130130
local
131+
locf
131132
lower
132133
match
133134
max

.ci/vale/styles/InfluxDataDocs/WordList.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ swap:
5555
fewer data: less data
5656
file name: filename
5757
firewalls: firewall rules
58-
fully qualified: fully-qualified
5958
functionality: capability|feature
6059
Google account: Google Account
6160
Google accounts: Google Accounts

.ci/vale/styles/config/vocabularies/InfluxDataDocs/accept.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,10 @@ influx3
6868
influxctl
6969
influxd
7070
influxdata.com
71-
iox
71+
(iox|IOx)
7272
keep-url
7373
lat
74-
locf
74+
(locf|LOCF)
7575
logicalplan
7676
noaa|NOAA
7777
npm|NPM

.husky/_/build

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,6 @@ call_lefthook()
4848
elif command -v mint >/dev/null 2>&1
4949
then
5050
mint run csjones/lefthook-plugin "$@"
51-
elif command -v npx >/dev/null 2>&1
52-
then
53-
npx lefthook "$@"
5451
else
5552
echo "Can't find lefthook in PATH"
5653
fi

.husky/_/pre-commit

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,6 @@ call_lefthook()
4848
elif command -v mint >/dev/null 2>&1
4949
then
5050
mint run csjones/lefthook-plugin "$@"
51-
elif command -v npx >/dev/null 2>&1
52-
then
53-
npx lefthook "$@"
5451
else
5552
echo "Can't find lefthook in PATH"
5653
fi

0 commit comments

Comments
 (0)