-
-
Notifications
You must be signed in to change notification settings - Fork 317
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[docs] Lint markdown #675
Merged
oliviertassinari
merged 6 commits into
mui:master
from
oliviertassinari:lint-markdown-in-the-ci
Jul 21, 2022
Merged
[docs] Lint markdown #675
Changes from 4 commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
d665954
fix wrong title
oliviertassinari 51f7057
add markdownlint
oliviertassinari 7c71d20
fix broken link
oliviertassinari 76075b0
check in the CI
oliviertassinari f4b022d
404 link
oliviertassinari 8dc7102
fix ci
oliviertassinari File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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,30 @@ | ||
{ | ||
// MD013/line-length. Already handled by Prettier. | ||
"MD013": false, | ||
// MD033/no-inline-html. We use it from time to time, it's fine. | ||
"MD033": false, | ||
// MD034/no-bare-urls. Not a concern for us, our Markdown interpreter supports it. | ||
"MD034": false, | ||
// MD014/commands-show-output. It's OK. | ||
"MD014": false, | ||
"MD025": { | ||
// Heading level | ||
"level": 1, | ||
// RegExp for matching title in front matter | ||
"front_matter_title": "" | ||
}, | ||
// MD024/no-duplicate-heading/no-duplicate-header | ||
"MD024": { | ||
"siblings_only": true | ||
}, | ||
// MD036/no-emphasis-as-heading/no-emphasis-as-header. It's OK. | ||
"MD036": false, | ||
// MD029/ol-prefix. Buggy | ||
"MD029": false, | ||
// MD004/ul-style. Buggy | ||
"MD004": false, | ||
// MD028/no-blanks-blockquote prevent double blockquote | ||
"MD028": false, | ||
// MD031/blanks-around-fences Some code blocks inside li | ||
"MD031": false | ||
} |
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 @@ | ||
node_modules |
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
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
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
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,4 +1,4 @@ | ||
# Getting started | ||
# Tutorial | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
|
||
<p class="description">Get started building a Toolpad app!</p> | ||
|
||
|
@@ -58,7 +58,7 @@ A Toolpad aaplication wouldn't be useful if you couldn't import your data into i | |
|
||
![Create Connection](/static/toolpad/create-connection.png) | ||
|
||
1. Now that we can connect to our datasource, we can make an API endpoint for it on the Toolpad application. Click the plus button next to "Apis" in the left menu and select the "ourData" connection that we will make an API for. In the editor that opens, give it a name "ourDataApi" and in the url fill in "https://gist.githubusercontent.com/Janpot/c9d1f00be8472f2a510680b7e716a43b/raw/f001e0c3c501f5a0da35474ba4854cfc69acfd78/sample-data.json". This contains a sample dataset for us to use. If everything went well, you will see a preview in the bottom half of the page. CLick "update" to accept the parameters for this API. | ||
1. Now that we can connect to our datasource, we can make an API endpoint for it on the Toolpad application. Click the plus button next to "Apis" in the left menu and select the "ourData" connection that we will make an API for. In the editor that opens, give it a name "ourDataApi" and in the url fill in `https://gist.githubusercontent.com/Janpot/c9d1f00be8472f2a510680b7e716a43b/raw/f001e0c3c501f5a0da35474ba4854cfc69acfd78/sample-data.json`. This contains a sample dataset for us to use. If everything went well, you will see a preview in the bottom half of the page. CLick "update" to accept the parameters for this API. | ||
|
||
![Create Api](/static/toolpad/create-api.png) | ||
|
||
|
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
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
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One day mui/material-ui#30395 (review) 😁