forked from pyscript/pyscript
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Apply prettier to css, html, js, md, ts, and yml (pyscript#1249)
* Apply prettier to css, js, html, md, ts, and yml As a followup I will add prettier to the .pre-commit config. This patch is 100% generated by prettier. I used a forked version of prettier that understands the py-script tag. See https://github.com/hoodmane/pyscript-prettier-precommit for more info. * Apply old pre-commit * Revert some problems * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Revert some changes * More changes * Fix pre-commit * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
7ffe6a5
commit 08f34f7
Showing
108 changed files
with
4,770 additions
and
4,001 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
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,8 +1,8 @@ | ||
blank_issues_enabled: false | ||
contact_links: | ||
- name: Feature Proposals | ||
- name: Feature Proposals | ||
url: https://github.com/pyscript/pyscript/discussions/new?category=proposals | ||
about: Create a feature request to make PyScript even better | ||
- name: Questions | ||
- name: Questions | ||
url: https://github.com/pyscript/pyscript/discussions/new?category=q-a | ||
about: For questions or discussions about pyscript |
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 |
---|---|---|
|
@@ -28,7 +28,6 @@ jobs: | |
MINICONDA_PYTHON_VERSION: py38 | ||
MINICONDA_VERSION: 4.11.0 | ||
steps: | ||
|
||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
|
@@ -42,7 +41,7 @@ jobs: | |
env: | ||
cache-name: cache-node-modules | ||
with: | ||
# npm cache files are stored in `~/.npm` on Linux/macOS | ||
# npm cache files are stored in `~/.npm` on Linux/macOS | ||
path: ~/.npm | ||
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} | ||
restore-keys: | | ||
|
@@ -97,7 +96,7 @@ jobs: | |
name: pyscript | ||
path: ./build/ | ||
|
||
# Deploy to S3 | ||
# Deploy to S3 | ||
- name: Configure AWS credentials | ||
uses: aws-actions/[email protected] | ||
with: | ||
|
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 |
---|---|---|
|
@@ -13,7 +13,6 @@ jobs: | |
env: | ||
SPHINX_HTML_BASE_URL: https://docs.pyscript.net/ | ||
steps: | ||
|
||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
|
@@ -40,7 +39,7 @@ jobs: | |
name: pyscript-docs-${{ github.ref_name }} | ||
path: docs/_build/html/ | ||
|
||
# Deploy to S3 | ||
# Deploy to S3 | ||
- name: Configure AWS credentials | ||
uses: aws-actions/[email protected] | ||
with: | ||
|
@@ -53,11 +52,11 @@ jobs: | |
- name: Sync to S3 | ||
run: aws s3 sync --quiet ./docs/_build/html/ s3://docs.pyscript.net/${{ github.ref_name }}/ | ||
|
||
# Make sure to remove the latest folder so we sync the full docs upon release | ||
# Make sure to remove the latest folder so we sync the full docs upon release | ||
- name: Delete latest directory | ||
run: aws s3 rm --recursive s3://docs.pyscript.net/latest/ | ||
|
||
# Note that the files are the same as above, but we want to have folders with | ||
# /<tag name>/ AND /latest/ which latest will always point to the latest release | ||
# Note that the files are the same as above, but we want to have folders with | ||
# /<tag name>/ AND /latest/ which latest will always point to the latest release | ||
- name: Sync to /latest | ||
run: aws s3 sync --quiet ./docs/_build/html/ s3://docs.pyscript.net/latest/ |
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 |
---|---|---|
|
@@ -26,7 +26,6 @@ jobs: | |
env: | ||
SPHINX_HTML_BASE_URL: https://docs.pyscript.net/ | ||
steps: | ||
|
||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
|
@@ -53,7 +52,7 @@ jobs: | |
name: pyscript-docs-review-${{ github.event.number }} | ||
path: docs/_build/html/ | ||
|
||
# Deploy to S3 | ||
# Deploy to S3 | ||
- name: Configure AWS credentials | ||
uses: aws-actions/[email protected] | ||
with: | ||
|
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 |
---|---|---|
|
@@ -16,7 +16,6 @@ jobs: | |
env: | ||
SPHINX_HTML_BASE_URL: https://docs.pyscript.net/ | ||
steps: | ||
|
||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
|
@@ -43,13 +42,13 @@ jobs: | |
name: pyscript-docs-latest | ||
path: docs/_build/html/ | ||
|
||
# Deploy to S3 | ||
# Deploy to S3 | ||
- name: Configure AWS credentials | ||
uses: aws-actions/[email protected] | ||
with: | ||
aws-region: ${{ secrets.AWS_REGION }} | ||
role-to-assume: ${{ secrets.AWS_OIDC_RUNNER_ROLE }} | ||
|
||
# Sync will only copy changed files | ||
# Sync will only copy changed files | ||
- name: Sync to S3 | ||
run: aws s3 sync --quiet ./docs/_build/html/ s3://docs.pyscript.net/unstable/ |
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 |
---|---|---|
|
@@ -32,7 +32,7 @@ jobs: | |
env: | ||
cache-name: cache-node-modules | ||
with: | ||
# npm cache files are stored in `~/.npm` on Linux/macOS | ||
# npm cache files are stored in `~/.npm` on Linux/macOS | ||
path: ~/.npm | ||
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} | ||
restore-keys: | | ||
|
@@ -49,7 +49,7 @@ jobs: | |
- name: Build and Test | ||
run: make test | ||
|
||
# Upload to S3 | ||
# Upload to S3 | ||
- name: Configure AWS credentials | ||
uses: aws-actions/[email protected] | ||
with: | ||
|
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
Oops, something went wrong.