Skip to content

Commit 19c5b5e

Browse files
author
George Song
committed
style: prettier non-mdx files according to new version and rules
Former-commit-id: f420f12
1 parent d6ca2d3 commit 19c5b5e

File tree

116 files changed

+214911
-25038
lines changed

Some content is hidden

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

116 files changed

+214911
-25038
lines changed

.devcontainer/devcontainer.json

+24-25
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,32 @@
1-
// For format details, see https://aka.ms/vscode-remote/devcontainer.json
1+
// For format details, see https://aka.ms/vscode-remote/devcontainer.json
22
{
3-
"name": "EDB Docs w/ Python 3 and Node.js 14",
4-
"dockerFile": "Dockerfile",
3+
"name": "EDB Docs w/ Python 3 and Node.js 14",
4+
"dockerFile": "Dockerfile",
55

6-
// Set *default* container specific settings.json values on container create.
7-
"settings": {
8-
"terminal.integrated.shell.linux": "/bin/bash"
9-
},
6+
// Set *default* container specific settings.json values on container create.
7+
"settings": {
8+
"terminal.integrated.shell.linux": "/bin/bash"
9+
},
1010

11-
// Add the IDs of extensions you want installed when the container is created.
12-
"extensions": [
13-
"dbaeumer.vscode-eslint",
14-
"ms-azuretools.vscode-docker",
15-
"eamodio.gitlens",
16-
"github.vscode-pull-request-github"
17-
],
11+
// Add the IDs of extensions you want installed when the container is created.
12+
"extensions": [
13+
"dbaeumer.vscode-eslint",
14+
"ms-azuretools.vscode-docker",
15+
"eamodio.gitlens",
16+
"github.vscode-pull-request-github"
17+
],
1818

19-
// Use 'forwardPorts' to make a list of ports inside the container available locally.
20-
// "forwardPorts": [8000],
21-
"appPort": [8000],
19+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
20+
// "forwardPorts": [8000],
21+
"appPort": [8000],
2222

23-
// Use 'postCreateCommand' to run commands after the container is created.
24-
"postCreateCommand": "yarn install",
23+
// Use 'postCreateCommand' to run commands after the container is created.
24+
"postCreateCommand": "yarn install",
2525

26-
// docker in docker (https://github.com/microsoft/vscode-dev-containers/blob/master/script-library/docs/docker-in-docker.md)
27-
"runArgs": ["--init", "--privileged"],
28-
"overrideCommand": false
26+
// docker in docker (https://github.com/microsoft/vscode-dev-containers/blob/master/script-library/docs/docker-in-docker.md)
27+
"runArgs": ["--init", "--privileged"],
28+
"overrideCommand": false
2929

30-
// Uncomment to connect as a non-root user. See https://aka.ms/vscode-remote/containers/non-root.
31-
// "remoteUser": "node"
30+
// Uncomment to connect as a non-root user. See https://aka.ms/vscode-remote/containers/non-root.
31+
// "remoteUser": "node"
3232
}
33-
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,31 @@
11
---
22
name: Problem with a topic
33
about: Report a problem you've observed while reading a topic
4-
title: 'Problem on (PUT PAGE PATH / URL / TITLE HERE)'
5-
labels: ''
6-
assignees: ''
7-
4+
title: "Problem on (PUT PAGE PATH / URL / TITLE HERE)"
5+
labels: ""
6+
assignees: ""
87
---
98

109
## Summary
10+
1111
A short description of the problem you observed. Ex: "Code sample fails with error", "Link is broken"
1212

1313
## Where did you see the problem?
1414

1515
Describe the location within the text, ex: "in the section titled 'Further reading', the 2nd link doesn't load"
1616

1717
## Expected behavior
18+
1819
Describe what you expected, changes you'd like to see, etc.
1920

2021
## Screenshots
22+
2123
If applicable, paste / upload screenshots to illustrate the problem you saw
2224

