Skip to content

Commit

Permalink
docs: upgrade vitepress version to 1.0.0, redesign index page
Browse files Browse the repository at this point in the history
  • Loading branch information
jooy2 committed Mar 22, 2024
1 parent 572f778 commit 54d9064
Show file tree
Hide file tree
Showing 4 changed files with 504 additions and 418 deletions.
38 changes: 19 additions & 19 deletions .github/workflows/documents.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ jobs:
node-version: '20'

# copy and replace string index.md file
- name: Copy and replace string index.md file
run: cp ../README.md ./src/index.md
- name: Copy image asset (logo)
run: cp ../src/renderer/public/images/vutron-logo.webp ./src/public
- name: Copy image asset (sample)
run: cp ../.github/resources/vutron-sample.webp ./src/public
# - name: Copy and replace string index.md file
# run: cp ../README.md ./src/index.md
# - name: Copy image asset (logo)
# run: cp ../src/renderer/public/images/vutron-logo.webp ./src/public
# - name: Copy image asset (sample)
# run: cp ../.github/resources/vutron-sample.webp ./src/public

# cache node_modules
- name: Cache dependencies
Expand All @@ -52,19 +52,19 @@ jobs:
if: steps.npm-cache.outputs.cache-hit != 'true'
run: npm install

- name: Find and Replace (logo)
uses: jacobtomlinson/gha-find-replace@v3
with:
find: "src/renderer/public/images/vutron-logo.webp"
replace: "public/vutron-logo.webp"
regex: false

- name: Find and Replace (sample)
uses: jacobtomlinson/gha-find-replace@v3
with:
find: ".github/resources/vutron-sample.webp"
replace: "public/vutron-sample.webp"
regex: false
# - name: Find and Replace (logo)
# uses: jacobtomlinson/gha-find-replace@v3
# with:
# find: "src/renderer/public/images/vutron-logo.webp"
# replace: "public/vutron-logo.webp"
# regex: false
#
# - name: Find and Replace (sample)
# uses: jacobtomlinson/gha-find-replace@v3
# with:
# find: ".github/resources/vutron-sample.webp"
# replace: "public/vutron-sample.webp"
# regex: false

# run build script
- name: Build VitePress site
Expand Down
Loading

0 comments on commit 54d9064

Please sign in to comment.