-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add dprint (formatter) and mlc (link checker) and CI and makefile use and docs use fixes from links and fmt
- Loading branch information
Showing
87 changed files
with
1,763 additions
and
1,239 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,29 @@ | ||
{ | ||
"typescript": { | ||
}, | ||
"json": { | ||
}, | ||
"markdown": { | ||
"ignoreDirective": "prettier-ignore", | ||
"ignoreFileDirective": "prettier-ignore-file", | ||
"ignoreStartDirective": "prettier-ignore-start", | ||
"ignoreEndDirective": "prettier-ignore-end" | ||
}, | ||
"toml": { | ||
}, | ||
"excludes": [ | ||
"**/html*", | ||
"**/.yarn", | ||
"**/node_modules", | ||
"tools/**/*min.js", | ||
"tools/plugin/chart", | ||
"tools/plugin/mermaid.js", | ||
"**/*-lock.json" | ||
], | ||
"plugins": [ | ||
"https://plugins.dprint.dev/typescript-0.87.1.wasm", | ||
"https://plugins.dprint.dev/json-0.17.4.wasm", | ||
"https://plugins.dprint.dev/markdown-0.16.0.wasm", | ||
"https://plugins.dprint.dev/toml-0.5.4.wasm" | ||
] | ||
} |
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,32 @@ | ||
name: Checks | ||
on: | ||
workflow_dispatch: # Allows you to run this workflow manually from the Actions tab | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
ci-checks: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Cache | ||
id: cache | ||
uses: actions/cache@v3 | ||
with: | ||
path: ~/.cache/dprint # TODO add more paths here for various checkers | ||
key: ${{ runner.os }}-${{ hashFiles('**/*dprint.json') }} | ||
|
||
- name: Format Check (dprint) | ||
uses: dprint/[email protected] | ||
with: | ||
config-path: .dprint.json | ||
|
||
# FIXME .mlc.toml config not working... https://github.com/becheran/mlc/issues/78 | ||
- name: Markup Link Checker (mlc) | ||
uses: becheran/[email protected] | ||
with: | ||
args: "./content/ --ignore-links '*slides.md,*slides.html,*twitter.com*,*sec.gov*,*support.giphy.com*,*bitdefender.com*,*etherscan.io*,*cryptoslate.com*,*golden.com*,'" |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# FIXME this config is not working... https://github.com/becheran/mlc/issues/78 | ||
# Print debug information to console | ||
debug = false | ||
# Do not check web links | ||
offline = false | ||
# Check the exact file extension when searching for a file | ||
match-file-extension = true | ||
# List of files and directories which will be ignored | ||
ignore-path = [""] | ||
# List of links which will be ignored | ||
ignore-links = [ | ||
"*slides.md,*slides.html,*twitter.com*,*sec.gov*,*support.giphy.com*,*bitdefender.com*,*etherscan.io*,*cryptoslate.com*,*golden.com*,", | ||
] | ||
# List of markup types which shall be checked | ||
markup-types = ["Markdown", "Html"] | ||
# Wait time in milliseconds between http request to the same host | ||
# Consider use only if getting `429 - Too Many Requests` | ||
throttle = 0 | ||
# Path to the root folder used to resolve all relative paths | ||
root-dir = "./content/" |
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 |
---|---|---|
|
@@ -59,8 +59,7 @@ representative at an online or offline event. | |
## Enforcement | ||
|
||
Instances of abusive, harassing, or otherwise unacceptable behavior may be | ||
reported to the community leaders responsible for enforcement at | ||
[INSERT CONTACT METHOD]. | ||
reported to the community leaders responsible for enforcement at [[email protected]](mailto:[email protected]). | ||
All complaints will be reviewed and investigated promptly and fairly. | ||
|
||
All community leaders are obligated to respect the privacy and security of the | ||
|
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
Oops, something went wrong.