This repository has been archived by the owner on Jun 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update new cicd for klaytn-docs * Replaced with Docusaurus platform and restructured content * Replaced with Docusaurus platform and restructured content (#622) * update cicd * Restored 'Operation Guide' and placed into common content area. Reflected changes in recent PRs in both Open and Closed status. Added Vietnamese menu translations. Added Github repo link. * Klaytn docs v2 (#624) * Replaced with Docusaurus platform and restructured content * Restored 'Operation Guide' and placed into common content area. Reflected changes in recent PRs in both Open and Closed status. Added Vietnamese menu translations. Added Github repo link. --------- * Klaytn docs v2 (migration docusaurus v2 to v3) (#626) * migration to docudaurus v3 * migration to docudaurus v3: minor syntax changes * backslash change * remove dev pipeline (#628) * Incorporated PR #625, #589, #474 and fixed some invalid links (#633) * update cicd * Klaytn docs v2 (#624) * Replaced with Docusaurus platform and restructured content * Restored 'Operation Guide' and placed into common content area. Reflected changes in recent PRs in both Open and Closed status. Added Vietnamese menu translations. Added Github repo link. --------- * fix wrong git name --------- Co-authored-by: scott lee <[email protected]> Co-authored-by: jack <[email protected]>
- Loading branch information
1 parent
9e181c1
commit 3ca0747
Showing
1,702 changed files
with
282,571 additions
and
81,622 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
module.exports = { | ||
env: { | ||
browser: true, | ||
es2021: true, | ||
}, | ||
extends: [ | ||
'plugin:react/recommended', | ||
'standard-with-typescript', | ||
'prettier', | ||
], | ||
overrides: [], | ||
parserOptions: { | ||
ecmaVersion: 'latest', | ||
sourceType: 'module', | ||
}, | ||
plugins: ['react'], | ||
rules: {}, | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
name: klaytn-docs-docusaurus dev deploy workflow | ||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
deploy: | ||
name: deploy | ||
permissions: | ||
id-token: write | ||
contents: read | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout source code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Get AWS credentials | ||
uses: aws-actions/configure-aws-credentials@v1 | ||
with: | ||
role-to-assume: ${{ secrets.AWS_IAM_ROLE_ARN_DEV }} | ||
role-session-name: SessionForKlaytnActions | ||
aws-region: ${{ secrets.AWS_REGION_DEV }} | ||
|
||
- name: Installing Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: "16" | ||
|
||
- name: Installing dependencies | ||
run: | | ||
yarn install | ||
- name: Build static files | ||
run: yarn build | ||
|
||
- name: Sync to S3 bucket and validation cloudfront | ||
env: | ||
S3_BUCKET_DEV: ${{ secrets.S3_BUCKET_DEV }} | ||
CLOUDFRONT_ID_DEV: ${{ secrets.CLOUDFRONT_ID_DEV }} | ||
run: | | ||
aws s3 sync ./build/ $S3_BUCKET_DEV --delete | ||
aws cloudfront create-invalidation --distribution-id $CLOUDFRONT_ID_DEV --paths "/*" |
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,2 +1,24 @@ | ||
.idea | ||
# Dependencies | ||
/node_modules | ||
|
||
# Production | ||
/build | ||
|
||
# Generated files | ||
.docusaurus | ||
.cache-loader | ||
|
||
# Misc | ||
.DS_Store | ||
.env | ||
.env.local | ||
.env.development.local | ||
.env.test.local | ||
.env.production.local | ||
|
||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
yarn.lock | ||
config.json | ||
.idea |
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,6 @@ | ||
{ | ||
"trailingComma": "es5", | ||
"tabWidth": 2, | ||
"semi": false, | ||
"singleQuote": 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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
This website is built using Gitbook. | ||
This website is built using Docusaurus. | ||
|
||
### Installation | ||
|
||
|
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 @@ | ||
module.exports = { | ||
presets: [require.resolve('@docusaurus/core/lib/babel/preset')], | ||
} |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.