2325
## Browser / Platform
26+
2427
Include the name of the browser and operating system you were using, along with versions
2528

2629
## Additional notes
30+
2731
Anything else you'd like to add that might help us to fix the problem
+6-5
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
11
---
22
name: Propose a new topic
33
about: Suggest the addition of a new page or section
4-
title: ''
5-
labels: 'enhancement'
6-
assignees: ''
7-
4+
title: ""
5+
labels: "enhancement"
6+
assignees: ""
87
---
98

109
## Summary
10+
1111
A short description of what you'd like to see covered
1212

1313
## Background info
1414

1515
What do you already know about the topic? What would you like to learn? What sort of things will this information help you to do?
1616

17-
(If you're proposing this topic because you think it would benefit *someone else*, then summarize *their* background knowledge and needs)
17+
(If you're proposing this topic because you think it would benefit _someone else_, then summarize _their_ background knowledge and needs)
1818

1919
## Additional notes
20+
2021
Anything else you'd like to add that might help us to fix the problem
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
---
22
name: Suggest an addition
33
about: Suggest an improvement to a topic
4-
title: 'Idea for (PUT PAGE PATH / URL / TITLE HERE)'
5-
labels: 'enhancement'
6-
assignees: ''
7-
4+
title: "Idea for (PUT PAGE PATH / URL / TITLE HERE)"
5+
labels: "enhancement"
6+
assignees: ""
87
---
98

109
## Summary
10+
1111
A short description of what you'd like to see. Ex: "An example using a Lateral Join would be nice"
1212

1313
## Where would you like to see this added?
1414

1515
Describe the location within the page's text that would be improved by addition (if relevant).
1616

1717
## Rationale
18-
Why you'd like to see this addition. Be detailed! Ex: "Results currently require post-processing to bring in contextual info; the use of a lateral join to perform this step would simplify the example while demonstrating a pure-SQL solution"
1918

19+
Why you'd like to see this addition. Be detailed! Ex: "Results currently require post-processing to bring in contextual info; the use of a lateral join to perform this step would simplify the example while demonstrating a pure-SQL solution"
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
---
22
name: There is a typo (or minor mistake)
33
about: Report a small problem you've observed while reading a topic
4-
title: 'Problem on (PUT PAGE PATH / URL / TITLE HERE)'
5-
labels: ''
6-
assignees: ''
7-
4+
title: "Problem on (PUT PAGE PATH / URL / TITLE HERE)"
5+
labels: ""
6+
assignees: ""
87
---
98

109
Please write a short description of the problem you observed. Ex: "thier is a misspelling", "https://grogle.com/search is broken"

.github/pull_request_template.md

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
Please list, at a high level, what changed in your branch. If you changed content, include the product, guide, and version as applicable.
44

55
**Examples**
6+
67
- Fixed typo in EPAS 13 epas_inst_linux guide
78
- Added more detail to ARK 3.5 getting started guide introduction
89
- Fixed broken link on `/supported-open-source/pgbackrest/05-retention_policy/` page
@@ -12,6 +13,7 @@ Please list, at a high level, what changed in your branch. If you changed conten
1213
Please check all boxes that apply (`[ ]` is unchecked, `[x]` is checked)
1314

1415
**Content**
16+
1517
- [ ] This PR adds new content
1618
- [ ] This PR changes existing content
1719
- [ ] This PR removes existing content

.github/workflows/deploy-develop.yml

+54-54
Original file line numberDiff line numberDiff line change
@@ -7,62 +7,62 @@ jobs:
77
build-deploy:
88
runs-on: ubuntu-latest
99
steps:
10-
- name: Cleanup disk
11-
uses: curoky/[email protected]
12-
with:
13-
retain: 'python,node'
14-
- uses: actions/checkout@v2
15-
with:
16-
ref: develop
17-
fetch-depth: 0 # fetch whole repo so git-restore-mtime can work
18-
- name: Adjust file watchers limit
19-
run: echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
10+
- name: Cleanup disk
11+
uses: curoky/[email protected]
12+
with:
13+
retain: "python,node"
14+
- uses: actions/checkout@v2
15+
with:
16+
ref: develop
17+
fetch-depth: 0 # fetch whole repo so git-restore-mtime can work
18+
- name: Adjust file watchers limit
19+
run: echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
2020

21-
- uses: actions/setup-node@v1
22-
with:
23-
node-version: '14.x'
24-
- name: Install yarn
25-
run: sudo npm -g install yarn
26-
- name: Yarn install
27-
run: yarn install --immutable
28-
env:
29-
NODE_ENV: ${{ secrets.NODE_ENV }}
21+
- uses: actions/setup-node@v1
22+
with:
23+
node-version: "14.x"
24+
- name: Install yarn
25+
run: sudo npm -g install yarn
26+
- name: Yarn install
27+
run: yarn install --immutable
28+
env:
29+
NODE_ENV: ${{ secrets.NODE_ENV }}
3030

31-
- name: Checking Gatsby cache
32-
id: gatsby-cache-build
33-
uses: actions/cache@v2
34-
with:
35-
path: |
36-
public
37-
.cache
38-
key: ${{ runner.os }}-gatsby-build-develop-${{ github.run_id }}
39-
restore-keys: |
40-
${{ runner.os }}-gatsby-build-develop-
31+
- name: Checking Gatsby cache
32+
id: gatsby-cache-build
33+
uses: actions/cache@v2
34+
with:
35+
path: |
36+
public
37+
.cache
38+
key: ${{ runner.os }}-gatsby-build-develop-${{ github.run_id }}
39+
restore-keys: |
40+
${{ runner.os }}-gatsby-build-develop-
4141
42-
- name: Fix mtimes
43-
run: yarn fix-mtimes --force
44-
- name: Gatsby build
45-
run: yarn build
46-
env:
47-
APP_ENV: staging
48-
NODE_ENV: ${{ secrets.NODE_ENV }}
49-
NODE_OPTIONS: --max-old-space-size=4096
50-
ALGOLIA_API_KEY: ${{ secrets.ALGOLIA_API_KEY }}
51-
ALGOLIA_APP_ID: ${{ secrets.ALGOLIA_APP_ID }}
52-
ALGOLIA_INDEX_NAME: edb-docs-staging
53-
INDEX_ON_BUILD: true
42+
- name: Fix mtimes
43+
run: yarn fix-mtimes --force
44+
- name: Gatsby build
45+
run: yarn build
46+
env:
47+
APP_ENV: staging
48+
NODE_ENV: ${{ secrets.NODE_ENV }}
49+
NODE_OPTIONS: --max-old-space-size=4096
50+
ALGOLIA_API_KEY: ${{ secrets.ALGOLIA_API_KEY }}
51+
ALGOLIA_APP_ID: ${{ secrets.ALGOLIA_APP_ID }}
52+
ALGOLIA_INDEX_NAME: edb-docs-staging
53+
INDEX_ON_BUILD: true
5454

55-
- name: Netlify deploy
56-
run: |
57-
sudo yarn global add netlify-cli
58-
netlify deploy --dir=public --prod
59-
env:
60-
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
61-
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_DEVELOP_SITE_ID }}
55+
- name: Netlify deploy
56+
run: |
57+
sudo yarn global add netlify-cli
58+
netlify deploy --dir=public --prod
59+
env:
60+
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
61+
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_DEVELOP_SITE_ID }}
6262

63-
- uses: act10ns/slack@v1
64-
with:
65-
status: ${{ job.status }}
66-
if: failure()
67-
env:
68-
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
63+
- uses: act10ns/slack@v1
64+
with:
65+
status: ${{ job.status }}
66+
if: failure()
67+
env:
68+
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}

0 commit comments

Comments
 (0)