-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #220 from libp2p/theme/migrate-to-doks
refactor/migrate-to-doks
- Loading branch information
Showing
564 changed files
with
23,060 additions
and
50,188 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 |
---|---|---|
@@ -1,11 +1,11 @@ | ||
# editorconfig.org | ||
|
||
root = true | ||
|
||
[*] | ||
insert_final_newline = true | ||
indent_size = 2 | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
|
||
[*.{md,yaml,yml,toml}] | ||
indent_size = 4 | ||
|
||
[Makefile] | ||
indent_style = tab | ||
insert_final_newline = true |
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 @@ | ||
assets/js/index.js | ||
assets/js/katex.js | ||
assets/js/vendor | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"env": { | ||
"browser": true, | ||
"commonjs": true, | ||
"es6": true, | ||
"node": true | ||
}, | ||
"extends": "eslint:recommended", | ||
"globals": { | ||
"Atomics": "readonly", | ||
"SharedArrayBuffer": "readonly" | ||
}, | ||
"parserOptions": { | ||
"ecmaVersion": 2018, | ||
"sourceType": "module" | ||
}, | ||
"rules": { | ||
"no-console": 0, | ||
"quotes": ["error", "single"], | ||
"comma-dangle": [ | ||
"error", | ||
{ | ||
"arrays": "always-multiline", | ||
"objects": "always-multiline", | ||
"imports": "always-multiline", | ||
"exports": "always-multiline", | ||
"functions": "ignore" | ||
} | ||
] | ||
} | ||
} |
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,41 +1,34 @@ | ||
name: CI | ||
name: Hyas CI | ||
|
||
# Controls when the action will run. | ||
on: | ||
push: | ||
branches: master | ||
pull_request: | ||
branches: [ master ] | ||
branches: master | ||
|
||
jobs: | ||
cicheck: | ||
runs-on: ubuntu-latest | ||
build: | ||
runs-on: ${{ matrix.os }} | ||
|
||
strategy: | ||
matrix: | ||
os: [ubuntu-latest] | ||
node: [16.x] | ||
|
||
# Steps represent a sequence of tasks that will be executed as part of the job | ||
steps: | ||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 # No shallow clone, we need all history! | ||
- name: Setup Python | ||
uses: actions/setup-python@v2.2.2 | ||
# Runs a set of commands using the runners shell | ||
- name: Install dependencies | ||
run: | | ||
sudo apt-get update -y | ||
sudo apt-get install -y optipng jpegoptim jq | ||
pip install bs4 | ||
pip install requests | ||
pip install scour | ||
- name: Run CI Checks | ||
env: | ||
GH_USERNAME: ${{ secrets.GH_USERNAME }} | ||
GH_USER_EMAIL: ${{ secrets.GH_USER_EMAIL }} | ||
GH_TOKEN: ${{ secrets.GH_TOKEN }} | ||
GH_USER_ID: ${{ secrets.GH_USER_ID }} | ||
LANGUAGETOOLS_API_KEY: ${{ secrets.LANGUAGETOOLS_API_KEY }} | ||
LANGUAGETOOLS_USERNAME: ${{ secrets.LANGUAGETOOLS_USERNAME }} | ||
PR_HEAD_REF: ${{ github.event.pull_request.head.ref }} | ||
FIRST_COMMIT: ${{ github.event.pull_request.base.sha }} | ||
LAST_COMMIT: ${{ github.event.after }} | ||
PR_NUMBER: ${{ github.event.pull_request.number }} | ||
run: bash ${{github.workspace}}/scripts/cicheck.sh | ||
- name: Check out Hyas project | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set up Node.js ${{ matrix.node }} | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: ${{ matrix.node }} | ||
|
||
- name: Install dependencies | ||
run: npm ci | ||
|
||
- name: Run Hyas test script | ||
run: npm test | ||
|
||
- name: Build production website | ||
run: npm run build |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"config": { | ||
"default": true, | ||
"MD013": false, | ||
"MD024": false, | ||
"MD026": false, | ||
"MD033": false, | ||
"MD034": false | ||
}, | ||
"ignores": ["node_modules", "CHANGELOG.md", "README.md"] | ||
} |
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,3 @@ | ||
assets/scss/components/_syntax.scss | ||
assets/scss/vendor | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
{ | ||
"extends": "stylelint-config-standard-scss", | ||
"rules": { | ||
"no-empty-source": null, | ||
"string-quotes": "double", | ||
"scss/comment-no-empty": null, | ||
"max-line-length": null, | ||
"scss/at-extend-no-missing-placeholder": null, | ||
"scss/dollar-variable-colon-space-after": null, | ||
"scss/dollar-variable-empty-line-before": null, | ||
"color-function-notation": null, | ||
"alpha-value-notation": null, | ||
"selector-id-pattern": null, | ||
"selector-class-pattern": null, | ||
"scss/no-global-function-names": null, | ||
"number-max-precision": null, | ||
"hue-degree-notation": null, | ||
"value-no-vendor-prefix": null, | ||
"property-no-vendor-prefix": null, | ||
"at-rule-no-unknown": [ | ||
true, | ||
{ | ||
"ignoreAtRules": [ | ||
"extend", | ||
"at-root", | ||
"debug", | ||
"warn", | ||
"error", | ||
"if", | ||
"else", | ||
"for", | ||
"each", | ||
"while", | ||
"mixin", | ||
"include", | ||
"content", | ||
"return", | ||
"function", | ||
"tailwind", | ||
"apply", | ||
"responsive", | ||
"variants", | ||
"screen" | ||
] | ||
} | ||
] | ||
} | ||
} |
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,3 @@ | ||
# Contributor Code of Conduct | ||
|
||
The `docs` libp2p project follows the [`IPFS Community Code of Conduct`](https://github.com/ipfs/community/blob/master/code-of-conduct.md) |
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.