-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DEVDOCS-4719: [migrate] Upgrade docs to new Dev Center syntax and spe…
…c standards (#58) Co-authored-by: Sarah Riehl <[email protected]> Co-authored-by: Traci Porter <[email protected]> Co-authored-by: Andrea Dao <[email protected]> Co-authored-by: Tina Gomez <[email protected]> Co-authored-by: Constanze Kratel <[email protected]> Co-authored-by: Mark Murphy <[email protected]> Co-authored-by: Katie Hoesley <[email protected]> Co-authored-by: Stephen Hilliard <[email protected]> Co-authored-by: Heather Barr <[email protected]> Co-authored-by: Matthew Volk <[email protected]> Co-authored-by: Nate Stewart <[email protected]>
- Loading branch information
1 parent
bfe016f
commit 6aa40a0
Showing
15 changed files
with
3,478 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"extends": ["plugin:mdx/recommended"], | ||
// optional, if you want to lint code blocks at the same time | ||
"settings": { | ||
"mdx/code-blocks": true, | ||
// optional, if you want to disable language mapper, set it to `false` | ||
// if you want to override the default language mapper inside, you can provide your own | ||
"mdx/language-mapper": {} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: lint-valid-mdx | ||
|
||
on: | ||
pull_request: | ||
branches: [migrate-DEVDOCS-4719] | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Use Node.js v17.x | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 17.x | ||
- run: npm ci | ||
- run: npm run lint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
|
||
.idea | ||
node_modules | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,28 @@ | ||
```json | ||
{ | ||
"banners": { | ||
"bottom": [ | ||
"<div id='1370512507'></div>" | ||
], | ||
"bottom_metadata": [ | ||
{ | ||
"banner-name": "Example Bottom Banner", | ||
"content": "", | ||
"id": "3", | ||
"location": "bottom" | ||
} | ||
], | ||
"top": [ | ||
"<div id='2102203073'></div>" | ||
], | ||
"top_metadata": [ | ||
{ | ||
"banner-name": "Example Top Banner", | ||
"content": "", | ||
"id": "2", | ||
"location": "top" | ||
} | ||
] | ||
} | ||
} | ||
``` | ||
```json filename="banners" showLineNumbers copy | ||
{ | ||
"banners": { | ||
"bottom": [ | ||
"<div id='1370512507'></div>" | ||
], | ||
"bottom_metadata": [ | ||
{ | ||
"banner-name": "Example Bottom Banner", | ||
"content": "", | ||
"id": "3", | ||
"location": "bottom" | ||
} | ||
], | ||
"top": [ | ||
"<div id='2102203073'></div>" | ||
], | ||
"top_metadata": [ | ||
{ | ||
"banner-name": "Example Top Banner", | ||
"content": "", | ||
"id": "2", | ||
"location": "top" | ||
} | ||
] | ||
} | ||
} | ||
``` |
Oops, something went wrong.