Skip to content
This repository has been archived by the owner on Jun 4, 2024. It is now read-only.

Commit

Permalink
Klaytn docs test (#1) (#640)
Browse files Browse the repository at this point in the history
* 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
3 people authored Dec 28, 2023
1 parent 9e181c1 commit 3ca0747
Show file tree
Hide file tree
Showing 1,702 changed files with 282,571 additions and 81,622 deletions.
22 changes: 0 additions & 22 deletions .circleci/config.yml

This file was deleted.

18 changes: 18 additions & 0 deletions .eslintrc.js
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: {},
}
17 changes: 0 additions & 17 deletions .gitbook.yaml

This file was deleted.

44 changes: 44 additions & 0 deletions .github/workflows/prod.yml
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 "/*"
24 changes: 23 additions & 1 deletion .gitignore
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
6 changes: 6 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"trailingComma": "es5",
"tabWidth": 2,
"semi": false,
"singleQuote": true
}
2 changes: 1 addition & 1 deletion README.md
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

Expand Down
3 changes: 3 additions & 0 deletions babel.config.js
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 removed docs/.gitbook/assets/test_header5.png
Binary file not shown.
Binary file removed docs/.gitbook/assets/thum_01.png
Binary file not shown.
Binary file removed docs/.gitbook/assets/thum_01_L.png
Binary file not shown.
Binary file removed docs/.gitbook/assets/thum_02.png
Binary file not shown.
Binary file removed docs/.gitbook/assets/thum_02_L.png
Binary file not shown.
Binary file removed docs/.gitbook/assets/thum_03.png
Binary file not shown.
Binary file removed docs/.gitbook/assets/thum_03_L.png
Binary file not shown.
Binary file removed docs/.gitbook/assets/thum_04.png
Binary file not shown.
Binary file removed docs/.gitbook/assets/thum_04_L.png
Binary file not shown.
Binary file removed docs/.gitbook/assets/thum_05 (1).png
Binary file not shown.
Binary file removed docs/.gitbook/assets/thum_05.png
Binary file not shown.
Binary file removed docs/.gitbook/assets/thum_06 (1).png
Binary file not shown.
Binary file removed docs/.gitbook/assets/thum_06.png
Binary file not shown.
12 changes: 0 additions & 12 deletions docs/README.md

This file was deleted.

Loading

0 comments on commit 3ca0747

Please sign in to comment.