diff --git a/.github/workflows/documents.yml b/.github/workflows/documents.yml index 0b1c697..78a442a 100644 --- a/.github/workflows/documents.yml +++ b/.github/workflows/documents.yml @@ -42,6 +42,21 @@ jobs: - name: Install for document dependencies run: npm run docs:install + # copy and replace string index.md file + - name: Copy and replace string index.md file + run: cp README.md docs/index.md + - name: Copy image asset (logo) + run: cp src/renderer/public/images/vutron-logo.webp docs/public + - name: Copy image asset (sample) + run: cp vutron-sample.webp docs/public + + - name: Find and Replace + uses: jacobtomlinson/gha-find-replace@v2 + with: + find: "src/renderer/public/images/vutron-logo.webp" + replace: "vutron-logo.webp" + regex: false + # run build script - name: Build VitePress site run: npm run docs:build diff --git a/docs/index.md b/docs/index.md deleted file mode 100644 index 48cd70b..0000000 --- a/docs/index.md +++ /dev/null @@ -1,3 +0,0 @@ -# Vutron Documentation - -Find documentation on installing and using Vutron. diff --git a/docs/public/.gitkeep b/docs/public/.gitkeep new file mode 100644 index 0000000..e69de29